* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal: #2d2d2d;
    --oak-brown: #8b6f47;
    --warm-ivory: #f5f1e8;
    --accent-gold: #c9a961;
    --text-dark: #1a1a1a;
    --text-light: #666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--warm-ivory);
    transition: font-size 0.3s ease;
}

body.font-large {
    font-size: 18px;
}

body.font-larger {
    font-size: 20px;
}

.accessibility-panel {
    background-color: var(--charcoal);
    padding: 0.5rem 0;
    text-align: center;
}

.font-control {
    background-color: var(--oak-brown);
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.font-control:hover {
    background-color: var(--accent-gold);
}

.main-header {
    background-color: var(--charcoal);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--warm-ivory);
    letter-spacing: 1px;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.primary-nav a {
    color: var(--warm-ivory);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
    position: relative;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
    width: 100%;
}

.primary-nav a:hover,
.primary-nav a.active {
    color: var(--accent-gold);
}

.hero-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--oak-brown);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-heading {
    font-size: 2.8rem;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--oak-brown);
    margin: 1rem auto 0;
}

.services-overview {
    padding: 5rem 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--warm-ivory);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 3rem;
    color: var(--oak-brown);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.process-section {
    padding: 5rem 0;
    background-color: var(--warm-ivory);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-item {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--oak-brown);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-item h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.pricing-section {
    padding: 5rem 0;
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price-card {
    background-color: var(--warm-ivory);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.price-card.featured {
    border-color: var(--oak-brown);
    transform: scale(1.05);
}

.price-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.price-card h3 {
    font-size: 1.8rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.price-range {
    font-size: 2.2rem;
    color: var(--oak-brown);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.price-features {
    list-style: none;
    text-align: left;
}

.price-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #ddd;
    color: var(--text-light);
}

.price-features li:last-child {
    border-bottom: none;
}

.testimonials-section {
    padding: 5rem 0;
    background-color: var(--charcoal);
}

.testimonials-section .section-heading {
    color: var(--warm-ivory);
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-box {
    background-color: rgba(245, 241, 232, 0.1);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--oak-brown);
}

.testimonial-text {
    color: var(--warm-ivory);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--accent-gold);
    font-weight: 600;
}

.faq-section {
    padding: 5rem 0;
    background-color: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: var(--warm-ivory);
    border-radius: 6px;
}

.faq-question {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 0.8rem;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.8;
}

.poll-section {
    padding: 5rem 0;
    background-color: var(--warm-ivory);
}

.poll-box {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.poll-question {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
    text-align: center;
}

.poll-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.poll-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--warm-ivory);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.poll-option:hover {
    background-color: #ede9de;
}

.poll-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.poll-button {
    background-color: var(--oak-brown);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.poll-button:hover {
    background-color: var(--accent-gold);
}

.poll-results {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--warm-ivory);
    border-radius: 5px;
    display: none;
}

.poll-results.show {
    display: block;
}

.site-footer {
    background-color: var(--charcoal);
    color: var(--warm-ivory);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-column p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-column i {
    color: var(--oak-brown);
    margin-right: 0.5rem;
}

.footer-legal {
    list-style: none;
}

.footer-legal li {
    margin-bottom: 0.7rem;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--accent-gold);
}

.registration-info {
    font-size: 0.9rem;
    color: #999;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(45, 45, 45, 0.98);
    padding: 1.5rem;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
    z-index: 2000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    color: var(--warm-ivory);
}

.cookie-content h3 {
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
}

.cookie-content p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-btn.accept {
    background-color: var(--oak-brown);
    color: white;
}

.cookie-btn.accept:hover {
    background-color: var(--accent-gold);
}

.cookie-btn.reject {
    background-color: #666;
    color: white;
}

.cookie-btn.reject:hover {
    background-color: #777;
}

.cookie-btn.customize {
    background-color: transparent;
    color: var(--warm-ivory);
    border: 1px solid var(--warm-ivory);
}

.cookie-btn.customize:hover {
    background-color: rgba(245, 241, 232, 0.1);
}

.cookie-link {
    color: var(--accent-gold);
    text-decoration: underline;
}

.page-banner {
    background: linear-gradient(rgba(45, 45, 45, 0.7), rgba(45, 45, 45, 0.7)), url("../images/1.jpg");
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.banner-overlay h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.banner-subtitle {
    font-size: 1.4rem;
    color: var(--warm-ivory);
}

.blog-listing {
    padding: 5rem 0;
    background-color: white;
}

.blog-posts-grid {
    display: grid;
    gap: 3rem;
}

.blog-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    background-color: var(--warm-ivory);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.blog-category {
    background-color: var(--oak-brown);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.blog-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-content h2 a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-content h2 a:hover {
    color: var(--oak-brown);
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--oak-brown);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--accent-gold);
}

.company-story {
    padding: 5rem 0;
    background-color: white;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 5rem 0;
    background-color: var(--warm-ivory);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.team-member {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid var(--oak-brown);
}

.team-member h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--oak-brown);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-light);
    line-height: 1.7;
}

.values-section {
    padding: 5rem 0;
    background-color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    font-size: 3rem;
    color: var(--oak-brown);
    margin-bottom: 1.5rem;
}

.value-item h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-section {
    padding: 5rem 0;
    background-color: white;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-block h2 {
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.8rem;
    color: var(--oak-brown);
    margin-top: 0.3rem;
}

.info-item h3 {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.info-item a {
    color: var(--oak-brown);
    text-decoration: none;
}

.contact-form-block h2 {
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--oak-brown);
}

.submit-btn {
    background-color: var(--oak-brown);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--accent-gold);
}

.map-section {
    padding: 5rem 0;
    background-color: var(--warm-ivory);
}

.map-placeholder {
    background-color: white;
    padding: 4rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.map-placeholder p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--oak-brown);
    display: block;
    margin-bottom: 1rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--charcoal);
}

.modal-icon {
    font-size: 4rem;
    color: var(--oak-brown);
    margin-bottom: 1.5rem;
}

.modal-content h2 {
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.post-article {
    padding: 3rem 0;
    background-color: white;
}

.post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.post-header {
    margin-bottom: 3rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.post-header h1 {
    font-size: 3rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.post-featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.post-content h2 {
    font-size: 2rem;
    color: var(--charcoal);
    margin: 2.5rem 0 1.5rem;
}

.post-content h3 {
    font-size: 1.6rem;
    color: var(--charcoal);
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--warm-ivory);
}

.back-to-blog {
    color: var(--oak-brown);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.back-to-blog:hover {
    color: var(--accent-gold);
}

@media (max-width: 1024px) {
    .hero-area,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .post-header h1 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

h1, h2, h3, h4, h5, h6 {word-break: break-word;}
