:root {
 --primary-color: #0d47a1; /* Deep Blue */
 --secondary-color: #4a148c; /* Dark Purple */
 --accent-color: #ff8f00; /* Amber Orange */
 --text-color: #e0e0e0; /* Light Gray for dark backgrounds */
 --heading-color: #ffffff; /* White for headings */
 --bg-color: #1a237e; /* Dark Blue Gray */
 --bg-light: #2c3e50; /* Slightly lighter dark */
 --bg-dark: #121C42; /* Even darker blue */
 --card-bg: #1e2749; /* Card background */
 --border-color: rgba(255, 255, 255, 0.1);
 --hover-color: #ffb300; /* Brighter Amber */

 --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 --font-body: 'Roboto', Arial, sans-serif;

 --max-width: 1200px;
 --spacing-unit: 1rem;
 --section-padding: 6rem 0;
 --border-radius: 8px;
 --transition-speed: 0.3s ease;
}

/* 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(--text-color);
 background-color: var(--bg-color);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 overflow-x: hidden;
}

.container {
 max-width: var(--max-width);
 margin: 0 auto;
 padding: 0 1.5rem;
}

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

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

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.2rem; }

p {
 margin-bottom: 1rem;
}

ul {
 list-style: none;
}

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

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

.section-subtitle {
 font-size: 1.25rem;
 color: rgba(255, 255, 255, 0.7);
 margin-bottom: 2rem;
 text-align: center;
}

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

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

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

/* Buttons */
.btn {
 display: inline-block;
 padding: 0.8rem 2rem;
 border-radius: var(--border-radius);
 font-weight: bold;
 text-transform: uppercase;
 transition: background-color var(--transition-speed), transform var(--transition-speed);
 border: none;
 cursor: pointer;
 font-size: 1rem;
}

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

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

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

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

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

/* Header & Navigation */
header {
 background-color: var(--bg-dark);
 padding: 1rem 0;
 position: sticky;
 top: 0;
 z-index: 1000;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
 transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
}

header.scrolled {
 background-color: rgba(18, 28, 66, 0.95); /* Slightly transparent */
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

header nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.logo {
 font-family: var(--font-heading);
 font-size: 1.8rem;
 font-weight: bold;
 color: var(--heading-color);
 position: relative;
 padding: 0.2rem 0;
 transition: color var(--transition-speed);
}

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

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

.logo:hover::after {
 width: 100%;
}

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

.nav-links a {
 color: var(--text-color);
 font-weight: 500;
 font-size: 1.1rem;
 padding: 0.5rem 0;
 position: relative;
 overflow: hidden; /* For sliding text effect */
}

.nav-links a::before {
 content: attr(data-text); /* Use data-text attribute for sliding effect */
 position: absolute;
 top: 0;
 left: 0;
 transform: translateY(100%);
 transition: transform var(--transition-speed);
 color: var(--accent-color);
}

.nav-links a:hover::before {
 transform: translateY(0%);
}

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

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

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 0.5rem;
 z-index: 1001;
}

.nav-toggle span {
 display: block;
 width: 25px;
 height: 3px;
 background-color: var(--heading-color);
 margin: 5px 0;
 transition: var(--transition-speed);
}

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

/* Hero Section */
.hero-section {
 display: flex;
 align-items: center;
 justify-content: center;
 padding: var(--section-padding) 0;
 min-height: 80vh;
 background-color: var(--bg-dark);
 position: relative;
 overflow: hidden;
 gap: 4rem;
}

.hero-content {
 flex: 1;
 max-width: 600px;
 text-align: left;
 z-index: 1;
}

.hero-content h1 {
 font-size: 4.5rem;
 margin-bottom: 1.5rem;
 text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-content p {
 font-size: 1.3rem;
 margin-bottom: 2.5rem;
 color: rgba(255, 255, 255, 0.8);
}

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

.hero-image-wrapper {
 flex: 1;
 display: flex;
 justify-content: center;
 align-items: center;
 position: relative;
 z-index: 0;
}

.hero-image-wrapper img {
 max-width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
 opacity: 0; /* Hidden initially for animation */
 animation: fadeIn 1.5s forwards 0.5s;
}

@keyframes fadeIn {
 from { opacity: 0; transform: translateY(20px); }
 to { opacity: 1; transform: translateY(0); }
}

/* Features Section */
.features-section h2, .testimonials-section h2, .blog-preview-section h2, .faq-section h2, .about-section h2, .services-section h2 {
 text-align: center;
 margin-bottom: 1rem;
}

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

.feature-card {
 background-color: var(--card-bg);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
 text-align: center;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 display: flex;
 flex-direction: column;
 align-items: center;
 opacity: 0; /* For scroll animation */
 transform: translateY(30px); /* For scroll animation */
}

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

.feature-icon {
 width: 80px;
 height: 80px;
 object-fit: cover;
 margin-bottom: 1.5rem;
 border-radius: 50%;
 border: 3px solid var(--accent-color);
 padding: 5px;
 background-color: rgba(255, 255, 255, 0.05);
}

.feature-card h3 {
 font-size: 1.5rem;
 margin-bottom: 1rem;
}

.feature-card p {
 color: rgba(255, 255, 255, 0.7);
 flex-grow: 1;
}

.card-link {
 margin-top: 1rem;
 font-weight: bold;
 text-transform: uppercase;
 font-size: 0.9rem;
}

/* About Preview Section */
.about-preview-section {
 position: relative;
 z-index: 1;
}

.about-preview-content {
 display: flex;
 align-items: center;
 gap: 4rem;
 flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.about-preview-image {
 flex: 1;
 min-width: 300px;
 opacity: 0; /* For scroll animation */
 transform: translateX(-50px); /* For scroll animation */
}

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

.about-preview-text {
 flex: 1.5;
 min-width: 300px;
 opacity: 0; /* For scroll animation */
 transform: translateX(50px); /* For scroll animation */
}

.about-preview-text h2 {
 font-size: 3rem;
 margin-bottom: 1.5rem;
}

.about-preview-text p {
 font-size: 1.1rem;
 margin-bottom: 1.5rem;
 color: rgba(255, 255, 255, 0.75);
}

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

.testimonial-card {
 background-color: var(--card-bg);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
 text-align: center;
 opacity: 0; /* For scroll animation */
 transform: translateY(30px); /* For scroll animation */
}

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

.testimonial-quote {
 font-style: italic;
 font-size: 1.1rem;
 margin-bottom: 1.5rem;
 color: rgba(255, 255, 255, 0.8);
}

.testimonial-author {
 font-weight: bold;
 color: var(--heading-color);
}

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

.blog-card {
 background-color: var(--card-bg);
 border-radius: var(--border-radius);
 overflow: hidden;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 opacity: 0; /* For scroll animation */
 transform: translateY(30px); /* For scroll animation */
}

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

.blog-card img {
 border-bottom: 1px solid var(--border-color);
 aspect-ratio: 16/9;
 object-fit: cover;
}

.blog-content {
 padding: 1.5rem;
}

.blog-content h3 {
 font-size: 1.4rem;
 margin-bottom: 0.8rem;
}

.blog-content p {
 font-size: 0.95rem;
 color: rgba(255, 255, 255, 0.7);
 margin-bottom: 1.2rem;
}

.read-more {
 font-weight: bold;
 color: var(--accent-color);
}

/* FAQ Section */
.faq-section {
 max-width: 900px;
 margin: 0 auto;
}

.faq-accordion {
 margin-top: 3rem;
}

.accordion-item {
 background-color: var(--card-bg);
 border-radius: var(--border-radius);
 margin-bottom: 1rem;
 overflow: hidden;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 opacity: 0; /* For scroll animation */
 transform: translateY(30px); /* For scroll animation */
}

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

.accordion-header:hover {
 background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter for hover */
}

.accordion-header::after {
 content: '+';
 font-size: 1.5rem;
 transform: rotate(0deg);
 transition: transform var(--transition-speed);
}

.accordion-header[aria-expanded="true"]::after {
 content: '−';
 transform: rotate(180deg);
}

.accordion-content {
 padding: 0 1.5rem;
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out, padding 0.4s ease-out;
 color: rgba(255, 255, 255, 0.75);
}

.accordion-content p {
 padding-top: 1rem;
 padding-bottom: 1rem;
 margin: 0;
 border-top: 1px solid var(--border-color);
}

.accordion-header[aria-expanded="true"] + .accordion-content {
 max-height: 500px; /* Adjust as needed for content */
}

/* CTA Section */
.cta-section {
 background-color: var(--primary-color);
 padding: 6rem 0;
 color: var(--text-color);
}

.cta-section h2 {
 font-size: 3rem;
 margin-bottom: 1.5rem;
}

.cta-section p {
 font-size: 1.3rem;
 margin-bottom: 2.5rem;
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
 color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
 background-color: var(--bg-dark);
 color: rgba(255, 255, 255, 0.7);
 padding: var(--section-padding) 0 2rem;
 border-top: 1px solid var(--border-color);
}

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

.footer-col h3, .footer-col h4 {
 color: var(--heading-color);
 margin-bottom: 1.5rem;
 font-size: 1.4rem;
}

.footer-col p {
 font-size: 0.95rem;
 margin-bottom: 0.8rem;
}

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

.footer-col ul li {
 margin-bottom: 0.7rem;
}

.footer-col ul li a {
 color: rgba(255, 255, 255, 0.7);
 font-size: 0.95rem;
 transition: color var(--transition-speed);
}

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

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

.social-links a {
 color: var(--text-color);
 font-size: 1.2rem;
 display: inline-flex;
 justify-content: center;
 align-items: center;
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background-color: rgba(255, 255, 255, 0.1);
 transition: background-color var(--transition-speed), color var(--transition-speed), transform var(--transition-speed);
}

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

.contact-info p a {
 color: rgba(255, 255, 255, 0.7);
}

.contact-info p a:hover {
 color: var(--accent-color);
}

.footer-bottom {
 text-align: center;
 border-top: 1px solid var(--border-color);
 padding-top: 2rem;
 font-size: 0.9rem;
 color: rgba(255, 255, 255, 0.5);
}

/* Scroll Animations (Intersection Observer) */
.animate-on-scroll {
 opacity: 0;
 transform: translateY(30px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.about-preview-image.animate-on-scroll.is-visible {
 transform: translateX(0);
}

.about-preview-text.animate-on-scroll.is-visible {
 transform: translateX(0);
}

/* Media Queries */
@media (max-width: 1024px) {
 .container {
 padding: 0 2rem;
 }

 h1 { font-size: 3rem; }
 h2 { font-size: 2.2rem; }
 h3 { font-size: 1.8rem; }

 .nav-links {
 gap: 1.5rem;
 }

 .hero-section {
 flex-direction: column;
 text-align: center;
 padding: 5rem 0;
 }

 .hero-content {
 max-width: 100%;
 margin-bottom: 3rem;
 }

 .hero-buttons {
 justify-content: center;
 }

 .about-preview-content {
 flex-direction: column;
 text-align: center;
 }

 .about-preview-image, .about-preview-text {
 min-width: unset;
 width: 100%;
 }
}

@media (max-width: 768px) {
 h1 { font-size: 2.5rem; }
 h2 { font-size: 2rem; }
 h3 { font-size: 1.6rem; }
 .section-subtitle { font-size: 1.1rem; }

 header nav {
 flex-wrap: wrap;
 }

 .nav-links {
 display: none; /* Hidden by default on mobile */
 flex-direction: column;
 width: 100%;
 text-align: center;
 background-color: var(--bg-dark); /* Same as header background */
 position: absolute;
 top: 100%; /* Position below header */
 left: 0;
 padding: 1rem 0;
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out;
 }

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

 .nav-links li {
 margin: 0.5rem 0;
 }

 .nav-links a {
 padding: 0.8rem 0;
 font-size: 1.2rem;
 display: block;
 }
 .nav-links a::before {
 display: none; /* Disable sliding text for mobile menu */
 }

 .nav-toggle {
 display: block;
 }

 .hero-content h1 {
 font-size: 3rem;
 }
 .hero-content p {
 font-size: 1.1rem;
 }

 .hero-buttons {
 flex-direction: column;
 gap: 1rem;
 }

 .feature-card {
 padding: 1.5rem;
 }

 .cta-section h2 {
 font-size: 2rem;
 }
 .cta-section p {
 font-size: 1.1rem;
 }

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

 .footer-col {
 padding-bottom: 2rem;
 border-bottom: 1px solid var(--border-color);
 }
 .footer-col:last-child {
 border-bottom: none;
 }

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

 .accordion-header {
 font-size: 1rem;
 }
}

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

 h1 { font-size: 2rem; }
 h2 { font-size: 1.8rem; }
 h3 { font-size: 1.4rem; }

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

 .btn-primary, .btn-secondary {
 width: 100%;
 }

 .blog-content h3 {
 font-size: 1.2rem;
 }

 .accordion-header {
 padding: 1rem;
 }
}

/* 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.9);
 align-items: center;
 justify-content: center;
}

.lightbox-content {
 margin: auto;
 display: block;
 max-width: 90%;
 max-height: 90%;
 border-radius: var(--border-radius);
 animation: zoomIn 0.3s ease-out;
}

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

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

@keyframes zoomIn {
 from {
 transform: scale(0.8);
 opacity: 0;
 }
 to {
 transform: scale(1);
 opacity: 1;
 }
}

/* Form Styles */
.contact-form-section {
 max-width: 800px;
 margin: 0 auto;
}

.contact-form {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 1.5rem;
 background-color: var(--card-bg);
 padding: 2.5rem;
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.form-group {
 margin-bottom: 1rem;
}

.form-group.full-width {
 grid-column: 1 / -1;
}

label {
 display: block;
 margin-bottom: 0.5rem;
 color: var(--heading-color);
 font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
 width: 100%;
 padding: 0.8rem 1rem;
 border: 1px solid var(--border-color);
 background-color: var(--bg-light);
 color: var(--text-color);
 border-radius: var(--border-radius);
 font-family: var(--font-body);
 font-size: 1rem;
 transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
 border-color: var(--accent-color);
 outline: none;
 box-shadow: 0 0 0 2px rgba(var(--accent-color), 0.3);
}

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

button[type="submit"] {
 grid-column: 1 / -1;
 justify-self: center;
 width: auto;
 margin-top: 1rem;
 border: none;
}

.form-message {
 grid-column: 1 / -1;
 text-align: center;
 padding: 1rem;
 border-radius: var(--border-radius);
 margin-top: 1rem;
}

.success-message {
 background-color: rgba(67, 160, 71, 0.2);
 color: #4CAF50;
}

.error-message {
 background-color: rgba(220, 53, 69, 0.2);
 color: #dc3545;
}

.contact-details {
 padding: 2.5rem;
 background-color: var(--card-bg);
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
 margin-top: 3rem;
}

.contact-details h3 {
 margin-bottom: 1.5rem;
 text-align: center;
}

.contact-details ul {
 list-style: none;
 padding: 0;
}

.contact-details ul li {
 display: flex;
 align-items: flex-start;
 margin-bottom: 1rem;
 font-size: 1.1rem;
 color: rgba(255, 255, 255, 0.8);
}

.contact-details ul li svg {
 margin-right: 1rem;
 color: var(--accent-color);
 min-width: 24px;
 min-height: 24px;
}

.contact-details ul li a {
 color: rgba(255, 255, 255, 0.8);
}

.contact-details ul li a:hover {
 color: var(--accent-color);
}

.map-container {
 margin-top: 3rem;
 background-color: var(--card-bg);
 padding: 1rem;
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
 width: 100%;
 height: 400px;
 border: 0;
 border-radius: var(--border-radius);
}

@media (max-width: 768px) {
 .contact-form {
 grid-template-columns: 1fr;
 padding: 1.5rem;
 }
}

/* Service Crads */
.service-items-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
 margin-top: 3rem;
 margin-bottom: 4rem;
}

.service-card {
 background-color: var(--card-bg);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
 text-align: center;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 opacity: 0; /* For scroll animation */
 transform: translateY(30px); /* For scroll animation */
 position: relative;
 overflow: hidden;
}

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

.service-card-icon {
 width: 80px;
 height: 80px;
 object-fit: cover;
 margin: 0 auto 1.5rem;
 border-radius: 50%;
 border: 3px solid var(--primary-color);
 padding: 5px;
 background-color: rgba(255, 255, 255, 0.05);
}

.service-card h3 {
 font-size: 1.6rem;
 margin-bottom: 1rem;
}

.service-card p {
 color: rgba(255, 255, 255, 0.7);
 font-size: 1rem;
}

.service-process-section {
 padding-top: 0;
}

.process-steps {
 display: flex;
 justify-content: space-between;
 align-items: flex-start;
 gap: 2rem;
 margin-top: 3rem;
 flex-wrap: wrap;
}

.process-step {
 flex: 1;
 min-width: 250px;
 text-align: center;
 position: relative;
 padding: 2rem;
 background-color: var(--card-bg);
 border-radius: var(--border-radius);
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
 opacity: 0; /* For scroll animation */
 transform: translateY(30px); /* For scroll animation */
}

.process-step-icon {
 width: 60px;
 height: 60px;
 margin-bottom: 1rem;
 color: var(--accent-color);
 background-color: rgba(255, 255, 255, 0.05);
 border-radius: 50%;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 border: 2px solid var(--accent-color);
 font-size: 2rem;
 font-weight: bold;
}

.process-step h4 {
 font-size: 1.3rem;
 margin-bottom: 0.8rem;
}

.process-step p {
 font-size: 0.95rem;
 color: rgba(255, 255, 255, 0.7);
}

/* Add a line connecting process steps for larger screens */
@media (min-width: 769px) {
 .process-step::after {
 content: '';
 position: absolute;
 top: 30%;
 left: calc(100% + 1rem); /* Position between elements */
 width: 3rem; /* Length of the line */
 height: 2px;
 background-color: var(--accent-color);
 z-index: -1;
 }

 .process-steps .process-step:last-child::after {
 display: none; /* No line after the last step */
 }
}

@media (max-width: 768px) {
 .process-steps {
 flex-direction: column;
 align-items: center;
 }

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

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

.gallery-item {
 cursor: pointer;
 overflow: hidden;
 border-radius: var(--border-radius);
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
 position: relative;
 transition: transform var(--transition-speed);
 opacity: 0; /* For scroll animation */
 transform: translateY(30px); /* For scroll animation */
}

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

.gallery-item img {
 display: block;
 width: 100%;
 height: 250px;
 object-fit: cover;
 transition: transform var(--transition-speed);
}

.gallery-item:hover img {
 transform: scale(1.05); /* Slight zoom on hover */
}

.gallery-overlay {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 background: rgba(0, 0, 0, 0.7);
 color: #fff;
 padding: 1rem;
 transform: translateY(100%);
 transition: transform var(--transition-speed);
 text-align: center;
 font-weight: bold;
}

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

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

.team-member-card {
 background-color: var(--card-bg);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
 text-align: center;
 opacity: 0; /* For scroll animation */
 transform: translateY(30px); /* For scroll animation */
}

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

.team-member-card h4 {
 font-size: 1.5rem;
 margin-bottom: 0.5rem;
}

.team-member-card p {
 color: rgba(255, 255, 255, 0.7);
 font-size: 0.95rem;
}

/* Blog Post Page */
.blog-post-content {
 max-width: 800px;
 margin: 0 auto;
 background-color: var(--card-bg);
 padding: 3rem;
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.blog-post-content h1 {
 font-size: 2.8rem;
 margin-bottom: 1rem;
}

.blog-post-meta {
 display: flex;
 align-items: center;
 gap: 1rem;
 margin-bottom: 2rem;
 color: rgba(255, 255, 255, 0.6);
 font-size: 0.9rem;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 1rem;
}

.blog-author-avatar {
 width: 50px;
 height: 50px;
 border-radius: 50%;
 object-fit: cover;
}

.blog-post-body img {
 width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 margin: 2rem 0;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.blog-post-body p {
 font-size: 1.1rem;
 margin-bottom: 1.5rem;
 line-height: 1.8;
 color: rgba(255, 255, 255, 0.8);
}

.blog-post-body h2 {
 font-size: 2rem;
 margin-top: 2.5rem;
 margin-bottom: 1rem;
}

.blog-post-body ul {
 list-style: disc;
 margin-left: 1.5rem;
 margin-bottom: 1.5rem;
 color: rgba(255, 255, 255, 0.8);
}

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

.related-posts {
 margin-top: 4rem;
 border-top: 1px solid var(--border-color);
 padding-top: 2rem;
}

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

.related-post-card {
 background-color: var(--bg-light);
 border-radius: var(--border-radius);
 overflow: hidden;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.related-post-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.related-post-card-content {
 padding: 1.5rem;
}

.related-post-card-content h4 {
 font-size: 1.3rem;
 margin-bottom: 0.8rem;
}

.related-post-card-content p {
 font-size: 0.9rem;
 color: rgba(255, 255, 255, 0.7);
 line-height: 1.5;
}

/* Legal Pages */
.legal-content {
 max-width: 900px;
 margin: 0 auto;
 background-color: var(--card-bg);
 padding: 3rem;
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.legal-content h1 {
 text-align: center;
 margin-bottom: 2rem;
 font-size: 2.5rem;
}

.legal-content h2 {
 font-size: 1.8rem;
 margin-top: 2rem;
 margin-bottom: 1rem;
 color: var(--accent-color);
}

.legal-content p, .legal-content ul {
 font-size: 1rem;
 line-height: 1.8;
 margin-bottom: 1.2rem;
 color: rgba(255, 255, 255, 0.8);
}

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

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

/* Thank You Page */
.thank-you-section {
 min-height: 60vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 padding: var(--section-padding) 0;
}

.thank-you-section h1 {
 font-size: 3.5rem;
 color: var(--accent-color);
 margin-bottom: 1.5rem;
}

.thank-you-section p {
 font-size: 1.3rem;
 max-width: 600px;
 margin-bottom: 2.5rem;
 color: rgba(255, 255, 255, 0.8);
}

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

.error-404-section h1 {
 font-size: 6rem;
 color: var(--accent-color);
 margin-bottom: 1rem;
 text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.error-404-section h2 {
 font-size: 2.5rem;
 margin-bottom: 1.5rem;
 color: var(--heading-color);
}

.error-404-section p {
 font-size: 1.2rem;
 max-width: 700px;
 margin-bottom: 2.5rem;
 color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
 .legal-content, .blog-post-content {
 padding: 2rem;
 }
 .legal-content h1, .blog-post-content h1 {
 font-size: 2rem;
 }
 .error-404-section h1 {
 font-size: 4rem;
 }
 .error-404-section h2 {
 font-size: 1.8rem;
 }
 .thank-you-section h1 {
 font-size: 2.5rem;
 }
}