﻿
:root {
    --primary-blue: #007bff;
    --dark-blue: #0056b3;
    --light-blue: #f0f8ff;
    --hover-blue: #e0f0ff;
    --white: #ffffff;
    --gray-border: #dee2e6;
    --danger-red: #FB4141;
    --danger-red-hover: #c82333;
    --sidebar-width: 180px;
    --sidebar-mini-width: 50px;
    --navbar-height: 40px;
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition-fast: 0.2s ease;
    --toggler-width: 15px;
    --secondary-blue: #339af0;
    --accent-blue: #4dabf7;
    --deep-blue: #004085;
    --pale-blue: #d1e9ff;
    --vibrant-blue: #1c7ed6;
}

body {
    background-color: var(--light-blue);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.plan-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    background-color: var(--white);
    max-width: 310px;
    margin: 10px auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .plan-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
    }

.card-header {
    background: linear-gradient(135deg, var(--deep-blue), var(--primary-blue));
    color: var(--white);
    text-align: center;
    padding: 1rem;
    border-bottom: none;
}

    .card-header h4 {
        margin: 0;
        font-weight: 600;
        font-size: 1.25rem; /* Reduced font size */
    }

.card-body {
    padding: 1rem; /* Reduced padding */
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .feature-list li {
        display: flex;
        justify-content: space-between;
        padding: 0.4rem 0; /* Reduced padding */
        border-bottom: 1px solid var(--gray-border);
        color: var(--deep-blue);
        font-size: 0.85rem; /* Smaller font */
    }

        .feature-list li:last-child {
            border-bottom: none;
        }

        .feature-list li strong {
            font-weight: 500;
        }

.price-section {
    text-align: start;
    margin: 1rem 0; /* Reduced margin */
    margin-top: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1.2rem; /* Smaller font */
    margin-right: 0.4rem;
}

.offered-price {
    color: var(--vibrant-blue);
    font-size: 2.1rem; /* Reduced font size */
    font-weight: 700;
     
}

.discount-badge {
    background-color: var(--accent-blue);
    color: var(--white);
    font-size: 0.75rem; /* Smaller badge */
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    margin-left: 0.4rem;
}

.duration {
    color: #6c757d;
    font-size: 0.9rem; /* Smaller font */
    margin-top: 0.3rem;
}

.card-footer {
    background-color: transparent;
    border-top: none;
    padding: 0 1rem 1rem; /* Reduced padding */
    text-align: center;
}

.btn-select {
    background-color: var(--primary-blue);
    border: none;
    color: var(--white);
    padding: 0.5rem 1rem; /* Smaller button */
    font-weight: 600;
    font-size: 0.9rem; /* Smaller font */
    border-radius: 6px;
    transition: background-color var(--transition-fast);
}

    .btn-select:hover {
        background-color: var(--dark-blue);
        color: white;
    }

.listed-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: var(--pale-blue);
    color: var(--deep-blue);
    font-size: 0.7rem; /* Smaller badge */
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}
.title

{
    font-weight: 700;
    color: #012970;
    font-size: 35px;
}

.o-price {
    color: var(--deep-blue);
    font-weight: 500;
}
@media (min-width: 768px) and (max-width: 1024px) {
    #plansDiv .col-md-3 {
        flex: 0 0 48%;
        max-width: 48%;
        margin: 1%;
        margin-bottom: 20px;
    }
}
@media (max-width: 767.98px) {
    #plansDiv .col-md-3 {
        margin-bottom: 1rem;
    }
}