:root {
 --primary-color: #2c3e50; /* Dark Blue-Gray */
 --secondary-color: #3498db; /* Bright Blue */
 --accent-color: #2ecc71; /* Green for success/CTA */
 --text-color: #333;
 --light-text-color: #555;
 --background-color: #f9fbfd;
 --light-bg-color: #ffffff;
 --border-color: #e0e0e0;
 --shadow-color: rgba(0, 0, 0, 0.08);

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

 --header-height: 70px;
 --padding-section: 80px; /* Base padding for sections */

 --border-radius-small: 5px;
 --border-radius-medium: 8px;
}

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

html {
 scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 color: var(--primary-color);
 margin-bottom: 0.8em;
 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;
}

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

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

ul {
 list-style: none;
}

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

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

.section-padding {
 padding: var(--padding-section) 0;
}

.section-title {
 text-align: center;
 margin-bottom: 15px;
 font-size: 2.5em; /* Larger for impact */
 font-weight: 700;
}

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

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

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

/* Buttons */
.button {
 display: inline-block;
 padding: 12px 25px;
 border-radius: var(--border-radius-small);
 font-weight: 500;
 text-align: center;
 transition: all 0.3s ease;
 border: 2px solid transparent;
 cursor: pointer;
 font-family: var(--font-heading);
}

.primary-button {
 background-color: var(--secondary-color);
 color: #fff;
}

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

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

.secondary-button:hover {
 background-color: var(--secondary-color);
 color: #fff;
 transform: translateY(-2px);
}

.large-button {
 padding: 15px 30px;
 font-size: 1.1em;
}

.nav-button {
 padding: 8px 18px;
 font-size: 0.9em;
 margin-left: 15px;
 border-radius: 999px; /* Pill shape */
}

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

header.scrolled {
 background-color: rgba(255, 255, 255, 0.95);
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 15px 20px;
 max-width: 1200px;
 margin: 0 auto;
 height: var(--header-height);
}

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

.nav-links {
 display: flex;
 align-items: center;
 list-style: none;
}

.nav-links li {
 margin-left: 30px;
 position: relative;
}

.nav-links a {
 color: var(--text-color);
 font-weight: 500;
 font-size: 1.05em;
 transition: color 0.3s ease;
 padding: 5px 0;
 position: relative;
 white-space: nowrap;
}

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

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

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

.nav-links .dropdown {
 position: relative;
}

.nav-links .dropdown-content {
 display: none;
 position: absolute;
 background-color: var(--light-bg-color);
 min-width: 220px;
 box-shadow: 0px 8px 16px 0px var(--shadow-color);
 z-index: 1;
 border-radius: var(--border-radius-small);
 padding: 10px 0;
 top: calc(100% + 15px);
 opacity: 0;
 visibility: hidden;
 transform: translateY(10px);
 transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
 white-space: nowrap;
}

.nav-links .dropdown:hover .dropdown-content {
 display: block;
 opacity: 1;
 visibility: visible;
 transform: translateY(0);
}

.nav-links .dropdown-content li {
 margin: 0;
}

.nav-links .dropdown-content a {
 color: var(--text-color);
 padding: 10px 20px;
 display: block;
 text-align: left;
 font-size: 1em;
 border-bottom: 1px solid var(--border-color);
}

.nav-links .dropdown-content a:last-child {
 border-bottom: none;
}

.nav-links .dropdown-content a:hover {
 background-color: #f0f0f0;
 color: var(--secondary-color);
}

.dropdown-icon {
 font-size: 0.7em;
 vertical-align: middle;
 margin-left: 5px;
}

.nav-toggle {
 display: none;
 flex-direction: column;
 justify-content: space-around;
 width: 30px;
 height: 25px;
 background: transparent;
 border: none;
 cursor: pointer;
 padding: 0;
 z-index: 1001;
}

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

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

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

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

/* Hero Section */
.hero-section {
 background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 152, 219, 0.95)), url('https://picsum.photos/seed/hero-background/1920/1080') no-repeat center center/cover;
 color: #fff;
 padding: calc(var(--padding-section) * 1.5) 0;
 text-align: center;
 position: relative;
 overflow: hidden;
}

.hero-content {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 40px;
}

.hero-text {
 max-width: 800px;
 text-align: center;
}

.hero-text h1 {
 font-size: 3.5em;
 font-weight: 700;
 margin-bottom: 25px;
 color: #fff;
 line-height: 1.1;
}

.hero-text p {
 font-size: 1.3em;
 margin-bottom: 35px;
 color: #e0e0e0;
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
}

.hero-buttons .button {
 margin: 10px;
 padding: 15px 35px;
 font-size: 1.1em;
 border-radius: var(--border-radius-medium);
}

.hero-buttons .primary-button {
 background-color: var(--accent-color);
 border-color: var(--accent-color);
}

.hero-buttons .primary-button:hover {
 background-color: darken(var(--accent-color), 10%);
 border-color: darken(var(--accent-color), 10%);
}

.hero-buttons .secondary-button {
 color: #fff;
 border-color: rgba(255, 255, 255, 0.7);
}

.hero-buttons .secondary-button:hover {
 background-color: rgba(255, 255, 255, 0.15);
 border-color: #fff;
}

.hero-image {
 max-width: 700px; /* Adjust size */
 margin-top: 40px;
}

.hero-image img {
 border-radius: var(--border-radius-medium);
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trust-bar {
 background-color: rgba(0, 0, 0, 0.3);
 padding: 15px 0;
 text-align: center;
 margin-top: 50px;
 font-size: 1.1em;
 color: rgba(255, 255, 255, 0.9);
 position: relative;
}

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

.feature-card {
 background-color: #fff;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
 padding: 30px;
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
}

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

.feature-card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: var(--border-radius-small);
 margin-bottom: 20px;
}

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

.feature-card p {
 color: var(--light-text-color);
 line-height: 1.7;
 flex-grow: 1; /* Ensures cards are same height if text differs */
}

.feature-card .learn-more {
 display: inline-block;
 margin-top: 20px;
 font-weight: 500;
 color: var(--secondary-color);
}

.feature-card .learn-more:hover {
 color: var(--primary-color);
 text-decoration: underline;
}

/* About Preview Section */
.about-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 50px;
 align-items: center;
}

.about-image img {
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
}

.about-text .section-title {
 text-align: left;
 margin-bottom: 20px;
}

.about-text p {
 font-size: 1.1em;
 color: var(--light-text-color);
 margin-bottom: 20px;
}

.about-text .button {
 margin-top: 20px;
}

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

.testimonial-card {
 background-color: #fff;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
 padding: 30px;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 text-align: left; /* Adjust if needed */
}

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

.testimonial-quote {
 font-size: 1.15em;
 font-style: italic;
 color: var(--light-text-color);
 margin-bottom: 20px;
 position: relative;
 padding-left: 20px;
}

.testimonial-quote::before {
 content: '“';
 font-size: 4em;
 color: var(--secondary-color);
 position: absolute;
 left: 0;
 top: -20px;
 opacity: 0.2;
 line-height: 1;
}

.testimonial-author {
 font-weight: 500;
 color: var(--primary-color);
 margin-top: 15px;
 text-align: right;
}

.testimonial-author strong {
 display: block;
 margin-bottom: 5px;
 font-size: 1.1em;
}

/* CTA Section */
.cta-section {
 background-color: var(--primary-color);
 color: #fff;
 text-align: center;
}

.cta-section .section-title {
 color: #fff;
 margin-bottom: 20px;
 font-size: 2.5em;
}

.cta-section p {
 font-size: 1.2em;
 max-width: 800px;
 margin: 0 auto 40px auto;
 color: #e0e0e0;
}

.cta-section .button {
 background-color: var(--accent-color);
 color: #fff;
 border-color: var(--accent-color);
 font-size: 1.2em;
 padding: 18px 40px;
 border-radius: var(--border-radius-medium);
}

.cta-section .button:hover {
 background-color: darken(var(--accent-color), 10%);
 border-color: darken(var(--accent-color), 10%);
}

/* Footer */
footer {
 background-color: var(--primary-color);
 color: #e0e0e0;
 padding: var(--padding-section) 0 30px 0;
 font-size: 0.95em;
 line-height: 1.8;
}

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

.footer-col h3, .footer-col h4 {
 color: #fff;
 margin-bottom: 20px;
 font-size: 1.2em;
 white-space: nowrap;
}

.footer-col p, .footer-col a, .footer-col address {
 color: #e0e0e0;
}

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

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

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

.footer-col address p {
 margin-bottom: 10px;
}

.footer-col address a {
 display: inline-block;
 margin-top: 5px;
}

.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 25px;
 text-align: center;
 color: #ccc;
 font-size: 0.9em;
}

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

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

.animate-slide-up {
 opacity: 0;
 transform: translateY(50px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.animate-slide-left {
 opacity: 0;
 transform: translateX(-50px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-slide-left.is-visible {
 opacity: 1;
 transform: translateX(0);
}

.animate-slide-in {
 opacity: 0;
 transform: scale(0.9);
 transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-in.is-visible {
 opacity: 1;
 transform: scale(1);
}

/* Animation delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Contact Page Specific Styles */
.contact-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 50px;
 align-items: flex-start;
}

.contact-form-container {
 background-color: var(--light-bg-color);
 padding: 40px;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
}

.contact-form-container h2 {
 text-align: left;
 margin-bottom: 25px;
}

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

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

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
 border-color: var(--secondary-color);
 box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
 outline: none;
}

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

.contact-info-container {
 padding: 40px;
 background-color: var(--light-bg-color);
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
}

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

.contact-info-container p {
 margin-bottom: 15px;
 color: var(--light-text-color);
}

.contact-info-container p strong {
 color: var(--primary-color);
}

.contact-info-container ul {
 list-style: none;
 margin-top: 20px;
}

.contact-info-container ul li {
 margin-bottom: 10px;
 display: flex;
 align-items: center;
 color: var(--light-text-color);
}

.contact-info-container ul li strong {
 min-width: 80px; /* Align labels */
 color: var(--primary-color);
}

.contact-info-container ul li i {
 margin-right: 10px;
 color: var(--secondary-color);
 font-size: 1.2em;
}

.map-container {
 margin-top: 50px;
 border-radius: var(--border-radius-medium);
 overflow: hidden;
 box-shadow: 0 5px 20px var(--shadow-color);
}

.map-container iframe {
 width: 100%;
 height: 450px;
 display: block; /* Remove extra space below iframe */
}

/* About Page Specific Styles */
.about-hero {
 background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://picsum.photos/seed/about-hero-bg/1920/600') no-repeat center center/cover;
 color: #fff;
 padding: 100px 0;
 text-align: center;
}

.about-hero h1 {
 color: #fff;
 font-size: 3.5em;
 margin-bottom: 20px;
}

.about-hero p {
 font-size: 1.2em;
 max-width: 800px;
 margin: 0 auto;
 color: #e0e0e0;
}

.mission-vision-section {
 padding: var(--padding-section) 0;
}

.mission-vision-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 40px;
}

.mission-vision-item {
 background-color: var(--light-bg-color);
 padding: 35px;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
 transition: transform 0.3s ease;
}

.mission-vision-item:hover {
 transform: translateY(-8px);
}

.mission-vision-item h3 {
 color: var(--secondary-color);
 margin-bottom: 15px;
 font-size: 1.8em;
}

.mission-vision-item p {
 color: var(--light-text-color);
 line-height: 1.7;
}

.team-section {
 padding: var(--padding-section) 0;
 background-color: var(--background-color);
}

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

.team-member-card {
 background-color: #fff;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
 overflow: hidden;
 text-align: center;
 padding: 30px;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-member-card img {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 20px auto;
 border: 4px solid var(--secondary-color);
 box-shadow: 0 0 0 8px rgba(52, 152, 219, 0.1);
}

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

.team-member-card p {
 color: var(--secondary-color);
 font-weight: 500;
 margin-bottom: 15px;
}

.team-member-card .description {
 color: var(--light-text-color);
 font-size: 0.95em;
 line-height: 1.6;
}

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

.service-card {
 background-color: var(--light-bg-color);
 padding: 35px;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
}

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

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

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

.service-card .cta-button {
 margin-top: 25px;
}

.process-section {
 background-color: var(--primary-color);
 color: #fff;
 padding: var(--padding-section) 0;
}

.process-section .section-title {
 color: #fff;
}

.process-steps {
 display: flex;
 justify-content: space-between;
 gap: 30px;
 margin-top: 50px;
 flex-wrap: wrap; /* Allow wrapping for mobile */
}

.process-step {
 flex: 1;
 min-width: 250px;
 text-align: center;
 position: relative;
 padding: 20px;
}

.process-step .icon {
 width: 70px;
 height: 70px;
 background-color: var(--secondary-color);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 20px auto;
 font-size: 2.5em;
 color: #fff;
 font-weight: 700;
 border: 3px solid #fff;
}

.process-step h4 {
 color: #fff;
 font-size: 1.4em;
 margin-bottom: 10px;
}

.process-step p {
 color: #e0e0e0;
}

/* Arrow between steps for desktop */
.process-step + .process-step::before {
 content: '';
 position: absolute;
 left: -20px;
 top: 30px;
 font-size: 2.5em;
 color: rgba(255, 255, 255, 0.3);
 z-index: 0;
 display: none; /* Hidden by default, shown in media query */
}

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

.blog-post-card {
 background-color: var(--light-bg-color);
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
 overflow: hidden;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.blog-post-content {
 padding: 25px;
}

.blog-post-content h3 {
 font-size: 1.6em;
 margin-bottom: 10px;
 min-height: 48px; /* Ensure consistent height for titles */
}

.blog-post-content p {
 color: var(--light-text-color);
 font-size: 0.95em;
 line-height: 1.6;
 margin-bottom: 20px;
 display: -webkit-box;
 -webkit-line-clamp: 3; /* Limit text to 3 lines */
 -webkit-box-orient: vertical;
 overflow: hidden;
}

.blog-post-meta {
 font-size: 0.85em;
 color: var(--text-color);
 border-top: 1px solid var(--border-color);
 padding-top: 15px;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

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

.blog-post-meta .author {
 font-weight: 500;
 color: var(--primary-color);
}

.blog-post-link {
 display: inline-block;
 color: var(--secondary-color);
 font-weight: 500;
 margin-top: 15px;
}

.blog-post-link:hover {
 text-decoration: underline;
}

/* Single Blog Post Styles */
.blog-article {
 background-color: var(--light-bg-color);
 padding: 50px;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
 max-width: 900px;
 margin: 50px auto;
}

.blog-article h1 {
 font-size: 2.5em;
 margin-bottom: 20px;
 color: var(--primary-color);
}

.blog-article .article-meta {
 font-size: 0.9em;
 color: var(--light-text-color);
 margin-bottom: 30px;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 15px;
}

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

.blog-article .article-meta .author {
 font-weight: 500;
 color: var(--primary-color);
}

.blog-article img.article-hero {
 width: 100%;
 height: 400px;
 object-fit: cover;
 border-radius: var(--border-radius-small);
 margin-bottom: 40px;
 box-shadow: 0 5px 15px var(--shadow-color);
}

.blog-article p, .blog-article ul, .blog-article ol {
 margin-bottom: 1.5em;
 font-size: 1.05em;
 line-height: 1.8;
 color: var(--text-color);
}

.blog-article h2 {
 font-size: 2em;
 margin-top: 1.5em;
 margin-bottom: 0.8em;
 color: var(--primary-color);
}

.blog-article h3 {
 font-size: 1.6em;
 margin-top: 1.2em;
 margin-bottom: 0.7em;
 color: var(--primary-color);
}

.blog-article ul, .blog-article ol {
 padding-left: 25px;
}

.blog-article ul li, .blog-article ol li {
 margin-bottom: 0.5em;
}

.blog-article ul li::marker {
 color: var(--secondary-color);
}

.blog-article blockquote {
 border-left: 4px solid var(--secondary-color);
 padding: 15px 20px;
 margin: 30px 0;
 background-color: #f8f8f8;
 color: var(--light-text-color);
 font-style: italic;
}

.author-box {
 display: flex;
 align-items: center;
 margin-top: 50px;
 padding: 25px;
 background-color: var(--background-color);
 border-radius: var(--border-radius-medium);
 border: 1px solid var(--border-color);
}

.author-box img {
 width: 90px;
 height: 90px;
 border-radius: 50%;
 object-fit: cover;
 margin-right: 20px;
 flex-shrink: 0;
}

.author-info h4 {
 margin-bottom: 5px;
 color: var(--primary-color);
 font-size: 1.3em;
}

.author-info p {
 font-size: 0.95em;
 margin-bottom: 0;
 color: var(--light-text-color);
}

/* Testimonials Full Page */
.testimonials-page-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
 margin-top: 50px;
}
.testimonial-card-full {
 background-color: var(--light-bg-color);
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
 padding: 30px;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 text-align: left;
}

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

.testimonial-card-full .quote-text {
 font-size: 1.15em;
 font-style: italic;
 color: var(--light-text-color);
 margin-bottom: 20px;
 position: relative;
 padding-left: 20px;
}

.testimonial-card-full .quote-text::before {
 content: '“';
 font-size: 4em;
 color: var(--secondary-color);
 position: absolute;
 left: 0;
 top: -20px; /* Adjust top to keep it aligned with text */
 opacity: 0.2;
 line-height: 1;
}

.testimonial-card-full .author-name {
 font-weight: 500;
 color: var(--primary-color);
 margin-top: 15px;
 text-align: right;
 display: block;
}

.testimonial-card-full .author-title {
 font-size: 0.9em;
 color: var(--secondary-color);
 text-align: right;
 display: block;
}

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

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

.gallery-item:hover {
 transform: scale(1.03);
 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.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-caption {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 background: rgba(var(--primary-color), 0.7);
 color: #fff;
 padding: 15px;
 font-size: 1em;
 font-weight: 500;
 transform: translateY(100%);
 transition: transform 0.3s ease;
 opacity: 0;
}

.gallery-item:hover .gallery-item-caption {
 transform: translateY(0);
 opacity: 1;
}

/* Lightbox Styles */
.lightbox {
 display: none;
 position: fixed;
 z-index: 2000;
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
 overflow: auto;
 background-color: rgba(0, 0, 0, 0.8);
 backdrop-filter: blur(5px);
 -webkit-backdrop-filter: blur(5px);
 align-items: center;
 justify-content: center;
 opacity: 0;
 transition: opacity 0.3s ease;
}

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

.lightbox-content {
 position: relative;
 max-width: 90%;
 max-height: 90%;
 margin: auto;
 display: block;
 opacity: 0;
 transform: scale(0.9);
 transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.active .lightbox-content {
 opacity: 1;
 transform: scale(1);
}

.lightbox-content img {
 width: auto;
 height: auto;
 max-width: 100%;
 max-height: 100%;
 display: block;
 margin: 0 auto;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
 color: #fff;
 text-align: center;
 margin-top: 15px;
 font-size: 1.2em;
}

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

.close-lightbox:hover,
.close-lightbox:focus {
 color: var(--secondary-color);
 text-decoration: none;
 cursor: pointer;
}

/* FAQ Page Styles */
.faq-accordion {
 max-width: 900px;
 margin: 50px auto;
}

.accordion-item {
 background-color: var(--light-bg-color);
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius-medium);
 margin-bottom: 20px;
 overflow: hidden;
 box-shadow: 0 2px 10px var(--shadow-color);
}

.accordion-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 20px 25px;
 cursor: pointer;
 background-color: #fff;
 border-bottom: 1px solid transparent;
 transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}

.accordion-item.active .accordion-header {
 background-color: var(--background-color);
 border-bottom-color: var(--border-color);
}

.accordion-header h3 {
 margin: 0;
 font-size: 1.2em;
 color: var(--primary-color);
 flex-grow: 1;
}

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

.accordion-item.active .accordion-icon {
 transform: rotate(180deg);
}

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

.accordion-item.active .accordion-content {
 max-height: 500px; /* Adjust as needed */
 padding: 20px 25px;
}

.accordion-content p {
 margin: 0 0 1em 0;
}

.accordion-content p:last-child {
 margin-bottom: 0;
}

/* Legal Pages (Privacy, Terms, Cookie, Disclaimer, Refund) */
.legal-content {
 max-width: 900px;
 margin: 50px auto;
 background-color: var(--light-bg-color);
 padding: 40px 50px;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
}

.legal-content h1 {
 font-size: 2.5em;
 margin-bottom: 30px;
 text-align: center;
 color: var(--primary-color);
}

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

.legal-content h3 {
 font-size: 1.4em;
 margin-top: 1.2em;
 margin-bottom: 0.7em;
 color: var(--primary-color);
}

.legal-content p, .legal-content ul, .legal-content ol {
 margin-bottom: 1em;
 line-height: 1.7;
 color: var(--text-color);
}

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

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

.legal-content strong {
 color: var(--primary-color);
}

.legal-content a {
 color: var(--secondary-color);
 text-decoration: underline;
}

/* Thanks Page */
.thanks-container {
 padding: var(--padding-section) 0;
 text-align: center;
 background-color: var(--background-color);
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 min-height: calc(100vh - var(--header-height) - 250px); /* Adjust based on footer height */
}

.thanks-box {
 background-color: var(--light-bg-color);
 padding: 50px;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 10px 30px var(--shadow-color);
 max-width: 600px;
 margin: 0 auto;
}

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

.thanks-box p {
 color: var(--text-color);
 font-size: 1.2em;
 margin-bottom: 30px;
}

.thanks-box .button {
 background-color: var(--secondary-color);
 color: #fff;
 padding: 12px 30px;
 border-radius: var(--border-radius-small);
}

.thanks-box .button:hover {
 background-color: var(--primary-color);
}

/* 404 Page */
.error-404-container {
 padding: var(--padding-section) 0;
 text-align: center;
 min-height: calc(100vh - var(--header-height) - 250px);
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

.error-404-content {
 background-color: var(--light-bg-color);
 padding: 50px;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 10px 30px var(--shadow-color);
 max-width: 700px;
 margin: 0 auto;
}

.error-404-content h1 {
 font-size: 6em;
 color: var(--secondary-color);
 margin-bottom: 10px;
}

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

.error-404-content p {
 font-size: 1.1em;
 color: var(--light-text-color);
 margin-bottom: 30px;
}

.error-404-content .button {
 margin-top: 20px;
}

/* Media Queries */
@media (min-width: 769px) {
 .process-step + .process-step::before {
 display: block;
 }
}

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

 .nav-links li {
 margin-left: 20px;
 }

 .nav-links a {
 font-size: 1em;
 }

 .hero-text h1 {
 font-size: 3em;
 }

 .hero-text p {
 font-size: 1.1em;
 }

 .about-grid, .contact-grid, .mission-vision-grid {
 grid-template-columns: 1fr;
 }

 .about-text .section-title {
 text-align: center;
 }

 .about-image {
 order: -1; /* Place image above text on smaller screens */
 }

 .process-steps {
 flex-direction: column;
 align-items: center;
 }

 .process-step {
 width: 100%;
 max-width: 400px;
 margin-bottom: 40px;
 }

 .process-step + .process-step::before {
 top: -20px;
 left: 50%;
 transform: translateX(-50%) rotate(90deg);
 display: block; /* Show arrow vertically */
 }

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

 .legal-content {
 padding: 30px;
 }
}

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

 .nav-links {
 display: none;
 flex-direction: column;
 position: absolute;
 top: var(--header-height);
 left: 0;
 width: 100%;
 background-color: var(--light-bg-color);
 box-shadow: 0 8px 16px var(--shadow-color);
 padding: 20px 0;
 z-index: 999;
 max-height: calc(100vh - var(--header-height));
 overflow-y: auto;
 }

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

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

 .nav-links a {
 padding: 10px 20px;
 display: block;
 width: 100%;
 font-weight: 600;
 }
 .nav-links a::after { display: none; }

 .nav-links .dropdown-content {
 position: static;
 box-shadow: none;
 padding: 0;
 min-width: unset;
 width: 100%;
 transform: translateY(0);
 opacity: 1;
 visibility: visible;
 border-radius: 0;
 }

 .nav-links .dropdown-content a {
 padding: 10px 40px; /* Indent sub-items */
 background-color: #f5f5f5;
 border-bottom: 1px dotted var(--border-color);
 }
 .nav-links .dropdown-content a:last-child {
 border-bottom: none;
 }

 .nav-links .nav-button {
 margin: 20px auto 0 auto;
 width: fit-content;
 }

 .nav-toggle {
 display: flex;
 }

 .hero-section {
 padding: 100px 0;
 }

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

 .hero-image {
 display: none; /* Hide image on smaller screens */
 }

 .feature-card, .testimonial-card, .blog-post-card, .service-card, .team-member-card, .testimonial-card-full, .gallery-item {
 margin: 0 auto;
 max-width: 400px;
 }

 .about-text .button, .cta-section .button {
 width: 100%;
 max-width: 300px;
 }

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

 .footer-col ul li {
 display: inline-block;
 margin: 0 10px 10px 10px;
 }

 .footer-col address {
 text-align: center;
 }
 .footer-col address p {
 display: inline;
 }
 .footer-col address p strong { display: block; }
}

@media (max-width: 480px) {
 .container {
 padding: 0 15px;
 }

 .section-title {
 font-size: 1.8em;
 }

 .hero-text h1 {
 font-size: 2em;
 }

 .hero-text p {
 font-size: 1em;
 }

 .hero-buttons .button {
 width: 100%;
 margin: 10px 0;
 }

 .testimonial-quote, .testimonial-card-full .quote-text {
 font-size: 1em;
 }
 
 .legal-content {
 padding: 25px 20px;
 }

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

 .legal-content h2 {
 font-size: 1.5em;
 }

 .legal-content h3 {
 font-size: 1.2em;
 }

 .error-404-content {
 padding: 30px;
 }

 .error-404-content h1 {
 font-size: 4em;
 }

 .error-404-content h2 {
 font-size: 1.8em;
 }
}
/* Utility classes for specific page elements */
.service-single-item {
 background-color: var(--light-bg-color);
 padding: 40px;
 border-radius: var(--border-radius-medium);
 box-shadow: 0 5px 20px var(--shadow-color);
 margin-bottom: 40px;
}

.service-single-item h2 {
 color: var(--primary-color);
 margin-bottom: 20px;
 text-align: left;
 font-size: 2em;
}

.service-single-item p {
 color: var(--light-text-color);
 line-height: 1.7;
 margin-bottom: 15px;
 font-size: 1.05em;
}

.service-single-item ul {
 list-style: disc;
 padding-left: 25px;
 margin-bottom: 20px;
}

.service-single-item ul li {
 margin-bottom: 10px;
 color: var(--light-text-color);
}

.service-single-item img {
 border-radius: var(--border-radius-small);
 margin: 25px 0;
 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.service-benefits-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 20px;
 margin-top: 30px;
}

.service-benefit-card {
 background-color: var(--background-color);
 padding: 25px;
 border-left: 4px solid var(--secondary-color);
 border-radius: var(--border-radius-small);
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-benefit-card h4 {
 color: var(--primary-color);
 margin-bottom: 10px;
 font-size: 1.2em;
}

.service-benefit-card p {
 font-size: 0.95em;
 color: var(--light-text-color);
 margin-bottom: 0;
}
/* Styles for blog and other pages without a specific hero. They should still look good. */
.page-hero {
 background-color: var(--primary-color);
 color: #fff;
 padding: 80px 0 60px 0;
 text-align: center;
}

.page-hero h1 {
 color: #fff;
 font-size: 3em;
 margin-bottom: 15px;
}

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