/* Expert Slider Section Styles */
.expert-slider-section {
    background: #050b1a;
    padding: 75px 0;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.expert-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 400px at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(224, 18, 36, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.expert-slider-section .smoke-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bg/smoke-texture.png');
    /* Fallback or procedural if not available */
    opacity: 0.1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.expert-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.expert-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e01224;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.expert-title {
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.expert-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

/* Slider Layout */
.expert-slider-container {
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.expert-swiper {
    padding-bottom: 60px !important;
    overflow: visible !important;
}

.expert-slide-item {
    padding: 20px 15px;
}

.expert-card {
    background: linear-gradient(135deg, #0b1c3d 0%, #050b1a 100%);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1), transform 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: grab;
    user-select: none;
}

.expert-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: #e01224;
    box-shadow: 0 0 15px #e01224;
    opacity: 0.3;
    transition: all 0.5s ease;
}

.expert-card-image-wrap {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-top: -50px;
    margin-bottom: 25px;
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, #e02106, #fb9b0d);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
}

.expert-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #0b1c3d;
    transition: transform 0.5s ease;
}

.expert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e01224;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(224, 18, 36, 0.3);
    z-index: 5;
}

.expert-name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
    text-transform: uppercase;
}

.expert-designation {
    color: #e01224;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.expert-contact {
    margin-bottom: 20px;
}

.expert-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e01224;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.expert-contact a i {
    font-size: 18px;
}

.expert-contact a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.expert-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 25px;
}

.expert-social {
    display: flex;
    gap: 15px;
    margin-top: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.expert-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.expert-social a:hover {
    background: #e01224;
    border-color: #e01224;
    transform: translateY(-5px);
}

/* Hover Effects */
.expert-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(224, 18, 36, 0.2);
    border-color: rgba(224, 18, 36, 0.3);
}

.expert-card:hover::after {
    width: 100%;
    opacity: 1;
}

.expert-card:hover .expert-card-image-wrap {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(224, 18, 36, 0.4);
}

.expert-card:hover .expert-card-image-wrap img {
    transform: scale(1.1);
}

.expert-card:hover .expert-social {
    opacity: 1;
    transform: translateY(0);
}

/* Spark Particle Container */
.expert-spark-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Swiper Navigation and Progress */
.expert-nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.expert-prev,
.expert-next {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expert-prev:hover,
.expert-next:hover {
    background: #e01224;
    border-color: #e01224;
    transform: scale(1.1);
}

.expert-progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.expert-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #e01224;
    box-shadow: 0 0 10px #e01224;
    transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 991px) {
    .expert-title {
        font-size: 36px;
    }

    .expert-card-image-wrap {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 767px) {
    .expert-slider-section {
        padding: 60px 0;
    }

    .expert-header {
        text-align: center;
    }

    .expert-kicker {
        justify-content: center;
    }

    .expert-nav-container {
        justify-content: center;
        margin-top: 20px;
    }
}

/* Shine effect */
.expert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.expert-card:hover::before {
    left: 125%;
}

/* Fire Pulse animation */
@keyframes firePulse {
    0% {
        box-shadow: 0 0 5px rgba(224, 18, 36, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(224, 18, 36, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(224, 18, 36, 0.3);
    }
}

.expert-card:hover .expert-badge {
    animation: firePulse 1.5s infinite;
}

/* Light Version Overrides */
.expert-slider-section.light-version {
    background: #f8faff;
    color: #050b1a;
}

.expert-slider-section.light-version .expert-title {
    color: #050b1a;
}

.expert-slider-section.light-version .expert-subtitle {
    color: #444;
}

.expert-slider-section.light-version .expert-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.expert-slider-section.light-version .expert-card:hover {
    box-shadow: 0 20px 60px rgba(224, 18, 36, 0.08);
    border-color: rgba(224, 18, 36, 0.1);
}

.expert-slider-section.light-version .expert-name {
    color: #050b1a;
}

.expert-slider-section.light-version .expert-contact a:hover {
    color: #050b1a;
}

.expert-slider-section.light-version .expert-description {
    color: #555;
}

.expert-slider-section.light-version .expert-social a {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
    color: #050b1a;
}

.expert-slider-section.light-version .expert-social a:hover {
    color: #fff;
    background: #e01224;
}

.expert-slider-section.light-version .expert-prev,
.expert-slider-section.light-version .expert-next {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #050b1a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.expert-slider-section.light-version .expert-prev:hover,
.expert-slider-section.light-version .expert-next:hover {
    background: #e01224;
    color: #fff;
    border-color: #e01224;
}

.expert-slider-section.light-version .expert-progress-bar {
    background: rgba(0, 0, 0, 0.05);
}

.expert-slider-section.light-version .expert-card-image-wrap {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}