/* Modern Featured Project Card */
.featured-project-modern {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    /* Dark premium background */
    border-radius: 24px;
    padding: 0;
    margin-bottom: 80px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featured-project-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35);
}

.featured-project-modern.alt-bg {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    /* Same background for consistency */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.featured-project-modern.alt-bg:hover {
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35);
}

/* Premium Shine Effect */
.featured-project-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    pointer-events: none;
    z-index: 1;
}

.featured-project-modern:hover::after {
    left: 200%;
    transition: left 0.75s ease;
}

.featured-project-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.6;
}

.featured-content {
    padding: 60px;
    position: relative;
    z-index: 2;
}

.featured-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.featured-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 90%;
    font-weight: 400;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.featured-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

.featured-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

.featured-cta {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: #ffffff;
    color: #4338ca;
    /* Indigo text */
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.featured-project-modern.alt-bg .featured-cta {
    color: #4f46e5;
    /* Primary text */
}

.featured-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

.featured-cta svg {
    margin-left: 8px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.featured-cta:hover svg {
    transform: translateX(4px);
}

.featured-visual {
    position: relative;
    height: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.featured-visual img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.featured-project-modern:hover .featured-visual img {
    transform: scale(1.08) rotate(-2deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .featured-project-modern {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 40px;
    }

    .featured-visual {
        min-height: 300px;
        order: -1;
        /* Image on top for mobile */
    }

    .featured-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .featured-content {
        padding: 30px 20px;
    }

    .featured-title {
        font-size: 1.75rem;
    }

    .featured-description {
        font-size: 1rem;
    }
}