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

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

body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
    line-height: 1.6;
    color: #333333;
    background: #ffffff;
}

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

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

.navbar {
    background: #B81939;
    padding: 16px 0;
    position: relative;
    width: 100%;
    display: table;
}

.nav-container {
    display: table;
    width: 100%;
}

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

.logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 64px;
    font-weight: bold;
}

.main-nav {
    display: table-cell;
    vertical-align: middle;
    width: 70%;
    text-align: right;
    padding-right: 26px;
    max-height: none;
    overflow: visible;
    transition: max-height 0.3s ease;
}

.nav-list {
    display: inline-block;
    list-style: none;
}

.nav-item {
    display: inline-block;
    margin-left: 26px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 32px;
    padding: 10px 16px;
    display: block;
    transition: background 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 64px;
    color: #ffffff;
    cursor: pointer;
    position: absolute;
    right: 26px;
    top: 16px;
}

.header-main {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: table;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-overlay {
    position: absolute;
    top: 68px;
    left: 68px;
    background: rgba(41, 77, 219, 0.9);
    padding: 42px;
    max-width: 600px;
    z-index: 10;
}

.hero-text-overlay h1 {
    font-size: 128px;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 26px;
}

.hero-text-overlay p {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 42px;
}

.primary-cta {
    display: inline-block;
    background: #359D1B;
    color: #ffffff;
    padding: 16px 42px;
    text-decoration: none;
    font-size: 32px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.primary-cta:hover {
    background: #2a7d16;
}

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

.section-header {
    text-align: center;
    margin-bottom: 68px;
}

.section-header h2 {
    font-size: 64px;
    color: #B81939;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 32px;
    color: #666666;
}

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

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

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

.grid-cell-featured {
    display: table-cell;
    width: 100%;
    padding: 16px;
    vertical-align: top;
}

.info-card {
    background: #f0f0f0;
    padding: 26px;
    height: 100%;
    transition: transform 0.2s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 64px;
    color: #B81939;
    margin-bottom: 16px;
}

.info-card p {
    font-size: 32px;
    color: #333333;
    line-height: 1.5;
}

.text-image-split {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.text-column-70 {
    display: table-cell;
    width: 70%;
    padding-right: 42px;
    vertical-align: middle;
}

.image-column-30 {
    display: table-cell;
    width: 30%;
    vertical-align: middle;
}

.image-column-30 img {
    width: 100%;
    height: auto;
    display: block;
}

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

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

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

.testimonial-card {
    background: #ffffff;
    padding: 26px;
    height: 100%;
}

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

.testimonial-author {
    font-size: 32px;
    color: #B81939;
    font-weight: bold;
}

.contact-form {
    display: table;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

.form-cell {
    display: table-cell;
    padding: 10px 0;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    font-size: 32px;
    border: 2px solid #cccccc;
    font-family: Georgia, 'Times New Roman', serif;
}

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

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

.submit-btn {
    background: #B81939;
    color: #ffffff;
    padding: 16px 42px;
    border: none;
    font-size: 32px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #951428;
}

.faq-section {
    padding: 68px 0;
}

.faq-item {
    margin-bottom: 26px;
    border-bottom: 2px solid #f0f0f0;
}

.faq-question {
    background: #f0f0f0;
    padding: 26px;
    cursor: pointer;
    font-size: 32px;
    color: #B81939;
    font-weight: bold;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #e0e0e0;
}

.faq-answer {
    display: none;
    padding: 26px;
    font-size: 32px;
    color: #333333;
}

.faq-answer.active {
    display: block;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: 68px 0;
}

.slider-container {
    display: table;
    width: 100%;
}

.slider-track {
    display: table-row;
    transition: transform 0.5s ease;
}

.slider-slide {
    display: table-cell;
    width: 100%;
    padding: 0 26px;
}

.slider-controls {
    text-align: center;
    margin-top: 42px;
}

.slider-btn {
    background: #B81939;
    color: #ffffff;
    border: none;
    padding: 10px 26px;
    font-size: 32px;
    cursor: pointer;
    margin: 0 10px;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: #951428;
}

.pricing-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin: 42px 0;
}

.pricing-column {
    display: table-cell;
    width: 33.33%;
    padding: 16px;
    vertical-align: top;
}

.pricing-card {
    background: #f0f0f0;
    padding: 42px;
    text-align: center;
    height: 100%;
}

.pricing-card.featured {
    background: #294DDB;
    color: #ffffff;
    transform: scale(1.05);
}

.pricing-title {
    font-size: 64px;
    color: #B81939;
    margin-bottom: 16px;
}

.pricing-card.featured .pricing-title {
    color: #ffffff;
}

.pricing-amount {
    font-size: 128px;
    color: #333333;
    margin-bottom: 26px;
}

.pricing-card.featured .pricing-amount {
    color: #ffffff;
}

.pricing-features {
    list-style: none;
    margin-bottom: 42px;
    text-align: left;
}

.pricing-features li {
    font-size: 32px;
    padding: 10px 0;
    border-bottom: 1px solid #cccccc;
}

.pricing-card.featured .pricing-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

.blog-card {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    height: 100%;
    transition: border-color 0.2s ease;
}

.blog-card:hover {
    border-color: #B81939;
}

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 26px;
}

.blog-title {
    font-size: 64px;
    color: #B81939;
    margin-bottom: 16px;
}

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

.blog-date {
    font-size: 32px;
    color: #999999;
}

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

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

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

.footer h3 {
    font-size: 64px;
    color: #B81939;
    margin-bottom: 16px;
}

.footer p,
.footer a {
    font-size: 32px;
    color: #cccccc;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
}

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

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

.footer-bottom {
    text-align: center;
    margin-top: 42px;
    padding-top: 26px;
    border-top: 1px solid #555555;
}

.footer-bottom p {
    font-size: 32px;
    color: #999999;
}

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

    .logo a {
        font-size: 56px;
    }

    .nav-link {
        font-size: 28px;
    }

    .hero-text-overlay h1 {
        font-size: 112px;
    }

    .hero-text-overlay p,
    .primary-cta,
    .form-input,
    .form-textarea,
    .submit-btn {
        font-size: 28px;
    }

    .section-header h2,
    .info-card h3,
    .pricing-title,
    .blog-title,
    .footer h3 {
        font-size: 56px;
    }

    .pricing-amount {
        font-size: 112px;
    }
}

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

    .mobile-menu-toggle {
        display: block;
    }

    .nav-container {
        display: block;
    }

    .logo {
        display: block;
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .logo a {
        font-size: 48px;
    }

    .main-nav {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.active {
        max-height: 1000px;
    }

    .nav-list {
        display: block;
        width: 100%;
    }

    .nav-item {
        display: block;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        font-size: 24px;
        padding: 16px;
    }

    .hero-text-overlay {
        position: static;
        max-width: 100%;
        margin: 26px;
    }

    .hero-text-overlay h1 {
        font-size: 64px;
    }

    .hero-text-overlay p,
    .primary-cta {
        font-size: 24px;
    }

    .content-grid,
    .testimonial-grid,
    .pricing-table,
    .blog-grid,
    .footer-content {
        display: block;
    }

    .grid-cell,
    .grid-cell-featured,
    .testimonial-cell,
    .pricing-column,
    .blog-cell,
    .footer-column {
        display: block;
        width: 100%;
    }

    .text-image-split {
        display: block;
    }

    .text-column-70,
    .image-column-30 {
        display: block;
        width: 100%;
        padding: 0;
        margin-bottom: 26px;
    }

    .section-header h2,
    .info-card h3,
    .pricing-title,
    .blog-title,
    .footer h3 {
        font-size: 48px;
    }

    .pricing-amount {
        font-size: 64px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .form-label,
    .form-input,
    .form-textarea,
    .submit-btn,
    .section-header p,
    .info-card p,
    .testimonial-text,
    .testimonial-author,
    .faq-question,
    .faq-answer,
    .blog-excerpt,
    .blog-date,
    .footer p,
    .footer a,
    .footer-bottom p,
    .pricing-features li,
    .slider-btn {
        font-size: 24px;
    }
}

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

    .logo a {
        font-size: 42px;
    }

    .mobile-menu-toggle {
        font-size: 48px;
    }

    .nav-link {
        font-size: 20px;
    }

    .hero-text-overlay h1 {
        font-size: 48px;
    }

    .hero-text-overlay p,
    .primary-cta {
        font-size: 20px;
    }

    .section-header h2,
    .info-card h3,
    .pricing-title,
    .blog-title,
    .footer h3 {
        font-size: 42px;
    }

    .pricing-amount {
        font-size: 48px;
    }

    .form-label,
    .form-input,
    .form-textarea,
    .submit-btn,
    .section-header p,
    .info-card p,
    .testimonial-text,
    .testimonial-author,
    .faq-question,
    .faq-answer,
    .blog-excerpt,
    .blog-date,
    .footer p,
    .footer a,
    .footer-bottom p,
    .pricing-features li,
    .slider-btn {
        font-size: 20px;
    }

    .content-section,
    .testimonials-slider,
    .faq-section {
        padding: 42px 0;
    }

    .footer {
        padding: 42px 0 16px;
    }
}
