/**
 * SK Testimonial Slider - Styles
 * Version: 1.0.0
 */

/* ============================================
   BASE STYLES
   ============================================ */
.sk-testimonial-slider {
    box-sizing: border-box;
    width: 100%;
}

.sk-testimonial-slider *,
.sk-testimonial-slider *::before,
.sk-testimonial-slider *::after {
    box-sizing: border-box;
}

/* ============================================
   HEADER ROW
   ============================================ */
.sk-header-row {
    margin-bottom: 60px;
    width: 100%;
}

.sk-header-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* TOP HEADER: Short Text & Image */
.sk-header-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #ffffff;
}

.sk-header-top::after {
    content: "";
    flex: 0 0 100px;
    height: 2px;
    background: currentColor;
    opacity: 0.2;
    margin-left: 8px;
}

.sk-short-text {
    font-size: 14px;
    font-weight: 500;
    text-transform: lowercase;
}

.sk-short-image img {
    display: block;
    max-width: 40px;
    height: auto;
}

/* MAIN HEADER: 3-Column Layout */
.sk-header-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.sk-heading-col {
    flex: 0 0 45%;
    min-width: 0;
}

.sk-desc-arrows-col {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.sk-description-col {
    width: 100%;
}

.sk-header-arrows {
    display: flex;
    gap: 16px;
    align-self: flex-end;
}

.sk-main-heading {
    font-size: 56px;
    font-weight: 800;
    margin: 0;
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: -1px;
}

.sk-description {
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   HEADER ARROWS
   ============================================ */
/* Arrows used to be here, now inside .sk-desc-arrows-col */

/* Prev Arrow: Glassy Effect */
.sk-arrow.sk-prev, .sk-arrow.sk-mobile-prev {
	background: rgba(255, 255, 255, 0.1) !important;
	backdrop-filter: blur(15.4px);
	-webkit-backdrop-filter: blur(12px);
	color: #ffffff !important;
	box-shadow: 0 8px 32px 0 rgba(29, 255, 43, 0);
	border-top: 2px solid !important;
	border-bottom: 2px solid !important;
}

/* Next Arrow: White Background, Dark Icon */
.sk-arrow.sk-next {
    background: #ffffff;
    color: #1f2937;
}

.sk-arrow.sk-next svg {
    color: inherit;
}

/* Visibility Control Classes */
.sk-hide-mobile-arrows-desktop .sk-mobile-arrows {
    display: none !important;
}

/* Media Queries for Layout & Visibility */
@media (max-width: 1024px) {

    /* Hide header arrows ONLY if the setting is on */
    .sk-hide-header-arrows-mobile .sk-header-arrows {
        display: none;
    }

    .sk-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .sk-heading-col,
    .sk-desc-arrows-col {
        flex: 0 1 auto;
        width: 100%;
    }

    /* By default, hide header arrows on mobile to let MOBILE ARROWS handle it,
       UNLESS the user specifically wants the header one (handled by class ABOVE) */
    .sk-header-arrows {
        display: none;
    }
}

/* ============================================
   SLIDER WRAPPER
   ============================================ */
.sk-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.sk-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* ============================================
   SLIDES
   ============================================ */
.sk-slide {
    flex-shrink: 0;
    padding-right: 16px;
    min-width: 0;
    box-sizing: border-box;
    /* width is set by JS based on slidesPerView settings */
}

/* ============================================
   ARROW BUTTONS
   ============================================ */
.sk-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.sk-arrow:hover:not(:disabled) {
    background-color: #f3f4f6;
    transform: scale(1.05);
}

.sk-arrow:disabled {
    opacity: 0.5;
    /* Slightly faded instead of heavily disabled */
    cursor: default;
}

.sk-arrow svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   MOBILE ARROWS
   ============================================ */
.sk-mobile-arrows {
    display: none;
}

@media (max-width: 1024px) {
    .sk-mobile-arrows {
        display: block;
    }

    .sk-mobile-prev,
    .sk-mobile-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
    }

    .sk-mobile-prev {
        left: 12px;
    }

    .sk-mobile-next {
        right: 12px;
    }
}

/* ============================================
   RATING CARD
   ============================================ */
.sk-review-card {
    background: linear-gradient(135deg, #a7baff, #8574f8);
    border-radius: 40px;
    padding: 0;
    color: #ffffff;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.sk-review-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
}

.sk-review-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sk-rating-number {
    font-size: 72px;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

.sk-stars {
    font-size: 20px;
    margin: 8px 0;
    letter-spacing: 2px;
}

.sk-rating-text {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

/* ============================================
   AVATARS
   ============================================ */
.sk-avatars {
    display: flex;
    justify-content: center;
    margin: 12px 0 24px;
}

.sk-avatars img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-style: solid;
    object-fit: cover;
}

.sk-avatars.overlap-enabled img:not(:first-child) {
    margin-left: -10px;
}

/* ============================================
   TAGS
   ============================================ */
.sk-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.sk-tags span {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 500;
}

/* ============================================
   TESTIMONIAL CARD
   ============================================ */
.sk-testimonial-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 48px;
    height: 100%;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.sk-company-name {
    color: #2563eb;
    font-size: 12px;
    letter-spacing: 2px;
    margin: 0 0 24px 0;
    text-transform: uppercase;
    font-weight: 600;
}

.sk-quote {
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* ============================================
   USER / AUTHOR
   ============================================ */
.sk-user {
    display: flex;
    align-items: center;
    /*! margin-top: 32px; */
    padding-top: 24px;
    /*! border-top: 1px solid #f1f5f9; */
}

.sk-user-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-right: 16px;
    object-fit: cover;
}

.sk-user-info {
    display: flex;
    flex-direction: column;
}

.sk-author-name {
    font-size: 18px;
    font-weight: 600;
    display: block;
}

.sk-designation {
    font-size: 14px;
    color: #6b7280;
    margin-top: 2px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .sk-main-heading {
        font-size: 32px;
    }

    .sk-description {
        font-size: 16px;
    }

    .sk-review-card,
    .sk-testimonial-card {
        padding: 32px;
        border-radius: 24px;
    }

    .sk-rating-number {
        font-size: 56px;
    }

    .sk-quote {
        font-size: 18px;
    }

    .sk-arrow {
        width: 44px;
        height: 44px;
    }

    .sk-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   ELEMENTOR EDITOR SPECIFIC
   ============================================ */
.elementor-editor-active .sk-slider-track {
    flex-wrap: nowrap;
}

.elementor-editor-active .sk-slide {
    flex-shrink: 0;
}