@media(max-width: 2000px) and (min-width:1200px) {
    .responsive-secondsection {
        margin-top: -150px;
    }
}
.aiana-testimonials{
    margin:70px 0px;
}
@media(max-width:750px){
    .aiana-testimonials {
        margin: 0px 0px;
    }
    .aiana-services{
        padding-bottom:50px;
    }
    .video-block{
        margin-top:-80px;
    }
}




.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.slider-wrapper {
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    text-align: center;
    margin-bottom: 3rem;
}

.slider-container {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
}

.card {
    flex: 0 0 calc(33.33333% - 1rem);
    background: var(--primary-gradiant);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

.card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    justify-content:center;
    display:flex;
}

    .card-image img {
        width: 150px;
        height: 150px;
        margin-top: 20px;
        border-radius: 50%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.card:hover .card-image img {
    transform: scale(1.05);
}

.card {
     /* Ensure positioning context */
}

.card-badge {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 1.2rem;
    border-radius: 80px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top:20px;
}


.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    text-transform:none;
}

.card-subtitle {
    font-size: 0.9rem;
    color: white;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    text-transform: none;
}

.card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    background: #eef3f8;
    transition: background 0.2s;
    text-decoration: none;
    border: none;
    padding: 0;
}

.card-button i.fab.fa-linkedin-in {
    font-size: 1.25em;
    color: #0a66c2;
    vertical-align: middle;
}

.card-button:hover i.fab.fa-linkedin-in {
    color: #fff;
}

.card-button:hover {
    background: #0a66c2;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .nav-btn:hover:not(:disabled) {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        border-color: transparent;
        transform: scale(1.1);
    }

    .nav-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dot.active {
        background: linear-gradient(135deg, #667eea, #764ba2);
        transform: scale(1.2);
    }

    .dot:hover {
        background: #a0aec0;
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .card {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .card {
        flex: 0 0 100%;
    }

    .slider-wrapper {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .slider-track {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .card-content {
        padding: 1rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-subtitle {
        font-size: 0.85rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }
}

/* Animation for smooth loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease forwards;
}

    .card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .card:nth-child(6) {
        animation-delay: 0.6s;
    }

/* Background image for the entire slider section */
.slider-bg {
    background-image: url('../../../assets/images/backgrounds/slider-bg.jpg'); /* Update path as needed */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    padding: 40px 0;
    /* Optional: add overlay for better contrast */
    position: relative;
    z-index: 1;
}

.slider-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25); /* Optional overlay, adjust as needed */
    z-index: 0;
    border-radius: 24px;
    pointer-events: none;
}

.slider-bg > * {
    position: relative;
    z-index: 1;
}
