.packages-container{
    margin: 0;
    max-width: none;
}

@media (min-width: 768px) {
    .packages-section .col-md-3{
        max-width: none !important;
    }
    .col-sm-6 {
        max-width: none !important;
    }
}
@media (max-width: 768px) {
    .col-sm-6 {
        max-width: none !important;
    }
}
@media (max-width: 576px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: none !important;
    }
}
@media (max-width: 400px) {
    .packages-section .packages-container > .row {
        padding: 0 !important;
    }
}

.hero-title-packages{
    line-height: normal !important;
}

.packages-section .packages-container > .row {
    padding: 0 30px;
}


.package-description-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.package-tooltip {
    visibility: hidden;
    opacity: 0;
    width: 250px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Show above the text */
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s;
    pointer-events: none;
    font-size: 14px;
}

.package-description-wrapper:hover .package-tooltip {
    visibility: visible;
    opacity: 1;
}


div#webinarsResults {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 30px !important;
}

.webinar-card {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    height: 100% !important;
    transition: all 0.3s ease !important;
}

.webinar-image {
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
}

.webinar-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.webinar-content {
    flex: 1 1 auto !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.webinar-title {
    font-size: 1.1rem !important;
    font-weight: bold !important;
    color: #222 !important;
    margin: 0 0 10px !important;
    line-height: 1.4 !important;
}

.webinar-description {
    font-size: 0.9rem !important;
    color: #555 !important;
    margin-bottom: 12px !important;
}

.webinar-meta,
.webinar-stats {
    display: flex !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    font-size: 0.85rem !important;
    color: #999 !important;
    margin-top: 12px !important;
}

.view-webinar-btn {
    background: #284E69 !important;
    box-shadow: none !important;
}

.btn-outline-primary {
    color: #284e69 !important;
    border-color: #284e69 !important;
}

.btn-outline-primary:hover {
    background-color: #284e69 !important;
    color: rgb(255, 255, 255) !important;
}

span.current-price {
    color: #284e69 !important;
}

i.fas.fa-user {
    color: #284e69 !important;
}

i.fas.fa-tag {
    color: #284e69 !important;
}

.webinar-students i {
    color: #284e69 !important;
}



.packages-cards{ row-gap: 25px;}
.package-card{ height: 100%; margin: 0;}
.package-card .package-body{ height: auto; min-height: 249px}
.package-card .package-body .package-description{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 32px;
}
