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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333333;
    background: #f0f0f0;
}

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

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

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

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

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

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

.content-cell.third-width {
    width: 33.333%;
}

.content-cell.quarter-width {
    width: 25%;
}

.content-cell.two-thirds {
    width: 66.666%;
}

header {
    background: #2D3748;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-table {
    display: table;
    width: 100%;
}

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

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

.header-cell.logo-cell {
    width: 30%;
}

.header-cell.nav-cell {
    width: 70%;
    text-align: right;
}

.site-logo {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.main-nav {
    display: inline-block;
}

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

.nav-item {
    display: table-cell;
    padding: 0 15px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #718096;
}

.header-main {
    background: linear-gradient(135deg, #4A5568 0%, #2D3748 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.primary-banner {
    background: #4A5568;
    color: #ffffff;
    padding: 100px 0;
}

.intro-section {
    padding: 70px 0;
    background: #ffffff;
}

.main-feature {
    display: table;
    width: 100%;
    min-height: 400px;
}

.feature-cell {
    display: table-cell;
    vertical-align: middle;
    padding: 40px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #2D3748;
}

h1 {
    font-size: 42px;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    line-height: 1.3;
}

h3 {
    font-size: 28px;
    line-height: 1.4;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.8;
}

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

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

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

.info-block {
    background: #ffffff;
    padding: 50px 0;
}

.data-area {
    padding: 60px 0;
    background: #f8f9fa;
}

.content-zone {
    padding: 50px 0;
}

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

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

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

.grid-cell-2 {
    display: table-cell;
    vertical-align: top;
    padding: 20px;
}

.grid-cell-3 {
    display: table-cell;
    vertical-align: top;
    padding: 20px;
}

.grid-cell-4 {
    display: table-cell;
    vertical-align: top;
    padding: 20px;
}

.info-card {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.detail-box {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #4A5568;
}

.content-panel {
    background: #f8f9fa;
    padding: 35px;
    margin: 15px 0;
}

.info-tile {
    background: #ffffff;
    padding: 30px;
    text-align: center;
    border: 2px solid #e2e8f0;
}

.info-tile h3 {
    color: #4A5568;
    margin-bottom: 15px;
}

.action-button {
    display: inline-block;
    padding: 14px 32px;
    background: #4A5568;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.action-button:hover {
    background: #2D3748;
}

.primary-cta {
    display: inline-block;
    padding: 16px 40px;
    background: #718096;
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-cta:hover {
    background: #4A5568;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.submit-btn {
    padding: 12px 28px;
    background: #2D3748;
    color: #ffffff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #4A5568;
}

.main-action {
    padding: 15px 35px;
    background: #336699;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.main-action:hover {
    background: #0066cc;
}

.layout-system {
    display: table;
    width: 100%;
    margin: 30px 0;
}

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

.layout-cell {
    display: table-cell;
    padding: 15px;
    vertical-align: middle;
}

.services-table {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 20px;
}

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

.service-cell {
    display: table-cell;
    background: #ffffff;
    padding: 30px;
    vertical-align: top;
    width: 33.333%;
    border: 1px solid #e2e8f0;
}

.service-icon {
    font-size: 48px;
    color: #4A5568;
    margin-bottom: 20px;
}

.pricing-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 15px;
}

.pricing-column {
    display: table-cell;
    background: #ffffff;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid #e2e8f0;
    vertical-align: top;
}

.pricing-column.featured {
    border-color: #4A5568;
    border-width: 3px;
}

.price-amount {
    font-size: 42px;
    font-weight: 700;
    color: #4A5568;
    margin: 20px 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.testimonial-section {
    display: table;
    width: 100%;
    padding: 60px 0;
    background: #f8f9fa;
}

.testimonial-cell {
    display: table-cell;
    padding: 30px;
    background: #ffffff;
    vertical-align: top;
    width: 50%;
    border-left: 4px solid #718096;
}

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

.testimonial-author {
    font-weight: 700;
    color: #4A5568;
}

.faq-container {
    background: #ffffff;
    padding: 40px;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 12px;
    cursor: pointer;
}

.faq-answer {
    color: #333333;
    line-height: 1.7;
}

.contact-form {
    background: #ffffff;
    padding: 40px;
    border: 1px solid #e2e8f0;
}

.form-table {
    display: table;
    width: 100%;
}

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

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

.form-label {
    display: block;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    font-size: 15px;
    font-family: inherit;
    color: #333333;
    background: #ffffff;
}

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

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

.portfolio-grid {
    display: table;
    width: 100%;
    border-spacing: 20px;
}

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

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

.portfolio-image {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-caption {
    background: #ffffff;
    padding: 20px;
    text-align: center;
}

footer {
    background: #2D3748;
    color: #ffffff;
    padding: 50px 0 30px;
}

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

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

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

.footer-heading {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #4A5568;
    color: #cbd5e0;
    font-size: 14px;
}

.bg-white {
    background: #ffffff;
}

.bg-gray {
    background: #f8f9fa;
}

.bg-primary {
    background: #4A5568;
}

.bg-secondary {
    background: #2D3748;
}

.text-primary {
    color: #4A5568;
}

.text-secondary {
    color: #2D3748;
}

.text-accent {
    color: #718096;
}

.text-white {
    color: #ffffff;
}

.spacing-top {
    margin-top: 40px;
}

.spacing-bottom {
    margin-bottom: 40px;
}

.padding-large {
    padding: 60px 0;
}

.padding-medium {
    padding: 40px 0;
}

.padding-small {
    padding: 20px 0;
}

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

.image-container {
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

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

.divider {
    height: 1px;
    background: #e2e8f0;
    margin: 40px 0;
}

.shadow-light {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.shadow-medium {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.shadow-heavy {
    box-shadow: 0 6px 16px rgba(0,0,0,0.16);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1000;
}

@media screen and (max-width: 800px) {
    .header-table,
    .header-row,
    .header-cell {
        display: block;
        width: 100%;
    }

    .header-cell.logo-cell {
        width: 100%;
        text-align: center;
        position: relative;
    }

    .header-cell.nav-cell {
        width: 100%;
    }

    /* Show hamburger button on mobile */
    .mobile-menu-toggle {
        display: block;
    }

    /* Hide nav by default on mobile */
    .main-nav {
        display: none;
        width: 100%;
    }

    /* Show nav when active class is added */
    .main-nav.active {
        display: block;
    }

    .nav-list {
        display: block;
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

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

    .nav-link {
        display: block;
        padding: 10px 20px;
        font-size: 18px;
    }

    .content-grid,
    .content-row,
    .content-cell {
        display: block;
        width: 100%;
    }

    .content-cell.half-width,
    .content-cell.third-width,
    .content-cell.quarter-width,
    .content-cell.two-thirds {
        width: 100%;
    }

    .grid-row,
    .grid-cell,
    .grid-cell-2,
    .grid-cell-3,
    .grid-cell-4 {
        display: block;
        width: 100%;
    }

    .services-table,
    .service-row,
    .service-cell {
        display: block;
        width: 100%;
        border-spacing: 0;
        margin-bottom: 20px;
    }

    .pricing-table,
    .pricing-column {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }

    .testimonial-section,
    .testimonial-cell {
        display: block;
        width: 100%;
    }

    .footer-table,
    .footer-row,
    .footer-cell {
        display: block;
        width: 100%;
    }

    .portfolio-grid,
    .portfolio-row,
    .portfolio-item {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }

    .layout-system,
    .layout-row,
    .layout-cell {
        display: block;
        width: 100%;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .container {
        width: 95%;
    }
}

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

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    .content-section {
        padding: 40px 0;
    }

    .action-button,
    .primary-cta {
        display: block;
        width: 100%;
        text-align: center;
    }
}
