.package-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    overflow-x: auto; /* Ensure horizontal scrolling */
    position: relative; /* For sticky elements */
}

    .package-section h2 {
        text-align: center;
        font-weight: bold;
        margin-bottom: 30px;
    }

    .package-section table {
        width: 100%;
        border-collapse: collapse;
        position: relative;
    }

    .package-section th, .package-section td {
        border: 1px solid #ddd;
        padding: 10px 15px; /* Add padding for better spacing */
        text-align: left;
        word-wrap: break-word; /* Prevent overflow of long words */
    }

    .package-section th {
        background-image: linear-gradient(to right, #a88734, #d9ac5a);
        font-weight: bold;
        color: black;
    }

.nav-links a {
    transition: color 0.3s;
}

    .nav-links a:hover {
        color: #ff5733;
    }

.package-section tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.package-section tr:hover {
    background-color: #f1f1f1;
}

/* Fix for sticky column and header overlapping */
.package-section th:first-child,
.package-section td:first-child {
    position: sticky;
    left: 0;
    background-color: #f5f5f5; /* Solid background to prevent text blending */
    z-index: 1;
    font-weight: bold;
    box-shadow: 5px 0 5px -5px rgba(0, 0, 0, 0.2); /* Shadow for better visibility */
}

.package-section tr th {
    position: sticky;
    padding-top: -10px z-index: 2;
}

/* Mobile-Specific Styles */
@media (max-width: 768px) {
    .package-section table {
        border: none;
        background: transparent;
    }

    .package-section thead {
        display: none;
    }

    .package-section tbody tr {
        display: block;
        margin-bottom: 20px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    .package-section td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        border: none !important;
        border-bottom: 1px solid #eee !important;
        text-align: right;
    }

        .package-section td:first-child {
            background: #f8f9fa;
            font-weight: 700;
            font-size: 1.1em;
            color: #333;
            border-bottom: 2px solid #ddd !important;
            text-align: left;
        }

        .package-section td:not(:first-child)::before {
            content: attr(data-label);
            font-weight: 600;
            color: #666;
            margin-right: 15px;
            float: left;
            text-align: left;
            width: 30%;
        }

        .package-section td:last-child {
            border-bottom: none !important;
        }

    .package-section tr:hover {
        background: transparent;
    }

    /* Remove sticky positioning */
    .package-section th:first-child,
    .package-section td:first-child {
        position: static;
        box-shadow: none;
    }
}
