/* Subscription Plans Styling */
.pricing-tables {
    padding: 80px 0;
}

.main-title {
    text-align: center;
    margin-bottom: 50px;
}

.main-title h1 {
    font-size: 36px;
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
}

.main-title p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Equal height pricing cards with proper spacing */
.pricing-row {
    display: flex;
    align-items: stretch;
    margin-bottom: 50px; /* Add space between rows */
}

.pricing-row .col-lg-4,
.pricing-row .col-md-6,
.pricing-row .col-sm-12 {
    margin-bottom: 30px; /* Add space between individual cards */
}

.pricing-2 {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.pricing-2.active {
    border: 3px solid #ff6600;
    transform: scale(1.05);
}

.pricing-2.active::before {
    content: "Most Popular";
    position: absolute;
    top: 20px;
    right: -30px;
    background: #ff6600;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.pricing-head {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
    flex-shrink: 0;
}

.pricing-2.active .pricing-head {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
}

.pricing-head h5 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.price-rate h4 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.price-rate h4 span {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
}

/* Fixed pricing image styling */
.pricing-image {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    flex-shrink: 0;
}

.pricing-image img {
    max-width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Fixed hover effect - no filter changes on hover */
.pricing-2:hover .pricing-image {
    background: #e9ecef;
}

.pricing-2:hover .pricing-image img {
    opacity: 1;
    transform: scale(1.1);
}

/* Active state styling */
.pricing-2.active .pricing-image {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
}

.pricing-2.active .pricing-image img {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.pricing-bottom {
    padding: 0 30px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Features list with read more functionality */
.price-details {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.price-details li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.price-details li:last-child {
    border-bottom: none;
}

.price-details li i {
    color: #28a745;
    margin-right: 10px;
    font-size: 16px;
}

/* Read more functionality - Fixed */
.price-details li.hidden-feature {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.price-details li.hidden-feature.show {
    display: block;
    opacity: 1;
    max-height: 100px;
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    from { 
        opacity: 0; 
        transform: translateY(-10px);
        max-height: 0;
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
        max-height: 100px;
    }
}

.read-more-btn {
    background: none !important;
    border: none !important;
    color: #667eea !important;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    text-align: center;
    width: 100%;
    margin-top: 10px;
    transition: color 0.3s ease;
    outline: none;
}

.read-more-btn:hover {
    color: #ff6600 !important;
    background: none !important;
}

.read-more-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.read-more-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-btn.expanded i {
    transform: rotate(180deg);
}

.pricing-button {
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

.pricing-button .theme-btn {
    background: #6c757d;
    color: white !important;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    font-size: 14px;
}

.pricing-button .theme-btn:hover {
    background: #5a6268;
    color: white !important;
    text-decoration: none;
    transform: translateY(-2px);
}

.pricing-button .theme-btn.primary {
    background: #ff6600;
    color: white !important;
}

.pricing-button .theme-btn.primary:hover {
    background: #e55a00;
    color: white !important;
}

.pricing-button .theme-btn i {
    margin-left: 8px;
}

/* Current plan button styling */
.pricing-button .btn-success {
    background: #28a745;
    border-color: #28a745;
    color: white !important;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
}

.pricing-button .btn-success:hover {
    background: #218838;
    border-color: #1e7e34;
    color: white !important;
}

/* Sign In to Subscribe button - White text on all states */
.pricing-button .btn-primary {
    background: #007bff !important;
    border-color: #007bff !important;
    color: white !important;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
}

.pricing-button .btn-primary:hover,
.pricing-button .btn-primary:focus,
.pricing-button .btn-primary:active {
    background: #0056b3 !important;
    border-color: #004085 !important;
    color: white !important;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
    .pricing-row {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .pricing-row .col-lg-4,
    .pricing-row .col-md-6,
    .pricing-row .col-sm-12 {
        margin-bottom: 20px;
    }
    
    .pricing-2.active {
        transform: none;
        margin-bottom: 30px;
    }
    
    .pricing-tables {
        padding: 50px 0;
    }
    
    .main-title h1 {
        font-size: 28px;
    }
    
    .pricing-head {
        padding: 25px 15px;
    }
    
    .price-rate h4 {
        font-size: 36px;
    }
    
    .pricing-bottom {
        padding: 0 20px 20px;
    }
}

/* Plan description styling */
.plan-description {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 10px 0 0 0;
    line-height: 1.4;
}

/* Icon font support */
.icofont-check-alt:before,
.fa-check-alt:before {
    content: "\f00c";
    font-family: 'FontAwesome';
    font-weight: bold;
}

.icofont-long-arrow-right:before,
.fa-long-arrow-right:before {
    content: "\f178";
    font-family: 'FontAwesome';
    font-weight: bold;
} 