
:root {
    --accent-color: #4f46e5;
    --highlight-color: var(--primary-color);
    --light-bg: #f9fafb;
    --dark-text: #1f2937;
    --light-text: #6b7280;
    --white: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.country_banner_section .container .training_banner_box .training_text_box h4{
    font-weight: 600;
}
.country_banner_section .container{
    padding-top: 3rem !important;
    padding: 0;
}
.country_banner_section .container .training_banner_box{
    max-width: 1200px;
    margin: auto;
    background-color: rgba(12, 74, 110, 0.145);
    border-radius: 10px;
}

.subscription-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.section-heading {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--highlight-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-subheading {
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    background: var(--white);
    box-shadow: var(--card-shadow);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #e11d48, #f97316);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.card:hover::before {
    opacity: 1;
}

.card-selected {
    background: linear-gradient(135deg, var(--primary-color), var(--highlight-color));
    color: var(--white);
    transform: translateY(-8px) scale(1.02);
}
.card-selected .plan-badge{
    color: white;
    border:0.7px solid rgba(255, 255, 255, 0.689);
    background-color: rgba(255, 255, 255, 0.4);
}
.card-selected .text-muted{
    color: rgba(255, 255, 255, 0.689) !important;
}

.card-selected::before {
    opacity: 0;
}

.card-body {
    padding: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.plan-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.standard-badge {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.pro-badge {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--accent-color);
}

.premium-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.plan-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.text-muted{
    font-size: 0.8rem;
    font-weight: 600;
}

.price-container {
    margin: 0.6rem 0;
}

.currency {
    font-size: 1.25rem;
    font-weight: 900;
    vertical-align: top;
    line-height: 1;
}

.price {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-left: 0.1rem;
    font-weight: 600;
}

.card-selected .price-period {
    color: rgba(255, 255, 255, 0.8);
}

.subscribe-btn {
    border-radius: 10px;
    padding: 0.25rem .50rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
    margin: 0.6rem 0;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
}

.card-selected .subscribe-btn {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.3);
}

.card-selected .subscribe-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.4);
}

.divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.5rem 0;
}

.card-selected .divider {
    background-color: rgba(255, 255, 255, 0.2);
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.feature-item {
    margin-bottom: 0.3rem;
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    margin-right: 1rem;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.card-selected .feature-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.feature-text {
    font-size: 14px;
    line-height: 1.5;
}

.package-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #f8f9fa;
    color: var(--dark-text);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.basic-tag {
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.standard-tag {
    border: 1px solid rgba(79, 70, 229, 0.3);
}

.premium-tag {
    border: 1px solid rgba(67, 56, 202, 0.3);
}

.highlight {
    background: linear-gradient(to right, #e11d48, #f97316);
    color: white;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.3);
}

.card:hover .package-tag:not(.highlight) {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Animated gradient border for hovered non-selected cards */
@keyframes borderAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card:hover:not(.card-selected)::before {
    background: linear-gradient(90deg, #e11d48, #f97316, #facc15, #4ade80, #06b6d4, #6366f1, #8b5cf6, #d946ef);
    background-size: 300% 300%;
    animation: borderAnimation 3s ease infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-heading {
        font-size: 1rem;
    }

    .section-subheading {
        font-size: 0.8rem;
    }
}
@media (max-width: 800px) {
    .country_banner_section .container .training_banner_box .right{
        display: none !important;
    }
    .country_banner_section .container .training_banner_box .training_text_box h4{
        font-size: 16px;
        margin-bottom: 0 !important;
        margin-top: 0;
    }
    .country_banner_section .container .training_banner_box .training_text_box p{
        font-size: 12px;
        margin-top: 0;
    }
    .subscription-container {
        padding-top: 10px;
    }
}
