/* Professional Packages Cards */
.packages-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.packages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/kaaba-bg.png') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.packages-container {
    position: relative;
    z-index: 2;
}

.packages-title {
    text-align: center;
    margin-bottom: 60px;
    color: #1a202c;
}

.packages-title h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.packages-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

.packages-title p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Package Card */
.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #f59e0b;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-card:hover::before {
    opacity: 1;
}

/* Package Image */
.package-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.package-card:hover .package-image img {
    transform: scale(1.1);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    z-index: 3;
}

/* Price section removed as requested */

/* Package Content */
.package-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.package-duration,
.package-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 0.95rem;
}

.package-duration i,
.package-location i {
    color: #667eea;
    font-size: 1rem;
}

.package-description {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Package Features */
.package-features {
    margin-bottom: 25px;
}

.package-features h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-features h4 i {
    color: #667eea;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4a5568;
}

.feature-item i {
    color: #48bb78;
    font-size: 0.8rem;
}

/* Package Actions */
.package-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.package-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.package-btn-primary {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}

.package-btn-primary:hover {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.package-btn-secondary {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    border: none;
}

.package-btn-secondary:hover {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Special Package Styles */
.package-card.featured {
    border: 3px solid #ffd700;
    transform: scale(1.05);
}

.package-card.featured::before {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    height: 6px;
}

.package-card.featured .package-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #2d3748;
}

/* Loading Animation */
.package-card.loading {
    opacity: 0;
    transform: translateY(30px);
}

.package-card.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* Hover Effects */
.package-card:hover .package-title {
    color: #667eea;
}

.package-card:hover .package-features h4 {
    color: #667eea;
}

/* View All Button */
.view-all-packages {
    text-align: center;
    margin-top: 60px;
}

.view-all-packages-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.view-all-packages-btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .packages-section {
        padding: 80px 0;
    }
    
    .packages-title h2 {
        font-size: 2.5rem;
    }
    
    .package-image {
        height: 250px;
    }
    
    .package-content {
        padding: 25px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .packages-section {
        padding: 60px 0;
    }
    
    .packages-title h2 {
        font-size: 2rem;
    }
    
    .packages-title p {
        font-size: 1rem;
    }
    
    .package-image {
        height: 220px;
    }
    
    .package-content {
        padding: 20px;
    }
    
    .package-title {
        font-size: 1.4rem;
    }
    
    .package-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .package-actions {
        flex-direction: column;
    }
    
    .package-btn {
        padding: 12px 16px;
    }
}

@media (max-width: 576px) {
    .package-card {
        border-radius: 20px;
    }
    
    .package-image {
        height: 200px;
    }
    
    .package-content {
        padding: 18px;
    }
    
    .package-title {
        font-size: 1.3rem;
    }
    
    /* Price styles removed */
    
    .package-badge {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Animation Classes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.package-card.animate {
    animation: slideInUp 0.6s ease forwards;
}

/* No Packages State */
.no-packages {
    text-align: center;
    padding: 80px 20px;
    color: white;
}

.no-packages .icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
}

.no-packages .icon i {
    font-size: 2rem;
    color: white;
}

.no-packages h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-packages p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-packages .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.no-packages .contact-btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}