:root {
 --primary-color: #0d4f8b; /* Deep Blue */
 --secondary-color: #0891b2; /* Tech Cyan */
 --accent-color: #4a5568; /* Steel Gray */
 --text-color: #333;
 --text-color-light: #555;
 --bg-color-light: #f8f9fa;
 --bg-color-dark: #212529;
 --white-color: #ffffff;
 --border-color: #dee2e6;
 --shadow-light: rgba(0, 0, 0, 0.08);
 --shadow-medium: rgba(0, 0, 0, 0.15);
 --heading-font: 'Arial', sans-serif;
 --body-font: 'Helvetica', sans-serif;
 --border-radius: 8px;
 --transition-speed: 0.3s;
}

/* Global Styles */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
}

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

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

section {
 padding: 80px 0;
}

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

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

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

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

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

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

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

p {
 margin-bottom: 1em;
 color: var(--text-color-light);
}

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

a {
 color: var(--secondary-color);
 text-decoration: none;
 transition: color var(--transition-speed), opacity var(--transition-speed);
}

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

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 25px;
 border-radius: var(--border-radius);
 font-weight: bold;
 text-align: center;
 transition: all var(--transition-speed) ease;
 cursor: pointer;
 border: 2px solid transparent;
}

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

.btn-primary:hover {
 background-color: #0a3d6d;
 border-color: #0a3d6d;
 color: var(--white-color);
}

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

.btn-secondary:hover {
 background-color: #06728a;
 border-color: #06728a;
 color: var(--white-color);
}

.btn-light-outline {
 background-color: transparent;
 color: var(--white-color);
 border-color: var(--white-color);
}

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

/* Header & Navigation */
.main-header {
 background-color: var(--primary-color);
 padding: 15px 0;
 position: sticky;
 top: 0;
 z-index: 1000;
 box-shadow: 0 2px 10px var(--shadow-light);
}

.main-header.scrolled {
 background-color: var(--primary-color);
 padding: 10px 0;
 box-shadow: 0 4px 15px var(--shadow-medium);
}

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

.logo {
 color: var(--white-color);
 font-size: 1.8em;
 font-weight: bold;
 text-transform: uppercase;
 letter-spacing: 1px;
}

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

.nav-links a {
 color: var(--white-color);
 font-weight: 500;
 padding: 5px 0;
 position: relative;
}

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

.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: 22px;
 background: none;
 border: none;
 cursor: pointer;
 padding: 0;
}

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

/* Hero Section */
.hero-section {
 background-color: var(--primary-color);
 color: var(--white-color);
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 padding: 80px 20px;
 overflow: hidden;
 position: relative;
}

.hero-section::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: linear-gradient(rgba(13, 79, 139, 0.8), rgba(8, 145, 178, 0.6));
 z-index: 1;
}

.hero-content {
 position: relative;
 z-index: 2;
 max-width: 900px;
 margin-bottom: 40px;
}

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

.hero-content p {
 font-size: 1.3em;
 margin-bottom: 30px;
 color: rgba(255, 255, 255, 0.9);
}

.hero-buttons .btn {
 margin: 0 10px;
 min-width: 200px;
}

.hero-image {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 overflow: hidden;
}

.hero-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 opacity: 0.5;
 filter: grayscale(50%);
}

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

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

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

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

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

.feature-card p {
 color: var(--text-color-light);
}

/* Block Layout (About Preview, Services Pages) */
.block-layout {
 display: flex;
 align-items: center;
 gap: 50px;
 padding: 40px 0;
 flex-wrap: wrap; /* Allow wrapping for responsiveness */
}

.block-layout:nth-child(even) .block-image {
 order: 2;
}

.block-image, .block-content {
 flex: 1;
 min-width: 300px;
}

.block-image img {
 width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 box-shadow: 0 10px 30px var(--shadow-medium);
}

.block-content h2 {
 font-size: 2.2em;
 margin-bottom: 20px;
}

.block-content p {
 margin-bottom: 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: var(--white-color);
 padding: 35px;
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px var(--shadow-light);
 text-align: center;
 border: 1px solid var(--border-color);
}

.testimonial-avatar {
 width: 90px;
 height: 90px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 20px;
 border: 3px solid var(--secondary-color);
}

.testimonial-text {
 font-style: italic;
 font-size: 1.1em;
 margin-bottom: 15px;
 color: var(--text-color);
}

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

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

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

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

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

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

.blog-card p {
 padding: 0 25px 15px;
 color: var(--text-color-light);
 font-size: 0.95em;
}

.blog-card .read-more {
 display: block;
 padding: 10px 25px 20px;
 text-align: right;
 font-weight: bold;
 color: var(--secondary-color);
}

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

/* FAQ Preview / Accordion */
.faq-accordion-container {
 max-width: 800px;
 margin: 50px auto 0;
}

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

.accordion-header {
 background-color: var(--bg-color-light);
 color: var(--primary-color);
 padding: 18px 25px;
 width: 100%;
 text-align: left;
 border: none;
 outline: none;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 1.1em;
 font-weight: bold;
 transition: background-color var(--transition-speed) ease;
}

.accordion-header:hover {
 background-color: #e9ecef;
}

.accordion-header .icon {
 font-size: 1.5em;
 transition: transform var(--transition-speed) ease;
}

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

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

.accordion-content.active {
 max-height: 200px; /* Adjust based on content */
 padding: 15px 25px 25px;
}

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

/* CTA Section */
.cta-section {
 padding: 100px 20px;
 background-image: url('https://images.pexels.com/photos/18719092/pexels-photo-18719092.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940'); /* Placeholder, replace with actual CTA image */
 background-size: cover;
 background-position: center;
 position: relative;
}

.cta-section::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(13, 79, 139, 0.85); /* Dark overlay */
}

.cta-section h2, .cta-section p {
 position: relative;
 z-index: 2;
 color: var(--white-color);
 margin-bottom: 25px;
}

.cta-section h2 {
 font-size: 2.8em;
}

.cta-section p {
 font-size: 1.2em;
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
}

/* Footer */
.main-footer {
 background-color: var(--bg-color-dark);
 color: rgba(255, 255, 255, 0.7);
 padding: 60px 0 20px;
 font-size: 0.95em;
}

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

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

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

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

.footer-col ul li a {
 color: rgba(255, 255, 255, 0.7);
}

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

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

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

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

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

.social-links a {
 display: inline-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 var(--transition-speed) ease;
}

.social-links a:hover {
 background-color: var(--secondary-color);
}

.social-links img {
 width: 20px;
 height: 20px;
 vertical-align: middle;
}

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

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

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

/* Utility classes */
.mt-3 {
 margin-top: 1rem;
}
.mt-4 {
 margin-top: 1.5rem;
}
.mb-4 {
 margin-bottom: 1.5rem;
}
.mb-5 {
 margin-bottom: 3rem;
}

/* Specific page styles */
/* About Page */
.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: var(--border-radius);
 box-shadow: 0 5px 20px var(--shadow-light);
 text-align: center;
 border: 1px solid var(--border-color);
}

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

.team-member-card h3 {
 font-size: 1.5em;
 margin-bottom: 5px;
}

.team-member-card p {
 color: var(--primary-color);
 font-weight: bold;
 margin-bottom: 10px;
}

/* Services Page - process section */
.process-steps {
 display: flex;
 justify-content: space-between;
 flex-wrap: wrap;
 gap: 30px;
 margin-top: 50px;
}

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

.process-step .step-number {
 background-color: var(--secondary-color);
 color: var(--white-color);
 width: 50px;
 height: 50px;
 border-radius: 50%;
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 1.5em;
 font-weight: bold;
 position: absolute;
 top: 0;
 left: 50%;
 transform: translateX(-50%);
 box-shadow: 0 5px 15px var(--shadow-medium);
}

.process-step h4 {
 margin-top: 20px;
 color: var(--primary-color);
}

.process-step p {
 color: var(--text-color-light);
}

/* Blog Posts */
.blog-post-header {
 background-color: var(--primary-color);
 color: var(--white-color);
 padding: 60px 20px;
 margin-bottom: 40px;
 text-align: center;
}

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

.blog-post-meta {
 font-size: 1em;
 color: rgba(255, 255, 255, 0.8);
}

.blog-post-content {
 max-width: 800px;
 margin: 0 auto 50px;
 padding: 0 20px;
}

.blog-post-content img {
 max-width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 margin: 25px 0;
 display: block;
 box-shadow: 0 5px 15px var(--shadow-light);
}

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

.blog-post-content p {
 font-size: 1.1em;
 line-height: 1.8;
 margin-bottom: 1.5em;
 color: var(--text-color);
}

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

.blog-post-content li {
 margin-bottom: 0.8em;
}

.author-info {
 display: flex;
 align-items: center;
 padding: 25px;
 background-color: var(--bg-color-light);
 border-radius: var(--border-radius);
 margin-top: 40px;
 border: 1px solid var(--border-color);
}

.author-info img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 margin-right: 20px;
 border: 2px solid var(--secondary-color);
}

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

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

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

.related-posts h3 {
 text-align: center;
 margin-bottom: 30px;
}

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

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

.contact-form h3 {
 margin-bottom: 25px;
 color: var(--primary-color);
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
 border-color: var(--secondary-color);
 outline: none;
 box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
}

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

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

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

.contact-info-block p {
 margin-bottom: 15px;
 display: flex;
 align-items: center;
 color: var(--text-color-light);
}

.contact-info-block p strong {
 color: var(--primary-color);
 margin-right: 10px;
 min-width: 80px; /* Align content */
}

.contact-info-block iframe {
 width: 100%;
 height: 300px;
 border: none;
 border-radius: var(--border-radius);
 margin-top: 30px;
 box-shadow: 0 5px 15px var(--shadow-light);
}

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

.gallery-item {
 overflow: hidden;
 border-radius: var(--border-radius);
 box-shadow: 0 3px 10px var(--shadow-light);
 cursor: pointer;
 position: relative;
 transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.gallery-item:hover {
 transform: translateY(-3px);
 box-shadow: 0 5px 15px var(--shadow-medium);
}

.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;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(13, 79, 139, 0.6);
 display: flex;
 justify-content: center;
 align-items: center;
 opacity: 0;
 transition: opacity var(--transition-speed) ease;
}

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

.gallery-item-overlay span {
 color: var(--white-color);
 font-size: 2em;
 opacity: 0.9;
}

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

.lightbox-content {
 margin: auto;
 display: block;
 width: 80%;
 max-width: 900px;
 border-radius: var(--border-radius);
}

.lightbox-content, .lightbox-caption {
 animation-name: zoom;
 animation-duration: 0.6s;
}

@keyframes zoom {
 from {transform: scale(0.1)}
 to {transform: scale(1)}
}

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

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

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

/* Thank You Page */
.thank-you-message {
 text-align: center;
 padding: 100px 20px;
 max-width: 800px;
 margin: 50px auto;
 background-color: var(--bg-color-light);
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px var(--shadow-light);
 border: 1px solid var(--border-color);
}

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

.thank-you-message p {
 font-size: 1.1em;
 margin-bottom: 30px;
 color: var(--text-color);
}

/* 404 Page */
.error-page {
 text-align: center;
 padding: 100px 20px;
 max-width: 800px;
 margin: 50px auto;
 background-color: var(--bg-color-light);
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px var(--shadow-light);
 border: 1px solid var(--border-color);
}

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

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

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

/* Media Queries */
@media (max-width: 1024px) {
 .nav-links {
 gap: 20px;
 }

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

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

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

 .nav-links {
 display: none;
 flex-direction: column;
 width: 100%;
 position: absolute;
 top: 70px; /* Adjust based on header height */
 left: 0;
 background-color: var(--primary-color);
 box-shadow: 0 10px 20px var(--shadow-medium);
 padding: 20px 0;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 }

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

 .nav-links li {
 width: 100%;
 text-align: center;
 }

 .nav-links a {
 display: block;
 padding: 10px 20px;
 color: var(--white-color);
 }

 .nav-links a:hover,
 .nav-links a.active {
 background-color: var(--secondary-color);
 }
 .nav-links a::after {
 display: none; /* Hide underline on mobile menu */
 }

 .nav-toggle {
 display: flex;
 }

 .hero-section {
 padding: 60px 20px;
 }

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

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

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

 .hero-buttons .btn {
 margin: 0;
 }

 .block-layout {
 flex-direction: column;
 gap: 30px;
 text-align: center;
 }

 .block-layout:nth-child(even) .block-image {
 order: unset; /* Reset order for small screens */
 }

 .block-content {
 min-width: unset;
 width: 100%;
 }

 .features-grid,
 .testimonials-grid,
 .blog-grid {
 grid-template-columns: 1fr;
 }

 .process-steps {
 flex-direction: column;
 gap: 60px; /* More space for stacked items */
 }

 .process-step {
 padding-top: 0;
 padding-bottom: 60px;
 }

 .process-step .step-number {
 top: auto;
 bottom: 0;
 }

 .contact-grid {
 grid-template-columns: 1fr;
 }

 .cta-section h2 {
 font-size: 2.2em;
 }

 .cta-section p {
 font-size: 1em;
 }

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

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

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

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

 section {
 padding: 50px 0;
 }

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

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

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

 .btn {
 padding: 10px 20px;
 font-size: 0.9em;
 }

 .testimonial-card,
 .blog-card,
 .feature-card,
 .team-member-card,
 .contact-form,
 .contact-info-block,
 .thank-you-message,
 .error-page {
 padding: 25px;
 }

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

 .blog-post-content p {
 font-size: 1em;
 }

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