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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 26px;
    line-height: 1.618;
    color: #333333;
    background-color: #ffffff;
}

.layout-wrapper {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.content-table {
    display: table;
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    table-layout: auto;
}

.table-row {
    display: table-row;
}

.table-cell {
    display: table-cell;
    vertical-align: top;
    padding: 26px;
}

.table-cell-middle {
    vertical-align: middle;
}

.header-block {
    background-color: #ffffff;
    border-bottom: 3px solid #45CC33;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: table;
    width: 100%;
}

.header-container {
    display: table;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    table-layout: fixed;
}

.header-cell-logo {
    display: table-cell;
    vertical-align: middle;
    width: 35%;
    padding: 10px;
}

.header-cell-nav {
    display: table-cell;
    vertical-align: middle;
    width: 65%;
    text-align: right;
    padding: 10px;
}

.site-logo {
    font-size: 42px;
    font-weight: 700;
    color: #45CC33;
    text-decoration: none;
    display: inline-block;
    line-height: 1.2;
}

.site-logo:hover {
    color: #3442B2;
}

.main-nav {
    display: inline-block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.main-nav.visible {
    opacity: 1;
    visibility: visible;
}

.nav-list {
    list-style: none;
    display: table;
    table-layout: auto;
}

.nav-item {
    display: table-cell;
    vertical-align: middle;
    padding: 0 16px;
}

.nav-link {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    display: inline-block;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #45CC33;
    border-bottom-color: #45CC33;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid #45CC33;
    padding: 10px 16px;
    font-size: 16px;
    color: #45CC33;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-toggle:hover {
    background-color: #45CC33;
    color: #ffffff;
}

.masthead {
    background: linear-gradient(135deg, #45CC33 0%, #3442B2 100%);
    color: #ffffff;
    padding: 68px 0;
    display: table;
    width: 100%;
    min-height: 500px;
}

.masthead-container {
    display: table;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    table-layout: fixed;
}

.masthead-cell-text {
    display: table-cell;
    vertical-align: middle;
    width: 35%;
    padding: 26px;
}

.masthead-cell-image {
    display: table-cell;
    vertical-align: middle;
    width: 35%;
    padding: 26px;
    text-align: center;
}

.masthead-cell-form {
    display: table-cell;
    vertical-align: middle;
    width: 30%;
    padding: 26px;
}

.masthead h1 {
    font-size: 68px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 26px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.masthead p {
    font-size: 26px;
    margin-bottom: 42px;
    line-height: 1.618;
}

.masthead-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.contact-form {
    background-color: rgba(255,255,255,0.95);
    padding: 26px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.contact-form h3 {
    color: #3442B2;
    font-size: 26px;
    margin-bottom: 16px;
}

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

.form-label {
    display: block;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid #f0f0f0;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #45CC33;
}

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

.submit-form {
    background-color: #D1616E;
    color: #ffffff;
    border: none;
    padding: 16px 42px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.submit-form:hover {
    background-color: #b54956;
    transform: translateY(-2px);
}

.submit-form:active {
    transform: translateY(0);
}

.article-section {
    padding: 68px 0;
    display: table;
    width: 100%;
}

.article-section:nth-child(even) {
    background-color: #f0f0f0;
}

.section-container {
    display: table;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    table-layout: fixed;
}

.section-cell-text {
    display: table-cell;
    vertical-align: middle;
    width: 60%;
    padding: 26px;
}

.section-cell-image {
    display: table-cell;
    vertical-align: middle;
    width: 40%;
    padding: 26px;
}

.section-heading {
    font-size: 42px;
    font-weight: 700;
    color: #3442B2;
    margin-bottom: 26px;
    line-height: 1.2;
}

.section-text {
    font-size: 16px;
    line-height: 1.618;
    color: #333333;
    margin-bottom: 16px;
}

.section-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.content-block {
    padding: 42px 0;
    display: table;
    width: 100%;
}

.content-block-full {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 26px;
}

.content-block h2 {
    font-size: 42px;
    font-weight: 700;
    color: #3442B2;
    margin-bottom: 26px;
    text-align: center;
}

.content-block h3 {
    font-size: 26px;
    font-weight: 600;
    color: #45CC33;
    margin-bottom: 16px;
}

.content-block p {
    font-size: 16px;
    line-height: 1.618;
    margin-bottom: 16px;
    color: #333333;
}

.content-table-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 26px;
}

.grid-row {
    display: table-row;
}

.grid-cell {
    display: table-cell;
    vertical-align: top;
    width: 33.333%;
}

.grid-cell-half {
    width: 50%;
}

.grid-cell-full {
    width: 100%;
}

.information-box {
    background-color: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 26px;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.information-box:hover {
    border-color: #45CC33;
    box-shadow: 0 4px 12px rgba(69, 204, 51, 0.15);
}

.information-box h3 {
    font-size: 26px;
    font-weight: 600;
    color: #3442B2;
    margin-bottom: 16px;
}

.information-box p {
    font-size: 16px;
    line-height: 1.618;
    color: #333333;
}

.information-box img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 16px;
}

.feature-panel {
    background: linear-gradient(135deg, #45CC33 0%, #3442B2 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 42px;
    text-align: center;
    margin-bottom: 26px;
}

.feature-panel h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.feature-panel p {
    font-size: 16px;
    line-height: 1.618;
    color: #ffffff;
    margin-bottom: 26px;
}

.contact-button {
    background-color: #D1616E;
    color: #ffffff;
    border: none;
    padding: 16px 42px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.contact-button:hover {
    background-color: #b54956;
    transform: translateY(-2px);
}

.action-link {
    color: #45CC33;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #45CC33;
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.action-link:hover {
    color: #3442B2;
    border-bottom-color: #3442B2;
}

.testimonial-section {
    background-color: #f0f0f0;
    padding: 68px 0;
}

.testimonial-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-box {
    background-color: #ffffff;
    border-left: 4px solid #45CC33;
    padding: 42px;
    border-radius: 8px;
    margin-bottom: 26px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    line-height: 1.618;
    color: #333333;
    margin-bottom: 16px;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 600;
    color: #3442B2;
}

.footer-block {
    background-color: #333333;
    color: #ffffff;
    padding: 42px 0 26px;
    display: table;
    width: 100%;
}

.footer-container {
    display: table;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    table-layout: fixed;
}

.footer-cell {
    display: table-cell;
    vertical-align: top;
    width: 33.333%;
    padding: 16px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #45CC33;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

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

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #45CC33;
}

.footer-text {
    font-size: 16px;
    line-height: 1.618;
    color: #f0f0f0;
}

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

.copyright {
    font-size: 16px;
    color: #f0f0f0;
}

.gallery-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 16px;
}

.gallery-row {
    display: table-row;
}

.gallery-cell {
    display: table-cell;
    vertical-align: top;
    width: 25%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.blog-post {
    background-color: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 26px;
    margin-bottom: 26px;
    transition: border-color 0.2s ease;
}

.blog-post:hover {
    border-color: #45CC33;
}

.blog-title {
    font-size: 26px;
    font-weight: 700;
    color: #3442B2;
    margin-bottom: 10px;
}

.blog-title a {
    color: #3442B2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-title a:hover {
    color: #45CC33;
}

.blog-meta {
    font-size: 16px;
    color: #666666;
    margin-bottom: 16px;
}

.blog-excerpt {
    font-size: 16px;
    line-height: 1.618;
    color: #333333;
    margin-bottom: 16px;
}

.read-more {
    color: #45CC33;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #3442B2;
}

.accordion-item {
    background-color: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-header {
    background-color: #f0f0f0;
    padding: 16px 26px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #3442B2;
    transition: background-color 0.2s ease;
    display: table;
    width: 100%;
}

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

.accordion-header.active {
    background-color: #45CC33;
    color: #ffffff;
}

.accordion-content {
    padding: 0 26px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    padding: 26px;
    max-height: 500px;
}

.accordion-text {
    font-size: 16px;
    line-height: 1.618;
    color: #333333;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-item {
    padding: 10px 0 10px 42px;
    position: relative;
    font-size: 16px;
    line-height: 1.618;
    color: #333333;
}

.service-item:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #45CC33;
    font-weight: 700;
    font-size: 26px;
}

.cta-section {
    background: linear-gradient(135deg, #3442B2 0%, #45CC33 100%);
    color: #ffffff;
    padding: 68px 0;
    text-align: center;
}

.cta-heading {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-text {
    font-size: 16px;
    line-height: 1.618;
    margin-bottom: 42px;
    color: #ffffff;
}

.breadcrumb {
    padding: 16px 0;
    font-size: 16px;
}

.breadcrumb-list {
    list-style: none;
    display: table;
    table-layout: auto;
}

.breadcrumb-item {
    display: table-cell;
    vertical-align: middle;
    padding-right: 10px;
}

.breadcrumb-item:after {
    content: "/";
    padding-left: 10px;
    color: #666666;
}

.breadcrumb-item:last-child:after {
    content: "";
}

.breadcrumb-link {
    color: #45CC33;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #3442B2;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 26px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.badge {
    display: inline-block;
    padding: 10px 16px;
    background-color: #45CC33;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 16px;
}

.badge-secondary {
    background-color: #3442B2;
}

.badge-accent {
    background-color: #D1616E;
}

@media screen and (max-width: 1050px) {
    .masthead-container,
    .section-container {
        display: block;
    }

    .masthead-cell-text,
    .masthead-cell-image,
    .masthead-cell-form,
    .section-cell-text,
    .section-cell-image {
        display: block;
        width: 100%;
        padding: 16px;
    }

    .masthead h1 {
        font-size: 42px;
    }

    .section-heading {
        font-size: 26px;
    }

    .grid-cell {
        width: 50%;
    }
}

@media screen and (max-width: 850px) {
    body {
        font-size: 16px;
    }

    .header-container {
        display: block;
        position: relative;
    }

    .header-cell-logo,
    .header-cell-nav {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .mobile-menu-toggle {
        display: block;
        margin: 0 auto;
    }

    .main-nav {
        display: none;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .main-nav.visible {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        display: block;
    }

    .nav-item {
        display: block;
        width: 100%;
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link {
        display: block;
        padding: 16px 26px;
        text-align: center;
    }

    .content-table-grid {
        display: block;
    }

    .grid-row {
        display: block;
    }

    .grid-cell,
    .grid-cell-half {
        display: block;
        width: 100%;
        margin-bottom: 26px;
    }

    .footer-container {
        display: block;
    }

    .footer-cell {
        display: block;
        width: 100%;
        margin-bottom: 26px;
    }

    .gallery-grid {
        display: block;
    }

    .gallery-row {
        display: block;
    }

    .gallery-cell {
        display: block;
        width: 100%;
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 575px) {
    .masthead {
        padding: 42px 0;
    }

    .masthead h1 {
        font-size: 26px;
    }

    .masthead p {
        font-size: 16px;
    }

    .section-heading,
    .content-block h2 {
        font-size: 26px;
    }

    .article-section,
    .content-block {
        padding: 42px 0;
    }

    .information-box,
    .feature-panel {
        padding: 16px;
    }

    .cta-heading {
        font-size: 26px;
    }
}
