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

:root {
 --primary-color: #047857; /* 30% */
 --accent-color: #10b981; /* 10% */
 --text-color: #333333;
 --text-light-color: #f8fafc;
 --background-light: #f8fafc;
 --background-white: #ffffff;
 --background-alternate: #f0f4f8; /* Light tint of primary, not too dominant */
 --footer-bg: #012a20; /* Very dark shade of primary */
 --border-color: #e0e0e0;
 --shadow-color: rgba(0, 0, 0, 0.08);

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

 --header-height: 80px;
 --top-bar-height: 40px; /* Added for top bar */
}

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

html {
 scroll-behavior: smooth;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 margin-bottom: 0.8em;
 color: #2d3a56; /* Slightly darker than text for headings specific to serious business */
 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;
}

ul {
 list-style: none;
}

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

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

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

.section-title {
 font-size: 2.5em;
 margin-bottom: 1rem;
 text-align: center;
 color: #2d3a56;
}

.section-subtitle {
 font-size: 1.1em;
 color: #555;
 text-align: center;
 margin-bottom: 2.5rem;
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
}

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

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

/* Buttons */
.button {
 display: inline-block;
 padding: 0.9em 1.8em;
 border-radius: 5px;
 font-family: var(--font-heading);
 font-weight: 600;
 font-size: 1em;
 cursor: pointer;
 border: none;
 text-align: center;
 transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

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

.primary-button:hover {
 background-color: var(--accent-color);
 transform: translateY(-2px);
 box-shadow: 0 4px 10px var(--shadow-color);
}

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

.secondary-button:hover {
 background-color: var(--primary-color);
 color: white;
 transform: translateY(-2px);
 box-shadow: 0 4px 10px var(--shadow-color);
}

.large-button {
 padding: 1.2em 2.5em;
 font-size: 1.1em;
}

/* Header */
.top-bar {
 background-color: #2d3a56; /* Deep Blue from palette */
 color: var(--text-light-color);
 padding: 0.7em 0;
 font-size: 0.9em;
}

.top-bar a {
 color: var(--text-light-color);
}

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

.top-bar-info {
 display: flex;
 justify-content: flex-end;
 gap: 1.5rem;
}

header nav {
 background-color: var(--background-white);
 padding: 1rem 0;
 box-shadow: 0 2px 10px var(--shadow-color);
 position: sticky;
 top: 0;
 z-index: 1000;
}

header nav.scrolled {
 padding: 0.7rem 0;
}

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

.logo {
 font-family: var(--font-heading);
 font-weight: 700;
 font-size: 1.8em;
 color: #2d3a56; /* Deep Blue for logo */
 text-transform: uppercase;
}

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

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

.nav-links a {
 color: #2d3a56; /* Deep Blue for nav links */
 font-weight: 500;
 font-size: 1.05em;
 padding: 0.5em 0;
 position: relative;
}

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

.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;
 position: relative;
 z-index: 1001;
}

.nav-toggle span {
 display: block;
 width: 25px;
 height: 3px;
 background-color: #2d3a56; /* Deep Blue */
 margin: 5px 0;
 transition: all 0.3s ease;
}

/* Hero Section */
.hero {
 position: relative;
 height: 70vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 overflow: hidden;
 color: var(--text-light-color);
}

.hero::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)); /* Dark overlay */
 z-index: 1;
}

.hero .hero-image {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 z-index: 0;
}

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

.hero-title {
 font-size: 3.5em;
 margin-bottom: 0.5em;
 color: var(--text-light-color);
 font-weight: 700;
}

.hero-subtitle {
 font-size: 1.4em;
 margin-bottom: 2em;
 color: var(--text-light-color);
 font-weight: 300;
}

/* Grid Layouts */
.grid {
 display: grid;
 gap: 2rem;
}

.grid-2-cols {
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.grid-4-cols {
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

.button-container {
 margin-top: 3rem;
}

/* Card Styles */
.card {
 background-color: var(--background-white);
 border-radius: 8px;
 box-shadow: 0 4px 15px var(--shadow-color);
 overflow: hidden;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 border: 1px solid var(--border-color);
}

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

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

.card-content {
 padding: 1.5rem;
}

.card-content h3 {
 font-size: 1.3em;
 margin-bottom: 0.8em;
 color: #2d3a56;
}

.card-content p {
 font-size: 0.95em;
 color: #666;
}

.read-more {
 display: inline-block;
 margin-top: 1rem;
 font-weight: 600;
 color: var(--primary-color);
}

.read-more:hover {
 color: var(--accent-color);
}

/* Service Cards (specific) */
.service-card {
 text-align: center;
}
.service-card img {
 height: 180px;
 border-radius: 8px 8px 0 0;
}
.service-card h3 {
 margin-top: 1rem;
}

/* Testimonials */
.testimonials-grid {
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
 text-align: center;
 padding: 2rem;
 display: flex;
 flex-direction: column;
 align-items: center;
}

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

.testimonial-text {
 font-style: italic;
 font-size: 1.05em;
 margin-bottom: 1.5rem;
 line-height: 1.7;
 color: #555;
}

.testimonial-author {
 font-weight: 500;
 color: #2d3a56;
}

/* Blog previews */
.blog-card .card-content {
 padding-top: 0;
}
.blog-card h3 {
 margin-bottom: 0.5em;
}
.blog-card h3 a {
 color: #2d3a56;
}
.blog-card h3 a:hover {
 color: var(--primary-color);
}
.blog-card .post-meta {
 font-size: 0.85em;
 color: #888;
 margin-bottom: 1em;
}

/* Features/Content Sections */
.content-text ul {
 list-style: none;
 margin-top: 1.5rem;
}

.content-text ul li {
 margin-bottom: 0.8em;
 font-size: 1.1em;
 display: flex;
 align-items: flex-start;
}
.content-text ul li .icon {
 margin-right: 10px;
 color: var(--primary-color);
 font-size: 1.2em;
 line-height: 1.5;
}
.icon-check::before {
 content: ''; /* Simple checkmark, can be replaced with an SVG icon font */
 font-weight: bold;
}

.content-image {
 padding: 1rem;
}
.content-image img {
 border-radius: 8px;
 box-shadow: 0 8px 25px var(--shadow-color);
}

/* Accordion (FAQ) */
.accordion-container {
 max-width: 800px;
 margin: 0 auto 2rem auto;
}

.accordion-item {
 border: 1px solid var(--border-color);
 border-radius: 8px;
 margin-bottom: 1rem;
 overflow: hidden;
 transition: all 0.3s ease;
}
.accordion-item:last-child {
 margin-bottom: 0;
}

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

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

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

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

.accordion-content {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s cubic-bezier(0.86, 0, 0.07, 1), padding 0.4s ease;
 padding: 0 1.5rem; /* Only horizontal padding when collapsed */
}

.accordion-content.active {
 max-height: 200px; /* Adjust as needed for content */
 padding: 1rem 1.5rem 1.5rem 1.5rem; /* Full padding when active */
}

.accordion-content p {
 margin-bottom: 0;
 color: #555;
 font-size: 0.95em;
}

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

.cta-title {
 font-size: 3em;
 margin-bottom: 1rem;
}

.cta-subtitle {
 font-size: 1.3em;
 margin-bottom: 2.5rem;
 font-weight: 300;
}

/* Theming */
.theme-light {
 background-color: var(--background-light);
}

.theme-dark {
 background-color: #2d3a56; /* Deep blue from palette */
 color: var(--text-light-color);
}
.theme-dark h2, .theme-dark h3, .theme-dark .button.secondary-button {
 color: var(--text-light-color);
 border-color: var(--text-light-color);
}
.theme-dark .button.secondary-button:hover {
 background-color: var(--text-light-color);
 color: #2d3a56;
}

.theme-alternate {
 background-color: var(--background-alternate);
}

/* Footer */
footer {
 background-color: var(--footer-bg);
 color: var(--background-light);
 padding: 4rem 0 1.5rem 0;
 font-size: 0.95em;
}

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

.footer-logo {
 font-family: var(--font-heading);
 font-weight: 700;
 font-size: 1.5em;
 color: var(--text-light-color);
 margin-bottom: 1rem;
 display: block;
 text-transform: uppercase;
}

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

.footer-col p {
 color: rgba(248, 250, 252, 0.8);
 margin-bottom: 0.8em;
}

.footer-col h4 {
 font-size: 1.2em;
 color: var(--text-light-color);
 margin-bottom: 1.2rem;
 position: relative;
 padding-bottom: 0.5rem;
}

.footer-col h4::after {
 content: '';
 position: absolute;
 left: 0;
 bottom: 0;
 width: 40px;
 height: 2px;
 background-color: var(--primary-color);
}

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

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

.footer-col ul li a {
 color: rgba(248, 250, 252, 0.8);
}

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

.footer-bottom {
 text-align: center;
 border-top: 1px solid rgba(248, 250, 252, 0.2);
 padding-top: 1.5rem;
 font-size: 0.85em;
 color: rgba(248, 250, 252, 0.6);
}

/* Specific page elements */
/* About Page */
.team-member-card {
 text-align: center;
}
.team-member-card img {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1rem auto;
 border: 3px solid var(--primary-color);
}
.team-member-card h3 {
 margin-bottom: 0.4em;
}
.team-member-card p {
 color: #666;
 font-size: 0.95em;
}
.team-member-card .role {
 font-weight: 500;
 color: #2d3a56;
}
.values-list {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
 margin-top: 3rem;
}
.value-item {
 text-align: center;
 background-color: var(--background-white);
 padding: 2rem;
 border-radius: 8px;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 border-top: 3px solid var(--primary-color);
}
.value-item h3 {
 color: var(--primary-color);
 margin-top: 1rem;
 font-size: 1.4em;
}
.value-item p {
 font-size: 0.95em;
 color: #555;
}

/* Services Page */
.service-detail-item {
 display: flex;
 flex-direction: column;
 gap: 1.5rem;
 margin-bottom: 3rem;
 background-color: var(--background-white);
 padding: 2rem;
 border-radius: 8px;
 box-shadow: 0 2px 10px var(--shadow-color);
}
.service-detail-item:nth-child(even) {
 flex-direction: column; /* Stacks image/text for smaller screens */
}
.service-detail-item .content-image {
 flex: 1;
 padding: 0;
}
.service-detail-item .content-image img {
 height: 300px;
 width: 100%;
 object-fit: cover;
}
.service-detail-item .content-text {
 flex: 2;
}

/* Contact Page */
.contact-info-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
 margin-top: 2rem;
 margin-bottom: 3rem;
}
.contact-info-item {
 background-color: var(--background-white);
 padding: 2rem;
 border-radius: 8px;
 box-shadow: 0 2px 10px var(--shadow-color);
 text-align: center;
 border-top: 3px solid var(--primary-color);
}
.contact-info-item i {
 font-size: 2.5em;
 color: var(--primary-color);
 margin-bottom: 0.5rem;
}
.contact-info-item h4 {
 color: #2d3a56;
 margin-bottom: 0.5rem;
}
.contact-map {
 margin-top: 3rem;
 border-radius: 8px;
 overflow: hidden;
 box-shadow: 0 4px 15px var(--shadow-color);
}
.contact-form-section {
 background-color: var(--background-alternate);
 padding: 4rem 0;
}
.contact-form {
 max-width: 700px;
 margin: 0 auto;
 background-color: var(--background-white);
 padding: 2.5rem;
 border-radius: 8px;
 box-shadow: 0 8px 25px var(--shadow-color);
}
.form-group {
 margin-bottom: 1.5rem;
}
.form-group label {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 500;
 color: #444;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
 width: 100%;
 padding: 0.9em;
 border: 1px solid var(--border-color);
 border-radius: 5px;
 font-family: var(--font-body);
 font-size: 1em;
 color: var(--text-color);
 transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
 border-color: var(--primary-color);
 outline: none;
 box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.2); /* primary color with transparency */
}
.form-group textarea {
 resize: vertical;
 min-height: 120px;
}
.form-submit-button {
 width: 100%;
 padding: 1em;
 font-size: 1.1em;
}

/* Blog Post Page */
.blog-post-header {
 text-align: center;
 margin-bottom: 3rem;
}
.blog-post-header h1 {
 font-size: 2.8em;
 margin-bottom: 0.5em;
 color: #2d3a56;
}
.blog-post-meta {
 font-size: 0.95em;
 color: #888;
 margin-bottom: 1.5rem;
}
.blog-author-info {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 15px;
 margin-top: 1.5rem;
 background-color: var(--background-alternate);
 padding: 1.2rem;
 border-radius: 8px;
 max-width: 600px;
 margin-left: auto;
 margin-right: auto;
}
.blog-author-avatar {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 object-fit: cover;
 border: 2px solid var(--primary-color);
}
.blog-author-details p {
 margin: 0;
 font-size: 0.9em;
 color: #555;
 line-height: 1.4;
}
.blog-author-details strong {
 color: #2d3a56;
}
.blog-post-content img {
 margin: 1.5rem auto;
 border-radius: 8px;
 box-shadow: 0 4px 15px var(--shadow-color);
}
.blog-post-content h2, .blog-post-content h3 {
 margin-top: 2rem;
 margin-bottom: 0.8em;
 color: #2d3a56;
}
.blog-post-content p {
 margin-bottom: 1em;
 line-height: 1.7;
 color: #444;
}
.related-posts-section {
 margin-top: 4rem;
 border-top: 1px solid var(--border-color);
 padding-top: 3rem;
}

/* Gallery Page */
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 1rem;
}
.gallery-item {
 overflow: hidden;
 border-radius: 8px;
 box-shadow: 0 2px 10px var(--shadow-color);
 position: relative;
}
.gallery-item img {
 height: 250px;
 width: 100%;
 object-fit: cover;
 transition: transform 0.3s ease;
}
.gallery-item:hover img {
 transform: scale(1.05);
}
/* Lightbox styles (simplified, JS will handle functionality) */
.lightbox {
 display: none;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.8);
 z-index: 2000;
 justify-content: center;
 align-items: center;
}
.lightbox.active {
 display: flex;
}
.lightbox-content {
 max-width: 90%;
 max-height: 90%;
 display: flex;
 justify-content: center;
 align-items: center;
}
.lightbox-content img {
 max-width: 100%;
 max-height: 100%;
 object-fit: contain;
 border-radius: 8px;
}
.lightbox-close {
 position: absolute;
 top: 20px;
 right: 30px;
 color: white;
 font-size: 3em;
 cursor: pointer;
 background: none;
 border: none;
 z-index: 2001;
}

/* Thanks Page */
.thanks-container {
 text-align: center;
 padding: 6rem 2rem;
}
.thanks-container h1 {
 color: var(--primary-color);
 font-size: 3.5em;
 margin-bottom: 0.8em;
}
.thanks-container p {
 font-size: 1.3em;
 color: #555;
 margin-bottom: 2rem;
}

/* 404 Page */
.error-container {
 text-align: center;
 padding: 6rem 2rem;
}
.error-container h1 {
 font-size: 6em;
 color: var(--primary-color);
 margin-bottom: 0.5em;
}
.error-container h2 {
 font-size: 2.5em;
 color: #2d3a56;
 margin-bottom: 1em;
}
.error-container p {
 font-size: 1.2em;
 color: #666;
 margin-bottom: 2rem;
}

/* Legal Pages */
.legal-content h1 {
 text-align: center;
 margin-bottom: 2rem;
}
.legal-content h2 {
 margin-top: 2.5rem;
 margin-bottom: 1rem;
 color: #2d3a56;
}
.legal-content h3 {
 margin-top: 1.5rem;
 margin-bottom: 0.8rem;
 color: #444;
}
.legal-content ul {
 list-style: disc;
 margin-left: 20px;
 margin-bottom: 1em;
}
.legal-content ol {
 list-style: decimal;
 margin-left: 20px;
 margin-bottom: 1em;
}
.legal-content li {
 margin-bottom: 0.5em;
}
.legal-content p, .legal-content li {
 line-height: 1.7;
 color: #444;
}

/* Utility Classes */
.hidden {
 display: none;
}

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

 .nav-links {
 gap: 1.5rem;
 }
 .hero-title {
 font-size: 3em;
 }
 .cta-title {
 font-size: 2.5em;
 }
}

@media (max-width: 768px) {
 .top-bar {
 display: none; /* Hide top bar on smaller screens */
 }
 header nav {
 padding: 0.8rem 0;
 }

 .nav-toggle {
 display: block;
 }

 .nav-links {
 display: flex;
 flex-direction: column;
 position: fixed;
 top: 0; /* Adjusted for no top-bar */
 left: -100%;
 width: 70%;
 height: 100%;
 background-color: #2d3a56; /* Deep Blue, matching top bar in desktop */
 padding-top: 4rem; /* Space for logo in mobile menu */
 box-shadow: 2px 0 10px var(--shadow-color);
 transition: left 0.3s ease;
 z-index: 999;
 }

 .nav-links.active {
 left: 0;
 }

 .nav-links li {
 width: 100%;
 text-align: center;
 padding: 1rem 0;
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 }
 .nav-links li:last-child {
 border-bottom: none;
 }

 .nav-links a {
 color: var(--text-light-color);
 font-size: 1.2em;
 width: 100%;
 display: block;
 padding: 0; /* Reset internal link padding */
 }
 .nav-links a::after {
 background-color: var(--accent-color);
 left: 50%;
 transform: translateX(-50%);
 }

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

 .hero {
 height: 80vh;
 }
 .hero-title {
 font-size: 2.8em;
 }
 .hero-subtitle {
 font-size: 1.2em;
 }

 .section-padded {
 padding: 3rem 0;
 }

 .section-title {
 font-size: 2em;
 }
 .section-subtitle {
 font-size: 1em;
 }

 .grid-2-cols, .grid-3-cols, .grid-4-cols {
 grid-template-columns: 1fr;
 }
 .content-text, .content-image {
 padding: 0;
 }
 .theme-dark .grid-2-cols {
 flex-direction: column;
 }
 .service-detail-item:nth-child(even) {
 flex-direction: column;
 }
 .service-detail-item .content-image {
 order: -1; /* Image appears first on mobile for all service items */
 }

 .cta-title {
 font-size: 2em;
 }
 .cta-subtitle {
 font-size: 1.1em;
 }

 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-col h4::after {
 left: 50%;
 transform: translateX(-50%);
 }
 .footer-col ul li a:hover {
 transform: translateX(0);
 }
}

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

 .hero-title {
 font-size: 2.2em;
 }
 .hero-subtitle {
 font-size: 1em;
 }
 .button {
 padding: 0.7em 1.4em;
 font-size: 0.9em;
 }
 .large-button {
 padding: 1em 2em;
 font-size: 1em;
 }

 .accordion-header {
 font-size: 1em;
 padding: 1rem 1rem;
 }
 .accordion-content {
 padding: 0 1rem;
 }
 .accordion-content.active {
 padding: 1rem 1rem 1.2rem 1rem;
 }

 .cta-title {
 font-size: 1.8em;
 }
 .cta-subtitle {
 font-size: 1em;
 }

 .error-container h1 {
 font-size: 4em;
 }
 .error-container h2 {
 font-size: 1.8em;
 }
 .error-container p {
 font-size: 1em;
 }
}