/* Corporate Redesign - Responsive Styles */

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        order: 2;
        position: static !important;
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    nav {
        height: 70px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        text-align: center;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        padding: 10px 0;
    }

    .nav-cta {
        display: inline-block;
        margin-top: 10px;
    }

    .hamburger {
        display: block;
    }

    .hero {
        padding: 100px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        display: block;
        margin-bottom: 15px;
    }

    .mobile-buttons {
        display: flex;
    }

    body {
        padding-bottom: 60px;
        /* Ensure space for fixed buttons */
    }

    .sidebar {
        order: 2;
        margin-top: 30px;
        margin-bottom: 30px;
        position: static;
        width: 100%;
    }

    /* Adjust tables for mobile */
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid var(--border-color);
        border-radius: 5px;
        background: var(--white);
    }

    td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    td:last-child {
        border-bottom: none;
    }

    td::before {
        position: absolute;
        top: 15px;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: var(--primary-color);
        content: attr(data-label);
        /* Requires data-label attr in HTML */
    }
}