/* Promotions Section Styles */
#promotions-section {
    padding: 80px 0;
    background: radial-gradient(circle at center, #1e3a5f 0%, #1a1a1a 100%);
    color: #f0f0f0;
}

.promotions-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
    letter-spacing: 2px;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(19, 175, 196, 0.5), transparent, rgba(79, 70, 229, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.promo-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.promo-card:hover::before {
    opacity: 1;
}

.promo-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.promo-card:hover .promo-img img {
    transform: scale(1.1);
}

.promo-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.promo-info h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #f0f0f0;
    line-height: 1.4;
    font-weight: 600;
    transition: color 0.3s ease;
}

.promo-card:hover .promo-info h3 {
    color: #13afc4;
}

/* Adjust grid for the 4th item */
.promotions-grid > .promo-card:nth-child(4) {
    grid-column: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .promotions-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
    .promotions-grid > .promo-card:nth-child(4) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .promotions-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .promo-img {
        height: 200px;
    }
}
