/* ========================================
   Clients Page Styles
   ======================================== */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #004a7c 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    /* background-image: url('assets/images/makeinindia.png'); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== CLIENTS CASE STUDIES SECTION ========== */

.clients-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 60px 0;
}

.client-case-study {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    padding: 40px;
    animation: fadeIn 0.6s ease-in;
    transition: all 0.3s ease;
}

.client-case-study:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Client Header */
.client-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.client-case-study h2 {
    font-size: 2rem;
    color: var(--primary);
    margin: 0;
    font-weight: 700;
}

.industry-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Client Description */
.client-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray);
    margin: 15px 0 30px 0;
}

/* ========== RESULTS GRID ========== */

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.result-item {
    background: linear-gradient(135deg, #f0f7ff 0%, #f8f9fa 100%);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.result-item i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-top: 5px;
}

.result-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 5px 0;
}

.result-item p {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    margin: 0;
}

/* ========== BENEFITS LIST ========== */

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.benefits-list li {
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits-list li i {
    color: #28a745;
    font-size: 1.1rem;
}

/* ========== ACTION BUTTONS ========== */

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #004a7c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 107, 178, 0.3);
}

.btn i {
    font-size: 1rem;
}

/* ========== CLIENTELE CAROUSEL SECTION ========== */

.clientele-section {
    background: white;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 40px;
}

/* ========== CAROUSEL WRAPPER ========== */

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: linear-gradient(to right, white, transparent);
    z-index: 10;
    pointer-events: none;
}

.carousel-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: linear-gradient(to left, white, transparent);
    z-index: 10;
    pointer-events: none;
}

/* ========== HORIZONTAL SCROLLING CAROUSEL ========== */

.clientele-carousel {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 25px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.clientele-carousel::-webkit-scrollbar {
    height: 8px;
}

.clientele-carousel::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.clientele-carousel::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.clientele-carousel::-webkit-scrollbar-thumb:hover {
    background: #004a7c;
}

/* Carousel Slides */
.carousel-slide {
    flex: 0 0 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: grab;
}

.carousel-slide:active {
    cursor: grabbing;
}

.carousel-slide:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.carousel-slide:hover img {
    transform: scale(1.1);
}

/* Carousel Hint */
.carousel-hint {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: slideHint 2s infinite;
}

@keyframes slideHint {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.carousel-hint i {
    font-size: 1rem;
}

/* ========== ANIMATIONS ========== */

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 1024px) {
    .page-hero::after {
        width: 250px;
    }
}

@media (max-width: 992px) {
    .page-hero {
        padding: 80px 0 60px;
    }

    .page-hero-content h1 {
        font-size: 2.2rem;
    }

    .page-hero-content p {
        font-size: 1rem;
    }

    .client-case-study {
        padding: 30px;
        margin-bottom: 30px;
    }

    .client-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .client-case-study h2 {
        font-size: 1.6rem;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .result-item {
        padding: 15px;
    }

    .carousel-slide {
        flex: 0 0 170px;
        height: 170px;
    }

    .page-hero::after {
        width: 200px;
        opacity: 0.2;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }

    .page-hero-content h1 {
        font-size: 1.8rem;
    }

    .page-hero-content p {
        font-size: 0.9rem;
    }

    .client-case-study {
        padding: 20px;
        margin-bottom: 25px;
    }

    .client-case-study h2 {
        font-size: 1.4rem;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .result-item {
        padding: 12px;
        font-size: 0.9rem;
    }

    .result-item i {
        font-size: 1.4rem;
    }

    .result-item h4 {
        font-size: 0.85rem;
    }

    .result-item p {
        font-size: 0.8rem;
    }

    .benefits-list li {
        padding: 8px 0;
        font-size: 0.9rem;
    }

    .action-buttons {
        gap: 10px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        flex: 1;
        justify-content: center;
    }

    .clientele-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .carousel-wrapper::before,
    .carousel-wrapper::after {
        width: 30px;
    }

    .clientele-carousel {
        gap: 15px;
        padding: 15px 0;
    }

    .carousel-slide {
        flex: 0 0 140px;
        height: 140px;
    }

    .page-hero::after {
        width: 150px;
        opacity: 0.15;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 40px 0 30px;
    }

    .page-hero-content h1 {
        font-size: 1.5rem;
    }

    .page-hero-content p {
        font-size: 0.85rem;
    }

    .client-case-study {
        padding: 15px;
        margin-bottom: 20px;
    }

    .client-header {
        flex-direction: column;
        gap: 10px;
    }

    .client-case-study h2 {
        font-size: 1.2rem;
    }

    .client-description {
        font-size: 0.95rem;
        margin: 10px 0 20px 0;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .result-item {
        padding: 10px;
        gap: 10px;
    }

    .result-item i {
        font-size: 1.2rem;
    }

    .result-item h4 {
        font-size: 0.8rem;
    }

    .benefits-list li {
        padding: 6px 0;
        font-size: 0.85rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .btn {
        width: 100%;
        padding: 12px;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .carousel-wrapper::before,
    .carousel-wrapper::after {
        width: 20px;
    }

    .clientele-carousel {
        gap: 12px;
        padding: 12px 0;
    }

    .carousel-slide {
        flex: 0 0 120px;
        height: 120px;
    }

    .carousel-hint {
        font-size: 0.8rem;
        margin-top: 15px;
    }

    .page-hero::after {
        width: 120px;
        opacity: 0.1;
    }
}

@media (max-width: 480px) {
    .client-case-study h2 {
        font-size: 1.1rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .carousel-slide {
        flex: 0 0 100px;
        height: 100px;
    }

    .carousel-hint {
        font-size: 0.75rem;
    }
}
