/* Automotive Featured Projects Showcase — 48811d34 */

.afp-48811d34-section {
    position: relative;
    background-color: #0a0a0f;
    padding: 80px 30px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Background Grid ── */
.afp-48811d34-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ── Light Streaks ── */
.afp-48811d34-light-streak {
    position: absolute;
    height: 1px;
    width: 40%;
    pointer-events: none;
    z-index: 1;
}

.afp-48811d34-streak-1 {
    top: 20%;
    left: -40%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
    animation: afp-48811d34-streak 8s ease-in-out infinite;
}

.afp-48811d34-streak-2 {
    bottom: 30%;
    right: -40%;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.3), transparent);
    animation: afp-48811d34-streak-reverse 10s ease-in-out infinite;
}

@keyframes afp-48811d34-streak {
    0% { transform: translateX(0); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateX(280%); opacity: 0; }
}

@keyframes afp-48811d34-streak-reverse {
    0% { transform: translateX(0); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateX(-280%); opacity: 0; }
}

/* ── RPM Lines ── */
.afp-48811d34-rpm-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1;
    pointer-events: none;
}

.afp-48811d34-rpm-top {
    top: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.5) 20%, rgba(255, 106, 0, 0.5) 50%, rgba(255, 50, 50, 0.5) 80%, transparent 100%);
    animation: afp-48811d34-rpm-pulse 3s ease-in-out infinite;
}

.afp-48811d34-rpm-bottom {
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 50, 50, 0.5) 20%, rgba(255, 106, 0, 0.5) 50%, rgba(0, 212, 255, 0.5) 80%, transparent 100%);
    animation: afp-48811d34-rpm-pulse 3s ease-in-out infinite reverse;
}

@keyframes afp-48811d34-rpm-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ── Header ── */
.afp-48811d34-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 50px;
}

.afp-48811d34-hud-accent {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #ff6a00);
    margin: 0 auto 20px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.afp-48811d34-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.afp-48811d34-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.6;
}

/* ── Grid Layout ── */
.afp-48811d34-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Featured Project ── */
.afp-48811d34-featured {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    min-height: 420px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(15, 15, 22, 0.95));
}

.afp-48811d34-featured:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.1), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.afp-48811d34-featured-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1) saturate(1.1);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}

.afp-48811d34-featured:hover .afp-48811d34-featured-img {
    transform: scale(1.08);
    filter: brightness(0.75) contrast(1.15) saturate(1.2);
}

.afp-48811d34-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    z-index: 2;
}

.afp-48811d34-featured-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: afp-48811d34-scanmove 5s linear infinite;
    z-index: 3;
}

@keyframes afp-48811d34-scanmove {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.afp-48811d34-featured-content {
    position: relative;
    z-index: 3;
}

.afp-48811d34-tag {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(0, 212, 255, 0.12);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 14px;
}

.afp-48811d34-featured-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.3;
}

.afp-48811d34-featured-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 18px;
    line-height: 1.6;
    max-width: 450px;
}

.afp-48811d34-featured-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: gap 0.3s ease;
}

.afp-48811d34-featured:hover .afp-48811d34-featured-arrow {
    gap: 14px;
}

.afp-48811d34-arrow-icon {
    transition: transform 0.3s ease;
}

.afp-48811d34-featured:hover .afp-48811d34-arrow-icon {
    transform: translateX(4px);
}

/* ── HUD Corners ── */
.afp-48811d34-hud-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.afp-48811d34-featured:hover .afp-48811d34-hud-corner {
    opacity: 1;
}

.afp-48811d34-hud-tl {
    top: 12px;
    left: 12px;
    border-top: 2px solid rgba(0, 212, 255, 0.5);
    border-left: 2px solid rgba(0, 212, 255, 0.5);
}

.afp-48811d34-hud-tr {
    top: 12px;
    right: 12px;
    border-top: 2px solid rgba(0, 212, 255, 0.5);
    border-right: 2px solid rgba(0, 212, 255, 0.5);
}

.afp-48811d34-hud-bl {
    bottom: 12px;
    left: 12px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.5);
    border-left: 2px solid rgba(0, 212, 255, 0.5);
}

.afp-48811d34-hud-br {
    bottom: 12px;
    right: 12px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.5);
    border-right: 2px solid rgba(0, 212, 255, 0.5);
}

/* ── Shimmer ── */
.afp-48811d34-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    animation: afp-48811d34-shimmeranim 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes afp-48811d34-shimmeranim {
    0% { left: -50%; }
    100% { left: 150%; }
}

/* ── Project Cards ── */
.afp-48811d34-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.afp-48811d34-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    min-height: 120px;
    flex: 1;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.afp-48811d34-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.afp-48811d34-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1) saturate(1.05);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}

.afp-48811d34-card:hover .afp-48811d34-card-img {
    transform: scale(1.1);
    filter: brightness(0.65) contrast(1.15) saturate(1.2);
}

.afp-48811d34-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 22px;
    z-index: 2;
}

.afp-48811d34-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 6px 0 0;
    line-height: 1.3;
}

.afp-48811d34-card-arrow {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    font-size: 14px;
    z-index: 3;
    transition: background 0.3s ease, transform 0.3s ease;
}

.afp-48811d34-card:hover .afp-48811d34-card-arrow {
    background: rgba(0, 212, 255, 0.2);
    transform: translateX(3px);
}

.afp-48811d34-card-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.afp-48811d34-card:hover .afp-48811d34-card-glow {
    opacity: 1;
}

/* ── CTA Button ── */
.afp-48811d34-cta-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 50px;
}

.afp-48811d34-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 60px;
    overflow: hidden;
    transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.afp-48811d34-cta:hover {
    background: rgba(0, 212, 255, 0.25);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2), 0 0 60px rgba(0, 212, 255, 0.08);
    transform: translateY(-2px);
}

.afp-48811d34-cta-arrow {
    transition: transform 0.3s ease;
}

.afp-48811d34-cta:hover .afp-48811d34-cta-arrow {
    transform: translateX(4px);
}

.afp-48811d34-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.afp-48811d34-cta:hover .afp-48811d34-cta-glow {
    width: 300px;
    height: 300px;
}

/* ── Scroll Indicator ── */
.afp-48811d34-scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.afp-48811d34-scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    animation: afp-48811d34-dotpulse 2s ease-in-out infinite;
}

.afp-48811d34-scroll-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.afp-48811d34-scroll-dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes afp-48811d34-dotpulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.4); background: rgba(0, 212, 255, 0.7); }
}

/* ── Entrance Animations ── */
.afp-48811d34-section .afp-48811d34-header,
.afp-48811d34-section .afp-48811d34-featured,
.afp-48811d34-section .afp-48811d34-card,
.afp-48811d34-section .afp-48811d34-cta-wrap {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.afp-48811d34-section.afp-48811d34-visible .afp-48811d34-header {
    opacity: 1;
    transform: translateY(0);
}

.afp-48811d34-section.afp-48811d34-visible .afp-48811d34-featured {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.afp-48811d34-section.afp-48811d34-visible .afp-48811d34-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.afp-48811d34-section.afp-48811d34-visible .afp-48811d34-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.afp-48811d34-section.afp-48811d34-visible .afp-48811d34-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.afp-48811d34-section.afp-48811d34-visible .afp-48811d34-cta-wrap {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

/* Editor: always visible */
.elementor-editor-active .afp-48811d34-section .afp-48811d34-header,
.elementor-editor-active .afp-48811d34-section .afp-48811d34-featured,
.elementor-editor-active .afp-48811d34-section .afp-48811d34-card,
.elementor-editor-active .afp-48811d34-section .afp-48811d34-cta-wrap {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .afp-48811d34-grid {
        grid-template-columns: 1fr;
    }

    .afp-48811d34-featured {
        min-height: 340px;
    }

    .afp-48811d34-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .afp-48811d34-card {
        min-height: 160px;
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .afp-48811d34-section {
        padding: 50px 16px;
    }

    .afp-48811d34-title {
        font-size: 28px;
    }

    .afp-48811d34-subtitle {
        font-size: 14px;
    }

    .afp-48811d34-featured {
        min-height: 260px;
    }

    .afp-48811d34-featured-title {
        font-size: 20px;
    }

    .afp-48811d34-featured-overlay {
        padding: 20px;
    }

    .afp-48811d34-cards {
        flex-direction: column;
    }

    .afp-48811d34-card {
        min-height: 140px;
        flex: 1 1 100%;
    }

    .afp-48811d34-cta {
        padding: 14px 30px;
        font-size: 12px;
    }

    .afp-48811d34-header {
        margin-bottom: 30px;
    }

    .afp-48811d34-cta-wrap {
        margin-top: 35px;
    }
}
