/* ==========================================================================
   Trusted Clients Section Styling - MyDesign360
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

.trusted-clients-section {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #f7f8fe 0%, #edf1fc 50%, #e7edfb 100%);
    padding: 70px 20px 80px 20px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

/* Background Wave Curves */
.trusted-clients-section .tc-bg-waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.trusted-clients-section .tc-wave-shape {
    position: absolute;
    fill: none;
}

.trusted-clients-section .tc-wave-left {
    top: -40px;
    left: -60px;
    width: 380px;
    height: 340px;
    background: radial-gradient(circle at 20% 30%, rgba(215, 219, 252, 0.65) 0%, rgba(240, 243, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(20px);
}

.trusted-clients-section .tc-wave-right {
    top: -20px;
    right: -80px;
    width: 440px;
    height: 400px;
    background: radial-gradient(circle at 70% 30%, rgba(210, 215, 250, 0.6) 0%, rgba(240, 243, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(25px);
}

.trusted-clients-section .tc-wave-bottom {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 120px;
    background: radial-gradient(ellipse at center bottom, rgba(220, 224, 250, 0.55) 0%, rgba(240, 243, 255, 0) 75%);
}

/* Decorative Dot Patterns */
.trusted-clients-section .tc-dots {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(5, 7px);
    grid-gap: 13px;
    pointer-events: none;
    z-index: 2;
}

.trusted-clients-section .tc-dots span {
    width: 5px;
    height: 5px;
    background-color: #abb3dd;
    border-radius: 50%;
    opacity: 0.55;
}

.trusted-clients-section .tc-dots-left {
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.trusted-clients-section .tc-dots-right {
    right: 28px;
    top: 45%;
    transform: translateY(-50%);
}

/* Inner Container */
.trusted-clients-section .tc-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 3;
}

/* Subtitle / Kicker Badge */
.trusted-clients-section .tc-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.trusted-clients-section .tc-kicker-line {
    display: inline-block;
    width: 32px;
    height: 2px;
    background-color: #3b3582;
    border-radius: 2px;
}

.trusted-clients-section .tc-kicker-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #3b3582;
}

/* Main Heading */
.trusted-clients-section .tc-heading {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    color: #191e3b;
    text-align: center;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.trusted-clients-section .tc-highlight-wrap {
    position: relative;
    display: inline-block;
    color: #393282;
}

/* Sparkle / Radiating Lines above Results */
.trusted-clients-section .tc-sparkle {
    position: absolute;
    top: -18px;
    right: -28px;
    width: 32px;
    height: 32px;
}

.trusted-clients-section .tc-sparkle svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Paragraph Description */
.trusted-clients-section .tc-description {
    max-width: 740px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 15px;
    line-height: 1.68;
    color: #5d637b;
    font-weight: 400;
}

/* Carousel / Slider Wrapper */
.trusted-clients-section .tc-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 1160px;
    margin: 0 auto;
}

/* Navigation Arrow Buttons */
.trusted-clients-section .tc-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e1e5f3;
    box-shadow: 0 4px 14px rgba(45, 40, 100, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #292652;
    font-size: 15px;
    transition: all 0.25s ease;
    flex-shrink: 0;
    outline: none;
    padding: 0;
    z-index: 5;
}

.trusted-clients-section .tc-arrow-btn:hover {
    background: #393282;
    color: #ffffff;
    border-color: #393282;
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(57, 50, 130, 0.28);
}

.trusted-clients-section .tc-arrow-btn:active {
    transform: scale(0.94);
}

.trusted-clients-section .tc-arrow-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: fill 0.25s ease;
}

/* Logos Track Area */
.trusted-clients-section .tc-track-viewport {
    overflow: hidden;
    width: 100%;
    padding: 10px 4px;
}

.trusted-clients-section .tc-track {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Brand Logo Card */
.trusted-clients-section .tc-card {
    flex: 0 0 calc((100% - (5 * 16px)) / 6);
    min-width: 150px;
    height: 76px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(225, 230, 246, 0.85);
    box-shadow: 0 4px 18px rgba(35, 30, 85, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    box-sizing: border-box;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.trusted-clients-section .tc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(35, 30, 85, 0.13);
    border-color: rgba(180, 190, 235, 0.9);
}

.trusted-clients-section .tc-logo {
    max-height: 44px;
    max-width: 90%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.trusted-clients-section .tc-card:hover .tc-logo {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .trusted-clients-section .tc-heading {
        font-size: 32px;
    }
    .trusted-clients-section .tc-card {
        flex: 0 0 calc((100% - (3 * 16px)) / 4);
    }
    .trusted-clients-section .tc-dots {
        display: none;
    }
}

@media (max-width: 768px) {
    .trusted-clients-section {
        padding: 50px 16px 60px 16px;
    }
    .trusted-clients-section .tc-heading {
        font-size: 26px;
    }
    .trusted-clients-section .tc-description {
        font-size: 14px;
        margin-bottom: 28px;
    }
    .trusted-clients-section .tc-card {
        flex: 0 0 calc((100% - 16px) / 2);
        height: 68px;
    }
    .trusted-clients-section .tc-arrow-btn {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .trusted-clients-section .tc-heading {
        font-size: 22px;
    }
    .trusted-clients-section .tc-card {
        flex: 0 0 100%;
    }
}
