/**
 * Packages / pricing cards — consistent green theme (home, /packages/, service pages with .sec-pricing)
 */

.sec-pricing {
    background: linear-gradient(180deg, #f4fbf6 0%, #f0f4f2 50%, #eef1ef 100%);
}

.sec-pricing .title-main h2 {
    color: #15572a;
}

.sec-pricing .port-content {
    margin-top: 8px;
}

.sec-pricing .pack-main-box {
    margin-bottom: 28px;
}

/* Card shell — class only used on pricing package cards site-wide */
.pack-main-inner {
    position: relative;
    padding: 28px 24px 26px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(67, 182, 73, 0.14);
    box-shadow:
        0 4px 6px rgba(19, 66, 39, 0.04),
        0 12px 32px rgba(19, 66, 39, 0.08);
    overflow: hidden;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease;
}

.pack-main-inner:hover {
    transform: translateY(-4px);
    border-color: rgba(67, 182, 73, 0.35);
    box-shadow:
        0 8px 16px rgba(19, 66, 39, 0.06),
        0 20px 48px rgba(19, 66, 39, 0.12);
}

.pack-main-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6ee87a 0%, #43b649 45%, #15572a 100%);
    border-radius: 20px 20px 0 0;
}

.pack-main-inner .package-title {
    padding-top: 6px;
    margin-bottom: 4px;
}

.pack-main-inner .package-title h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.pack-main-inner .package-title h2 span {
    color: #15572a;
}

/* Price row: current price + strikethrough + badge — one horizontal line, vertically centred */
.pack-main-inner .package-title h3 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35em 0.0em;
    font-size: clamp(1.25rem, 2.8vw, 1.75rem);
    font-weight: 900;
    line-height: 1.15;
    color: #0f3d1f;
    margin: 0;
    min-height: 2.5rem;
}

.pack-main-inner .package-title h3 sup {
    flex-shrink: 0;
    color: #43b649;
    font-weight: 700;
    font-size: 0.72em;
    line-height: 1;
    top: 0;
    position: relative;
    vertical-align: baseline;
    margin-right: 0;
}

.pack-main-inner .package-title h3 .discounted_price {
    flex-shrink: 1;
    min-width: 0;
    font-size: 0.62em;
    font-weight: 600;
    line-height: 1.2;
    color: #6b7280;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    vertical-align: baseline;
    white-space: nowrap;
    margin-left: 21px;
}

.pack-main-inner .plan-title h4 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #15572a;
    margin: 18px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(67, 182, 73, 0.25);
}

/* Feature list — green tint (replaces lavender #eaeafb) */
.pack-main-inner .pack-desc {
    background: linear-gradient(180deg, #f4fbf6 0%, #ecf6ef 100%);
    border: 1px solid rgba(67, 182, 73, 0.2);
    border-radius: 14px;
    padding: 16px 4px 16px 0;
    margin-top: 4px;
    margin-bottom: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pack-main-inner .pack-desc ul {
    padding: 0 18px 0 20px;
}

.pack-main-inner .pack-desc ul li {
    color: #2d2d2d;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 6px;
    padding-left: 2px;
}

.pack-main-inner .pack-desc ul li:last-child {
    margin-bottom: 0;
}

.pack-main-inner .pack-desc ul li:before {
    content: "\f054" !important;
    font: normal normal normal 11px/1 FontAwesome !important;
    color: #43b649 !important;
    margin-right: 10px !important;
    top: 1px !important;
    position: relative !important;
    opacity: 0.95;
}

.pack-main-inner .addon-desc {
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(67, 182, 73, 0.06);
    border-radius: 10px;
    border: 1px dashed rgba(67, 182, 73, 0.28);
}

.pack-main-inner .addon-desc p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.pack-main-inner .addon-desc p b {
    color: #15572a;
}

.pack-main-inner .package-title h3 .discounted_price_tag {
    flex-shrink: 0;
    align-self: center;
    white-space: nowrap;
    color: #fff;
    background: linear-gradient(135deg, #e85d4a 0%, #c4352a 100%);
    font-weight: 800;
    font-size: clamp(9px, 1.9vw, 11px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px 4px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(231, 64, 50, 0.32);
    animation: none !important;
    line-height: 1.2;
}

.pack-main-inner .scrollPack {
    border-radius: 10px;
    margin-right: 4px;
}

/* Tab pills on pricing sections */
.pricing-main .sec-pricing .custom-tab-list ul li.active a,
.pricing-main .sec-pricing .custom-tab-list ul li:hover a,
body.home .sec-pricing .custom-tab-list ul li.active a,
body.home .sec-pricing .custom-tab-list ul li:hover a,
.inner-pricing .sec-pricing .custom-tab-list ul li.active a,
.inner-pricing .sec-pricing .custom-tab-list ul li:hover a {
    box-shadow: 0 6px 20px rgba(67, 182, 73, 0.25);
}

@media (max-width: 767px) {
    .pack-main-inner {
        padding: 22px 18px 20px;
    }

    .pack-main-inner .package-title h3 {
        font-size: clamp(1.1rem, 4.2vw, 1.55rem);
        gap: 0.3em 0.45em;
        min-height: 2.35rem;
    }

    .sec-pricing .pack-main-box {
        margin-bottom: 20px;
    }
}

/* Very narrow cards: allow wrap only if needed; badge stays with second line group */
@media (max-width: 360px) {
    .pack-main-inner .package-title h3 {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .pack-main-inner .package-title h3 .discounted_price_tag {
        margin-left: 0;
    }
}
