/* ============================================
   PACKAGES CSS - Knowledge Wave India
   Colors: #0A210F #14591D #99AA38 #392F5A #F6F8FF
   ============================================ */

.packages-section {
    padding: 60px 0 80px;
    background: #F6F8FF;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.package-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.package-img {
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #0A210F, #14591D);
}

.package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-card:hover .package-img img {
    transform: scale(1.05);
}

.package-body {
    padding: 20px;
    text-align: center;
}

.package-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0A210F;
    margin-bottom: 12px;
}

.package-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.old-price { text-decoration: line-through; color: #999; font-size: 14px; }
.new-price { color: #99AA38; font-weight: 700; font-size: 20px; }

.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #99AA38;
    color: #0A210F;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-buy:hover {
    background: transparent;
    color: #99AA38;
    border-color: #99AA38;
}

.btn-buy i { font-size: 12px; transition: transform 0.3s ease; }
.btn-buy:hover i { transform: translateX(4px); }

.scroll-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: #99AA38; color: #0A210F;
    border: none; border-radius: 50%;
    cursor: pointer; font-size: 18px; z-index: 999;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 5px 20px rgba(153,170,56,0.4);
    transition: all 0.3s ease;
}
.scroll-top.show { display: flex; }
.scroll-top:hover { background: #0A210F; color: #99AA38; transform: translateY(-5px); }

@media (max-width: 1199.98px) {
    .packages-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
    .packages-section { padding: 40px 0 60px; }
    .packages-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}

@media (max-width: 575.98px) {
    .packages-grid { grid-template-columns: 1fr; max-width: 350px; margin: 0 auto; }
}