/* Custom Styles for PSS Travels Tariff Section */

/* Ensure all cards have equal height and nice spacing */
.tariff-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.tariff-card .filter-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 35px;
}

.tariff-card h5 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #333;
    transition: color 0.3s ease;
}

.tariff-card:hover h5 {
    color: #ff5e14;
}

/* Unique Hover Animation */
.tariff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    border-color: var(--primary-color, #ff5e14); /* Fallback to a common orange if var not set */
}

/* Image Hover Zoom */
.tariff-card .feature-thumb img {
    transition: transform 0.6s ease;
}

.tariff-card:hover .feature-thumb img {
    transform: scale(1.1);
}

/* Style the lists for better readability */
.tariff-card .meta-content a {
    display: block;
    line-height: 1.8;
    color: #555;
    text-decoration: none;
    font-family: 'Courier New', Courier, monospace; /* Making it look like a receipt/tariff list */
    font-weight: 600;
}

/* Section Header Styling */
.at-section-title .at-subtitle {
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
}

/* Animation for the whole section entry */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-grid > div {
    animation: fadeInUp 0.8s ease backwards;
}

/* Staggered animation for cards */
.filter-grid > div:nth-child(1) { animation-delay: 0.1s; }
.filter-grid > div:nth-child(2) { animation-delay: 0.2s; }
.filter-grid > div:nth-child(3) { animation-delay: 0.3s; }
.filter-grid > div:nth-child(4) { animation-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .tariff-card .filter-card-content {
        padding: 20px;
    }
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Make icons stand out */
.icon-box i {
    font-size: 24px;
    color: #ff5e14;
    background: rgba(255, 94, 20, 0.1);
    padding: 10px;
    border-radius: 50%;
    margin-right: 15px;
}
