/* ============================================
   PACKAGE STYLES
   ============================================ */

.packages-hero {
    background: linear-gradient(135deg, #0C2B4B 0%, #1a3a66 50%, #2a4a7a 100%);
    padding: 80px 0 60px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.packages-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.packages-hero p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.package-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid #f0f0f0;
    position: relative;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: #F3BD00;
}

.package-card.featured {
    border-color: #F3BD00;
    box-shadow: 0 8px 32px rgba(243, 189, 0, 0.15);
}

.package-card.featured::before {
    content: '★ FEATURED';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #F3BD00;
    color: #0C2B4B;
    padding: 5px 40px;
    font-size: 11px;
    font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 1px;
    z-index: 10;
}

.package-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.package-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0C2B4B;
    margin-bottom: 10px;
}

.package-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.package-courses {
    margin-bottom: 15px;
}

.package-course-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.85rem;
    color: #555;
}

.package-course-item i {
    color: #28a745;
    font-size: 12px;
}

.package-price {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.package-price .current {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0C2B4B;
}

.package-price .original {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.package-price .savings {
    background: #28a745;
    color: #fff;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.package-actions {
    display: flex;
    gap: 10px;
}

.btn-package-detail {
    flex: 1;
    padding: 12px;
    background: #0C2B4B;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-package-detail:hover {
    background: #1a3a66;
    color: #fff;
}

.btn-package-cart {
    flex: 1;
    padding: 12px;
    background: #F3BD00;
    color: #0C2B4B;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-package-cart:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 189, 0, 0.3);
}

.btn-package-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-package-cart.added {
    background: #28a745;
    color: #fff;
}

/* Package Detail */
.package-detail-hero {
    background: linear-gradient(135deg, #0C2B4B 0%, #1a3a66 50%, #2a4a7a 100%);
    padding: 60px 0 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.package-detail-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.package-detail-hero .subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
}

.package-detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.package-image-main {
    width: 100%;
    border-radius: 15px;
    max-height: 400px;
    object-fit: cover;
}

.package-price-box {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: sticky;
    top: 100px;
}

.package-price-box .price {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0C2B4B;
}

.package-price-box .original {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.package-price-box .savings {
    background: #28a745;
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.package-course-list {
    list-style: none;
    padding: 0;
}

.package-course-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.package-course-list li:last-child {
    border-bottom: none;
}

.package-course-list li i {
    color: #28a745;
    font-size: 18px;
}

.btn-add-package {
    width: 100%;
    padding: 16px;
    background: #F3BD00;
    color: #0C2B4B;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-package:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(243, 189, 0, 0.3);
}

.btn-add-package:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-add-package.added {
    background: #28a745;
    color: #fff;
}

.related-package-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s;
    height: 100%;
}

.related-package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.related-package-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-package-card .content {
    padding: 16px;
}

.related-package-card .content h5 {
    font-weight: 600;
    color: #0C2B4B;
}