body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background: var(--secondary-bg);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    letter-spacing: 0.01em;
}

header {
    background: var(--primary-bg);
    padding: 1.2em 0;
    color: var(--primary-fg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

header .logo {
    height: var(--logo-height);
    vertical-align: middle;
}

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

nav {
    position: relative;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 1em;
}

.menu-toggle .bar {
    height: 4px;
    width: 28px;
    background: var(--primary-fg);
    margin: 4px 0;
    border-radius: 2px;
    display: block;
    transition: all 0.2s;
}

/* Desktop nav */
.nav-links {
    display: flex;
    gap: 2em;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Standard nav for desktop */
nav a {
    color: var(--primary-fg);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5em 0.8em;
    border-radius: var(--border-radius-input);
    transition: all 0.2s ease;
}

nav a:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero {
    background: linear-gradient(135deg, var(--primary-bg) 75%, var(--accent) 100%);
    color: var(--primary-fg);
    padding: 4em 0 2.5em 0;
    text-align: center;
    margin-top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.hero-content .tagline {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.cta-button {
    background: var(--accent);
    color: var(--primary-bg);
    border: none;
    padding: 0.9em 1.8em;
    border-radius: var(--border-radius-btn);
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: inline-block;
}

.cta-button:hover,
.cta-button.secondary:hover {
    background: var(--cta-hover);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

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

section {
    margin: 3em 0;
}

.service-block {
    background: var(--primary-fg);
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow);
    padding: 2em;
    margin-bottom: 2em;
    border-top: 3px solid var(--accent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-block h3 {
    margin-top: 0;
}

blockquote {
    margin: 1.5em 0 0.5em 0;
    font-style: italic;
    color: var(--primary-bg);
    border-left: 4px solid var(--accent);
    padding: 0.8em 1em;
    background-color: rgba(255, 184, 28, 0.05);
    border-radius: 0 var(--border-radius-input) var(--border-radius-input) 0;
}

footer {
    background: var(--primary-bg);
    color: var(--primary-fg);
    text-align: center;
    padding: 2em 0 1.5em 0;
    margin-top: 3em;
    font-size: 0.95em;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

/* Responsive Hamburger Styles */
@media (max-width: 700px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content .tagline {
        font-size: 1.2em;
    }

    .service-block {
        padding: 1em;
    }

    .nav-container {
        flex-direction: row;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        flex-direction: column;
        background: var(--primary-bg);
        width: 200px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        border-radius: 0 0 12px 12px;
        padding: 0.8em 0;
        z-index: 99;
        border-top: 2px solid var(--accent);
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        padding: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5em;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.contact-form {
    background: var(--primary-fg);
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow);
    padding: 2.2em 2.2em 1.8em 2.2em;
    margin-bottom: 2em;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-top: 3px solid var(--accent);
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
    margin-top: 20px;
    letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea {
    background-color: var(--input-bg);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-input);
    width: 100%;
    padding: 12px 14px;
    font-size: 1em;
    margin-bottom: 14px;
    margin-top: 4px;
    box-sizing: border-box;
    color: #222;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--focus);
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.12);
    background-color: var(--primary-fg);
}

.contact-form textarea {
    min-height: 120px;
    max-height: 350px;
    font-family: inherit;
}

@media (max-width: 600px) {
    .contact-form {
        padding: 1em 0.6em;
    }

    .contact-form button,
    .contact-form input,
    .contact-form textarea {
        font-size: 0.99em;
    }
}

.footer_links {
    color: var(--secondary-bg);
}
/* Accessibility improvements */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 1em;
    background: var(--accent);
    color: var(--primary-bg);
    padding: 0.5em 1em;
    z-index: 999;
    font-weight: bold;
    text-decoration: none;
    border-radius: var(--border-radius-btn);
}

.skip-to-content:focus {
    left: 1em;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    header nav, 
    footer, 
    .cta-button, 
    #cookie-banner {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .hero {
        background: white;
        color: black;
        padding: 1em 0;
    }
}
/* SEO-friendly heading styles */
h1, h2, h3 {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.2em;
  color: var(--primary-fg);
}

h2 {
  font-size: 1.8em;
  color: var(--primary-bg);
}

h3 {
  font-size: 1.4em;
  color: var(--text-main);
}

/* Improve link accessibility */
a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Add structured markup for SEO */
.service-block {
  margin-bottom: 2em;
}

/* Breadcrumbs for SEO */
.breadcrumbs {
  margin: 1em 0;
  font-size: 0.9em;
  color: #546e7a;
}

.breadcrumbs a {
  color: var(--primary-bg);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 0.5em;
}
/* Professional yet approachable styling */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 600;
}

p {
    margin-bottom: 1.2em;
}

/* Enhance links */
a {
    color: var(--primary-bg);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Subtle section dividers */
section:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1em;
}

/* Enhance list styling */
ul:not(.nav-links) {
    padding-left: 1.2em;
}

ul:not(.nav-links) li {
    margin-bottom: 0.5em;
    position: relative;
}

/* Enhance trust indicators */
.trust {
    margin-top: 1em;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Subtle animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-block {
    animation: fadeUp 0.5s ease-out forwards;
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
    opacity: 0;
}
/* Mobile nav link improvements */
@media (max-width: 700px) {
    nav a {
        display: block;
        padding: 0.8em 1.2em;
        border-radius: 0;
    }
    
    nav a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 1.5em;
    }
    
    .nav-links li:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}