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

:root {
 --primary-color: #ea580c; /* Orange */
 --accent-color: #fb923c; /* Lighter Orange */
 --light-bg: #f8fafc; /* White/Light neutral */
 --text-color: #333;
 --heading-color: #1a202c;
 --border-color: #e2e8f0;
 --white: #ffffff;
 --dark-footer-bg: #2d3748; /* Dark grey for footer */
 --smooth-transition: all 0.3s ease-in-out;
}

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

html {
 scroll-behavior: smooth;
}

body {
 font-family: 'Open Sans', sans-serif;
 line-height: 1.6;
 color: var(--text-color);
 background-color: var(--white);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
p { margin-bottom: 1em; }

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

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

ul {
 list-style: none;
}

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

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

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

.section-subtitle {
 font-size: 1.1em;
 color: #666;
 margin-bottom: 2em;
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
}

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

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

/* Buttons */
.btn {
 display: inline-block;
 padding: 0.9em 2em;
 border-radius: 8px;
 font-weight: 600;
 text-align: center;
 cursor: pointer;
 transition: var(--smooth-transition);
 border: 2px solid transparent;
}

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

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

.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);
 transform: translateY(-2px);
}

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

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

.btn-centered {
 margin-top: 2rem;
 margin-left: auto;
 margin-right: auto;
 display: table;
}

/* Header */
.main-header {
 background-color: var(--white);
 box-shadow: 0 2px 15px rgba(0,0,0,0.05);
 position: sticky;
 top: 0;
 width: 100%;
 z-index: 1000;
 padding: 0.8rem 0;
}

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

.logo {
 font-family: 'Montserrat', sans-serif;
 font-size: 1.6em;
 font-weight: 700;
 color: var(--heading-color);
 flex-shrink: 0;
 padding: 0.5rem 0;
}

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

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

.nav-links a {
 color: var(--heading-color);
 font-weight: 600;
 padding: 0.5rem 0;
 position: relative;
}

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

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

.nav-toggle span {
 display: block;
 width: 100%;
 height: 3px;
 background-color: var(--primary-color);
 border-radius: 2px;
 transition: var(--smooth-transition);
}

/* Mobile Nav */
@media (max-width: 768px) {
 .nav-links {
 display: none;
 flex-direction: column;
 position: absolute;
 top: 100%;
 left: 0;
 width: 100%;
 background-color: var(--white);
 box-shadow: 0 5px 15px rgba(0,0,0,0.1);
 padding: 1rem 0;
 border-top: 1px solid var(--border-color);
 }

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

 .nav-links li {
 text-align: center;
 padding: 0.5rem 0;
 }

 .nav-links a {
 display: block;
 padding: 0.8rem 1.5rem;
 color: var(--heading-color);
 }

 .nav-links a::after {
 display: none;
 }

 .nav-links a:hover {
 background-color: var(--light-bg);
 color: var(--primary-color);
 }

 .nav-toggle {
 display: flex;
 }

 .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: 70vh;
 min-height: 500px;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 color: var(--white);
 background: url('https://images.pexels.com/photos/48603/pexels-photo-48603.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940') no-repeat center center/cover;
}

.hero-overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.45); /* Uniform semi-transparent overlay */
 z-index: 1;
}

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

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

.hero-content p {
 font-size: 1.3em;
 margin-bottom: 2em;
 line-height: 1.5;
 color: rgba(255, 255, 255, 0.9);
}

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

.hero-buttons .btn {
 min-width: 180px;
}

@media (max-width: 768px) {
 .hero-section {
 height: 60vh;
 min-height: 400px;
 }
 .hero-content h1 {
 font-size: 2.2em;
 }
 .hero-content p {
 font-size: 1em;
 }
 .hero-buttons {
 flex-direction: column;
 gap: 1rem;
 }
}

/* Feature Grid (for "Why Choose Us") */
.feature-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
 margin-top: 2rem;
}

.feature-card {
 background-color: var(--white);
 padding: 2.5rem 1.5rem;
 border-radius: 12px;
 box-shadow: 0 4px 20px rgba(0,0,0,0.05);
 text-align: center;
 transition: var(--smooth-transition);
 border: 1px solid var(--border-color);
}

.feature-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 30px rgba(0,0,0,0.1);
 border-color: var(--primary-color);
}

.feature-card .icon-circle {
 width: 80px;
 height: 80px;
 background-color: var(--primary-color);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 1.5rem;
 overflow: hidden; /* Ensure image fits */
}

.feature-card .icon-circle img {
 width: 80%; /* Adjust size of icon image as needed */
 height: 80%;
 object-fit: cover;
 border-radius: 50%;
}

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

.feature-card p {
 font-size: 0.95em;
 color: #555;
}

/* Grid 2 Columns */
.grid-2-columns {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 align-items: center;
}

@media (max-width: 992px) {
 .grid-2-columns {
 grid-template-columns: 1fr;
 gap: 2rem;
 }
 .about-image {
 order: -1; /* Image first on mobile */
 }
}

.about-image img {
 border-radius: 12px;
 box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Services Preview */
.service-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 1.5rem;
 margin-top: 2rem;
}

.service-card-small {
 background-color: var(--white);
 padding: 2rem 1.5rem;
 border-radius: 8px;
 box-shadow: 0 2px 10px rgba(0,0,0,0.03);
 border-left: 5px solid var(--primary-color);
 text-align: left;
 transition: var(--smooth-transition);
}

.service-card-small:hover {
 transform: translateY(-3px);
 box-shadow: 0 4px 15px rgba(0,0,0,0.08);
 border-left-color: var(--accent-color);
}

.service-card-small h3 {
 font-size: 1.2em;
 margin-bottom: 0.5em;
 color: var(--heading-color);
}

.service-card-small p {
 font-size: 0.9em;
 color: #666;
}

/* Testimonials Carousel */
.testimonials-section {
 position: relative;
 overflow: hidden;
}

.testimonials-carousel {
 display: flex;
 transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth slide effect */
 margin-top: 3rem;
 padding-bottom: 3rem; /* Space for dots */
}

.testimonial-card-wrapper { /* This might be needed if you wrap individuals */
 flex: 0 0 100%;
 max-width: 100%;
 padding: 0 1.5rem;
}

.testimonial-card {
 background-color: var(--white);
 padding: 2.5rem;
 border-radius: 12px;
 box-shadow: 0 8px 30px rgba(0,0,0,0.08);
 margin: 0 1rem; /* Space between cards in carousels */
 flex: 0 0 calc(100% / 3 - 2rem); /* 3 cards per view, minus margin */
 box-sizing: border-box;
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
}

.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.1em;
 font-style: italic;
 color: #444;
 margin-bottom: 1.5rem;
 line-height: 1.8;
}

.testimonial-author {
 font-weight: 600;
 color: var(--heading-color);
 font-size: 1em;
}

.carousel-arrow {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 background-color: rgba(var(--primary-color), 0.7);
 color: var(--white);
 border: none;
 padding: 0.8rem 1.2rem;
 font-size: 1.5em;
 cursor: pointer;
 border-radius: 50%;
 z-index: 10;
 transition: var(--smooth-transition);
}

.carousel-arrow:hover {
 background-color: var(--primary-color);
}

.carousel-arrow.prev {
 left: 20px;
}

.carousel-arrow.next {
 right: 20px;
}

.carousel-nav-dots {
 display: flex;
 justify-content: center;
 gap: 0.5rem;
 position: absolute;
 bottom: 2rem;
 left: 0;
 right: 0;
}

.carousel-nav-dots .dot {
 width: 10px;
 height: 10px;
 background-color: var(--border-color);
 border-radius: 50%;
 cursor: pointer;
 transition: var(--smooth-transition);
}

.carousel-nav-dots .dot.active {
 background-color: var(--primary-color);
 transform: scale(1.2);
}

@media (max-width: 992px) {
 .testimonial-card {
 flex: 0 0 calc(100% - 2rem); /* 1 card per view */
 }
 .carousel-arrow.prev { left: 5px; }
 .carousel-arrow.next { right: 5px; }
}

@media (max-width: 768px) {
 .testimonial-card {
 padding: 1.5rem;
 }
 .testimonial-quote {
 font-size: 1em;
 }
}

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

.blog-card {
 background-color: var(--white);
 border-radius: 12px;
 box-shadow: 0 4px 15px rgba(0,0,0,0.05);
 overflow: hidden;
 transition: var(--smooth-transition);
 border: 1px solid var(--border-color);
}

.blog-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 25px rgba(0,0,0,0.1);
 border-color: var(--primary-color);
}

.blog-card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-bottom: 1px solid var(--border-color);
}

.blog-card h3 {
 font-size: 1.3em;
 margin: 1.2em 1.5em 0.5em;
 height: 3em; /* Fixed height for title */
 overflow: hidden; /* Hide overflow */
}
.blog-card h3 a {
 color: var(--heading-color);
}
.blog-card h3 a:hover {
 color: var(--primary-color);
}

.blog-card p {
 font-size: 0.9em;
 color: #555;
 margin: 0 1.5em 1em;
 height: 4.5em; /* Fixed height for description */
 overflow: hidden; /* Hide overflow */
}

.blog-card .read-more {
 display: block;
 text-align: right;
 padding: 0 1.5em 1.5em;
 font-weight: 600;
}

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

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

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

.accordion-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 width: 100%;
 padding: 1.2rem 1.5rem;
 background-color: var(--white);
 border: none;
 font-family: 'Montserrat', sans-serif;
 font-size: 1.1em;
 font-weight: 600;
 color: var(--heading-color);
 cursor: pointer;
 text-align: left;
 transition: background-color 0.3s ease;
}

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

.accordion-header h3 {
 margin: 0;
 font-size: 1em;
 flex-grow: 1;
}

.accordion-icon {
 font-size: 1.5em;
 color: var(--primary-color);
 transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
 transform: rotate(45deg);
}

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

.accordion-content p {
 padding: 1rem 0;
 font-size: 0.95em;
 color: #555;
}

/* CTA Section */
.cta-section {
 background-color: var(--primary-color);
 background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
 color: var(--white);
 padding: 5rem 0;
 border-radius: 12px; /* Slight roundness for a softer look */
 margin-top: 4rem;
}

.cta-section h2 {
 color: var(--white);
 font-size: 2.2em;
 margin-bottom: 0.8em;
}

.cta-section p {
 font-size: 1.1em;
 opacity: 0.9;
 margin-bottom: 2em;
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
}

.cta-section .btn-accent {
 background-color: var(--white);
 color: var(--primary-color);
 border-color: var(--white);
 padding: 1em 2.5em;
 font-size: 1.1em;
}

.cta-section .btn-accent:hover {
 background-color: var(--light-bg);
 color: var(--accent-color);
 transform: translateY(-3px) scale(1.02);
}

/* Footer */
.main-footer {
 background-color: var(--dark-footer-bg);
 color: rgba(255, 255, 255, 0.8);
 padding: 3rem 0 1.5rem;
 font-size: 0.9em;
}

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

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

.footer-col p, .footer-col ul li {
 margin-bottom: 0.6em;
}

.footer-col ul {
 padding: 0;
}

.footer-col a {
 color: rgba(255, 255, 255, 0.7);
 transition: var(--smooth-transition);
}

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

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

.contact-info-col p {
 margin-bottom: 0.8em;
}

.social-links {
 display: flex;
 gap: 1rem;
 margin-top: 1rem;
}

.social-links a {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 35px;
 height: 35px;
 border-radius: 50%;
 background-color: rgba(255, 255, 255, 0.1);
 color: var(--white);
 transition: var(--smooth-transition);
}

.social-links a:hover {
 background-color: var(--primary-color);
 transform: translateY(-3px) scale(1.1);
}

.social-links svg {
 width: 18px;
 height: 18px;
 fill: currentColor;
}

.footer-bottom {
 text-align: center;
 margin-top: 1.5rem;
 font-size: 0.85em;
 color: rgba(255, 255, 255, 0.6);
}

/* Specific styles for inner pages - About, Services, Blog, Contact, etc. */

/* Basic Page Hero (smaller than main hero) */
.page-hero {
 background-color: var(--light-bg);
 padding: 4rem 0;
 text-align: center;
 border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
 font-size: 2.5em;
 color: var(--heading-color);
 margin-bottom: 0.5em;
}

.page-hero p {
 font-size: 1.1em;
 color: #555;
 max-width: 700px;
 margin: 0 auto;
}

/* Page Content (general) */
.main-content {
 padding: 4rem 0;
}

.main-content h2 {
 color: var(--primary-color);
 margin-bottom: 1.5em;
 font-size: 2em;
 text-align: center;
}

.main-content h3 {
 color: var(--heading-color);
 margin-top: 2em;
 margin-bottom: 1em;
 font-size: 1.5em;
}

/* Blog Post Styling */
.blog-post-header {
 text-align: center;
 margin-bottom: 3rem;
}

.blog-post-header h1 {
 font-size: 2.8em;
 margin-bottom: 0.5em;
 color: var(--heading-color);
}

.blog-meta {
 color: #777;
 font-size: 0.9em;
 margin-bottom: 1.5em;
}

.blog-post-content img {
 border-radius: 8px;
 margin: 2em auto;
 box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-post-content p {
 margin-bottom: 1.5em;
 line-height: 1.7;
}

.blog-post-content ul, .blog-post-content ol {
 margin-bottom: 1.5em;
 padding-left: 1.5em;
}

.blog-post-content ul li {
 list-style: disc;
 margin-bottom: 0.5em;
}
.blog-post-content ol li {
 list-style: decimal;
 margin-bottom: 0.5em;
}

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

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

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

.author-info p {
 font-size: 0.9em;
 color: #666;
 margin-bottom: 0;
}

/* Related Posts */
.related-posts {
 margin-top: 4rem;
 border-top: 1px solid var(--border-color);
 padding-top: 3rem;
}

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

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

/* Contact Form */
.contact-form-section {
 padding: 4rem 0;
}

.contact-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
}

.contact-info {
 background-color: var(--light-bg);
 padding: 2.5rem;
 border-radius: 12px;
 box-shadow: 0 4px 15px rgba(0,0,0,0.05);
 display: flex;
 flex-direction: column;
 justify-content: center;
}

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

.contact-detail {
 display: flex;
 align-items: flex-start;
 gap: 1rem;
 margin-bottom: 1.2rem;
 font-size: 1.05em;
 color: #444;
}

.contact-detail strong {
 color: var(--heading-color);
 min-width: 90px;
}

.contact-detail svg {
 fill: var(--primary-color);
 width: 24px;
 height: 24px;
 flex-shrink: 0;
 margin-top: 3px;
}

.contact-info iframe {
 width: 100%;
 height: 300px;
 border-radius: 8px;
 margin-top: 2rem;
 border: 1px solid var(--border-color);
}

.contact-form {
 background-color: var(--white);
 padding: 2.5rem;
 border-radius: 12px;
 box-shadow: 0 4px 15px rgba(0,0,0,0.05);
 border: 1px solid var(--border-color);
}

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

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
 width: 100%;
 padding: 0.8rem 1rem;
 border: 1px solid var(--border-color);
 border-radius: 6px;
 font-family: 'Open Sans', sans-serif;
 font-size: 1em;
 color: var(--text-color);
 transition: var(--smooth-transition);
}

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

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

.contact-form button[type="submit"] {
 width: auto;
 padding: 0.9em 2.5em;
 border-radius: 8px;
 font-weight: 600;
 cursor: pointer;
 background-color: var(--primary-color);
 color: var(--white);
 border: none;
 font-size: 1.1em;
 transition: var(--smooth-transition);
}

.contact-form button[type="submit"]:hover {
 background-color: var(--accent-color);
 transform: translateY(-2px);
}

/* Media Queries for Contact Page */
@media (max-width: 992px) {
 .contact-grid {
 grid-template-columns: 1fr;
 }
}

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

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

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

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

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

.gallery-item-overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(var(--primary-color), 0.7);
 display: flex;
 align-items: center;
 justify-content: center;
 opacity: 0;
 transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
 opacity: 1;
}

.gallery-item-overlay svg {
 fill: var(--white);
 width: 40px;
 height: 40px;
}

/* Lightbox styles (minimal, assuming handled by JS or a simple CSS toggle) */
.lightbox {
 display: none;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.9);
 z-index: 2000;
 justify-content: center;
 align-items: center;
 cursor: pointer;
}

.lightbox.active {
 display: flex;
}

.lightbox-content {
 max-width: 90%;
 max-height: 90%;
 object-fit: contain;
 border-radius: 8px;
 box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* 404 Page */
.error-page {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 min-height: 70vh;
 text-align: center;
 padding: 3rem 1.5rem;
}

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

.error-page h2 {
 font-size: 2em;
 color: var(--heading-color);
 margin-bottom: 1em;
}

.error-page p {
 font-size: 1.1em;
 color: #666;
 margin-bottom: 2em;
 max-width: 600px;
}

/* Cookie Policy, Privacy, Terms etc. */
.legal-content {
 background-color: var(--white);
 padding: 4rem 0;
}

.legal-content .container {
 max-width: 900px;
}

.legal-content h1 {
 font-size: 2.5em;
 color: var(--primary-color);
 margin-bottom: 1em;
}

.legal-content h2 {
 font-size: 1.8em;
 color: var(--heading-color);
 margin-top: 2.5em;
 margin-bottom: 0.8em;
 border-bottom: 2px solid var(--border-color);
 padding-bottom: 0.5em;
}

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

.legal-content p {
 margin-bottom: 1.2em;
 line-height: 1.7;
 color: #444;
}

.legal-content ul, .legal-content ol {
 margin-bottom: 1.5em;
 padding-left: 2em;
}

.legal-content ul li {
 list-style: disc;
 margin-bottom: 0.5em;
}

.legal-content ol li {
 list-style: decimal;
 margin-bottom: 0.5em;
}

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

/* Thanks Page */
.thanks-page {
 text-align: center;
 padding: 5rem 0;
 min-height: 60vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

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

.thanks-page p {
 font-size: 1.2em;
 color: #555;
 margin-bottom: 2em;
 max-width: 600px;
}

/* Generic Card Styles for other pages based on needs */
.card {
 background-color: var(--white);
 padding: 2rem;
 border-radius: 12px;
 box-shadow: 0 4px 15px rgba(0,0,0,0.05);
 border: 1px solid var(--border-color);
 transition: var(--smooth-transition);
}

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

/* General Media Queries */
@media (max-width: 1024px) {
 .container {
 padding: 0 1rem;
 }
 h1 { font-size: 2.2em; }
 h2 { font-size: 1.8em; }
 h3 { font-size: 1.3em; }
 .hero-content h1 { font-size: 3em; }
 .hero-content p { font-size: 1.1em; }
 .footer-grid {
 grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
 }
}

@media (max-width: 768px) {
 .section-padding { padding: 3rem 0; }
 .hero-section { height: 50vh; min-height: 350px; }
 .hero-content h1 { font-size: 2em; }
 .hero-content p { font-size: 0.9em; }
 .hero-buttons { flex-direction: column; align-items: center; gap: 0.8rem; }
 .hero-buttons .btn { width: 80%; max-width: 250px; }
 .feature-grid, .service-grid, .blog-grid, .gallery-grid, .related-posts-grid {
 grid-template-columns: 1fr;
 }
 .about-image { margin-bottom: 1.5rem; }
 .cta-section { padding: 3rem 0; }
 .cta-section h2 { font-size: 1.8em; }
 .cta-section p { font-size: 1em; }
 .main-footer { padding: 2rem 0 1rem; }
 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-col.about-col p { max-width: none; }
 .contact-info-col { text-align: center; }
 .contact-detail { justify-content: center; flex-direction: column; align-items: center; }
 .contact-detail svg { margin-bottom: 0.5rem; }
 .social-links { justify-content: center; }
 .blog-post-header h1 { font-size: 2em; }
 .author-box { flex-direction: column; text-align: center; }
 .author-box img { margin-bottom: 1rem; }
 .accordion-header { font-size: 1em; }
 .error-page h1 { font-size: 4em; }
 .error-page h2 { font-size: 1.6em; }
 .thanks-page h1 { font-size: 2.2em; }
 .thanks-page p { font-size: 1em; }
 .legal-content h1 { font-size: 2em; }
 .legal-content h2 { font-size: 1.5em; }
}

@media (max-width: 480px) {
 h1 { font-size: 2em; }
 h2 { font-size: 1.6em; }
 h3 { font-size: 1.2em; }
 .hero-content h1 { font-size: 1.8em; }
 .hero-content p { font-size: 0.85em; }
 .main-header .logo { font-size: 1.4em; }
 .testimonial-card, .blog-card { margin: 0 auto; }
 .carousel-arrow { font-size: 1.2em; padding: 0.5rem 0.8rem; }
 .accordion-header { padding: 0.8rem 1rem; font-size: 0.9em; }
 .accordion-content p { padding: 0.8rem 0; }
}