:root {
    --primary-blue: #0d6efd;
    --secondary-blue: #0852c9;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --accent-green: #28a745;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

.mega-pkg-bg {
    padding: 60px 0;
    background-color: #fff;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h2 {
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.header h5 {
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Tabs styling */
.tabs-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    scrollbar-width: thin;
}

.tabs-container::-webkit-scrollbar {
    height: 6px;
}

.tabs-container::-webkit-scrollbar-track {
    background: var(--medium-gray);
    border-radius: 10px;
}

.tabs-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.nav-pills .nav-link {
    color: #495057;
    font-weight: 600;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 30px;
    border: 1px solid #dee2e6;
    white-space: nowrap;
    transition: all 0.3s ease;
    background-color: white;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

/* Package content styling */
.package-container {
    background-color: #fff;
    padding: 40px;
    margin: 40px 0 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.package-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.package-title {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.package-price {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.package-price small {
    font-size: 16px;
    color: #6c757d;
    font-weight: 500;
}

.features-container {
    padding: 25px;
    background-color: var(--light-gray);
    border-radius: 10px;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
}

/* Rich text content styling */
.rich-text-content {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
}

.rich-text-content ul {
    list-style-type: none;
    padding-left: 0;
    column-count: 2;
    column-gap: 30px;
}

.rich-text-content ul li {
    position: relative;
    padding-left: 25px;
    break-inside: avoid;
    margin-bottom: 10px;
}

.rich-text-content ul li:before {
    content: "✓";
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 18px;
}

.rich-text-content p {
    margin-bottom: 15px;
}

.rich-text-content strong {
    color: var(--primary-blue);
}

.btn-container {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.btn-package {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
    text-align: center;
    display: inline-block;
    min-width: 160px;
}

.btn-view {
    background-color: var(--primary-blue);
    color: white;
}

.btn-view:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-select {
    background-color: transparent;
    color: var(--primary-blue);
}

.btn-select:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Scrollbar styling */
.features-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.features-container::-webkit-scrollbar-track {
    background: var(--medium-gray);
    border-radius: 10px;
}

.features-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .rich-text-content ul {
        column-count: 1;
    }

    .package-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .package-title {
        font-size: 24px;
    }

    .package-price {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .package-container {
        padding: 30px;
    }

    .btn-container {
        flex-direction: column;
    }

    .btn-package {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .nav-pills .nav-link {
        padding: 8px 15px;
        font-size: 14px;
        margin: 0 3px;
    }

    .header h2 {
        font-size: 2rem;
    }

    .package-container {
        padding: 25px 20px;
    }
}

.empty-package {
    text-align: center;
    padding: 40px 20px;
    color: var(--dark-gray);
}

.empty-package h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-package {
    position: relative;
    border: 2px solid var(--primary-blue);
    transform: scale(1.02);
    z-index: 10;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 20;
}
