/* Premium Card Slider Styles */

.premium-card-slider-wrapper {
    position: relative;
    padding: 20px 0;
    max-width: 100%;
    margin: 0 auto;
}

.premium-card-slider-wrapper .swiper-container {
    overflow: hidden;
    padding: 20px 0; /* Add space for shadows */
}

/* Card Styling */
.premium-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 10px; /* Space for shadows */
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Image Styling */
.premium-card-image {
    width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    position: relative;
}

/* Content Styling */
.premium-card-content {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.premium-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.2;
    min-height: 2.4em; /* Ensures 2-line height consistency */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.premium-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
    
    /* Limit to 4 lines with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4; /* Standard property */
    overflow: hidden;
    height: 6.4em; /* (line-height 1.6 * 4) Ensures all cards have same description height */
}

.premium-card-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: #3498db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding-bottom: 2px;
}

/* New: Underline hover effect */
.premium-card-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: currentColor;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateX(-50%);
}

.premium-card-link:hover::after {
    width: 100%;
}

.premium-card-link .premium-btn-icon {
    display: flex;
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

/* Icon Alignment Rules */
.premium-card-link.icon-left {
    flex-direction: row-reverse;
}

.premium-card-link.icon-right:hover .premium-btn-icon {
    transform: translateX(5px);
}

.premium-card-link.icon-left:hover .premium-btn-icon {
    transform: translateX(-5px);
}


/* Navigation Arrows Styling */
.premium-nav-arrow {
    background-color: transparent !important;
    width: 40px !important;
    height: 40px !important;
    color: #333 !important;
    transition: all 0.3s ease;
    z-index: 10;
}

.premium-nav-arrow::after {
    display: none !important; /* Hide default Swiper icons */
}

.premium-nav-arrow:hover {
    transform: scale(1.2);
    color: #000 !important;
}

.premium-nav-arrow i {
    font-size: 24px;
}

.swiper-button-next.premium-nav-arrow {
    right: -25px !important;
}

.swiper-button-prev.premium-nav-arrow {
    left: -25px !important;
}

/* Pagination Styling */
.swiper-pagination-bullet {
    background: #ccc;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #3498db;
    opacity: 1;
    width: 25px;
    border-radius: 10px;
}

/* Responsive fixes */
@media (max-width: 1200px) {
    .swiper-button-next.premium-nav-arrow {
        right: 0 !important;
    }
    .swiper-button-prev.premium-nav-arrow {
        left: 0 !important;
    }
}
