/* Home Page Styles */

/* ── Index Hero ── */
.index-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: #C9D3D7;
    overflow: hidden;
    padding-top: 80px;
    position: relative;
}

.index-hero .hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    height: 100%;
}

/* LEFT TEXT */
.index-hero .hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 10vh;
    position: relative;
    z-index: 10;
}

.index-hero .hero-left h3 {
    color: var(--text-muted);
    font-size: 16px;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-primary);
    line-height: 100%;
}

.index-hero .hero-left h1 {
    font-size: clamp(2.5rem, 6vw, 64px);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: var(--font-secondary);
    font-weight: 400;
    letter-spacing: 0%;
}

.index-hero .hero-left h2 {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-left: 3px;
    font-family: var(--font-secondary);

}

.index-hero .hero-left p {
    max-width: 550px;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-dark);
    margin-bottom: 3.5rem;
    opacity: 0.85;
    font-family: var(--font-primary);
    font-weight: 400;
    letter-spacing: 0%;
    text-align: justify;
}

/* RIGHT IMAGE */
.index-hero .hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}

.index-hero .hero-profile-img {
    width: 488px;
    height: 600px;
    display: block;
    margin-bottom: -5rem;
    transform-origin: bottom right;
    filter: drop-shadow(60px 20px 50px #344A54) drop-shadow(-20px 20px 60px rgba(52, 74, 84, 0.7));
    mix-blend-mode: multiply !important;

    z-index: 2;
    opacity: 1;
    border-radius: 0;
}

/* BUTTONS */
.index-hero .hero-cta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

/* BUTTON STYLES */
.index-hero .btn-primary,
.index-hero .btn-secondary {
    padding: 1.1rem 2.8rem;
    font-weight: 500;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.02em;
}

/* PRIMARY */
.index-hero .btn-primary {
    background: #1C323A;
    color: #ffffff;
    border: 1.5px solid #1C323A;
}

.index-hero .btn-primary:hover {
    background: transparent;
    color: #1C323A;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(28, 50, 58, 0.15);
}

/* SECONDARY */
.index-hero .btn-secondary {
    background: transparent !important;
    border: 1.5px solid #1C323A;
    color: #1C323A;
}

.index-hero .btn-secondary:hover {
    background: #1C323A !important;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(28, 50, 58, 0.15);
}

/* Ventures Logo Band */
#ventures {

    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    margin-top: -6rem;
}

#ventures h2 {
    display: none;
}

#ventures::before,
#ventures::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    background: #1C323A;
    z-index: 5;
}

#ventures::before {
    top: 0;
    /* Curved bottom edge that pinches in the middle */
    clip-path: polygon(0 60%, 50% 85%, 100% 60%, 150% 100%, 0 100%);
}

#ventures::after {
    bottom: 0;
    /* Curved top edge that pinches in the middle */
    clip-path: polygon(0 0, 150% 0, 100% 35%, 50% 15%, 0 35%);
}

.ventures-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.ventures-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(4rem, 8vw, 8rem);
    width: max-content;
}

.ventures-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem 5rem;
}

.venture-logo {
    height: clamp(50px, 10vw, 120px);
    width: auto;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.venture-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.ventures-stats {
    padding: 40px 5%;
    background: #fafafa;
    text-align: center;
}

.ventures-stats-grid {
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ventures-stat-box {
    background: #fafafa;
    border-radius: 14px;
    padding: 20px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    text-align: center;
    border: 2px solid #d4a643;
    max-width: 200px;
    width: 100%;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.ventures-stat-box:hover {
    transform: translateY(-5px);
}

.ventures-stat-box h3 {
    color: #d4a643;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 8px;
}

.ventures-stat-box p {
    color: #000000;
    font-size: 0.95rem;
}

/* Why */
#why {
    background: #ffffff;
    padding: 5rem 0;
}

#why h2 {
    color: var(--text-dark);
    text-align: left;
    margin: 0 0 2.5rem;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.0;
}

.why-layout {
    display: flex;
    align-items: stretch;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.why-list {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
}

.why-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.6;
}

.check-icon {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: bold;
    flex-shrink: 0;
}

.why-image {
    flex: 0 0 clamp(300px, 45vw, 600px);
}

.why-image img,
.why-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.why-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
}

.why-video-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.why-video-container:hover .why-video-controls {
    opacity: 1;
}

.why-video-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.why-video-btn:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: scale(1.1);
}

/* Fullscreen styles */
.why-video-container:fullscreen,
.why-video-container:-webkit-full-screen {
    background: #000;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-video-container:fullscreen video,
.why-video-container:-webkit-full-screen video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.why-video-container:fullscreen .why-video-controls,
.why-video-container:-webkit-full-screen .why-video-controls {
    opacity: 1;
    bottom: 30px;
    right: 30px;
}

/* Partnerships - Sticky Scroll Section */
main {
    display: block !important;
    overflow: visible !important;
}

#partnerships {
    background: #C9D3D7;
    position: relative;
    height: 400vh;
    /* Increased from 200vh to prevent slide skipping */
    padding: 0;
    /* Remove default padding to prevent resizing when pinned */
    display: block !important;
}

.partnerships-sticky {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px);
    top: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 20px;
    /* Removed top padding */
    box-sizing: border-box;
    z-index: 5;
}

.partnerships-sticky.is-fixed {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
}

.partnerships-sticky.is-bottom {
    position: absolute;
    bottom: 30px;
    top: auto;
    left: 0;
    width: 100%;
}

.partnerships-card {
    background: #FFFFFF;
    border-radius: 40px;
    max-width: 1400px;
    width: calc(100% - 10%);
    /* Use fixed-style percentage for consistency */
    height: 100%;
    margin: 0 auto;
    padding: 20px 60px 40px;
    /* Reduced top padding */
    box-sizing: border-box;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.6s ease;
    overflow: hidden;
}

.sticky-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 15px;
}

.sticky-header h2 {
    font-family: var(--font-secondary);
    font-size: 48px;
    /* Specifically 48px as requested */
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.sticky-content-wrapper {
    display: flex;
    gap: 4rem;
    position: relative;
    padding-bottom: 20px;
    flex: 1;
    align-items: center;
}

.scroll-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    min-height: 250px;
}

.scroll-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Ensure left alignment */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.4s ease;
    transform: translateY(20px);
    will-change: transform, opacity;
}

.scroll-step.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    transition: opacity 0.5s ease 0.2s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}

.step-tag {
    display: inline-block;
    padding: 10px 22px;
    background: #F0F4F7;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    width: fit-content;
    color: var(--accent);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.scroll-step h3 {
    font-family: var(--font-secondary);
    font-size: 40px;
    /* Specifically 40px as requested */
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.1;
}

.scroll-step p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 26px;
    margin-bottom: 1.5rem;
    max-width: 520px;
    opacity: 0.85;
    text-align: justify;
}

.scroll-step .client-designation {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0;
    /* Removed auto to keep it centered with the block */
    font-family: var(--font-primary);
    opacity: 0.8;
}

.visual-column {
    flex: 1.25;
    height: 100%;
    position: relative;
    margin-top: 2%;
    /* Shift image column up slightly */
}

.sticky-image-card {
    width: 100%;
    height: 100%;
    background: #F9FBFB;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.12);
    position: relative;
}

.image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateY(100%);
    will-change: transform, opacity;
}

.image-layer.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.image-layer.past {
    opacity: 0;
    transform: translateY(-50px) scale(1.05);
    /* Slide out and slight scale */
}

.image-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Monitor (Full HD 1920x1080)*/
@media screen and (min-width: 1920px) {
    .index-hero {
        align-items: flex-end !important;
        min-height: 80vh !important;
        padding-top: 40px !important;
    }

    .index-hero .hero-container {
        max-width: 1600px;
        padding-bottom: 70px;
    }

    .index-hero .hero-left {
        padding-bottom: 5vh !important;
        /* Image ke side wala hero text hai yeh*/
    }

    .index-hero .hero-left h1 {
        font-size: 84px !important;
        margin-bottom: 1rem;
    }

    .index-hero .hero-left p {
        font-size: 18px !important;
        line-height: 30px;
        max-width: 650px;
        margin-bottom: 4rem;
    }

    .index-hero .hero-profile-img {
        width: 580px !important;
        height: auto !important;
        margin-bottom: -8.5rem !important;
    }
}

/* INDEX PAGE RESPONSIVE STYLES*/


/* Tablet (769px - 992px) */
@media (max-width: 992px) {
    .index-hero {
        padding: 80px 5% 50px;
        min-height: auto;
    }

    .index-hero .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .index-hero .hero-left {
        align-items: center;
        text-align: center;
        padding-bottom: 0;
    }

    .index-hero .hero-left h3,
    .index-hero .hero-left h2,
    .index-hero .hero-left p {
        margin-left: 0;
    }

    .index-hero .hero-left p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .index-hero .hero-right {
        order: -1;
        justify-content: center;
    }

    .index-hero .hero-profile-img {
        width: 340px;
        /* Increased from 280px for better tablet visibility */
        height: auto;
        margin-bottom: 0;
        filter: drop-shadow(40px 10px 25px #344A54) drop-shadow(-20px 10px 25px rgba(52, 74, 84, 0.7));
    }

    .why-layout {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .why-list {
        align-items: center;
        text-align: center;
    }

    .why-checklist {
        width: fit-content;
        margin: 0 auto;
    }

    .why-checklist li {
        text-align: left;
    }

    .why-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    #why h2 {
        text-align: center;
        margin-bottom: 2rem;
    }

    .why-point h3,
    .why-point p {
        text-align: center;
    }

    .ventures-track {
        gap: 3rem;
    }

    #ventures {
        margin-top: -3rem;
        /* Adjusted from -6rem to prevent overlap with centered hero content on tablets */
    }
}

/* Mobile Navigation (up to 768px) */
@media (max-width: 768px) {
    .index-hero {
        padding: 80px 5% 40px;
        min-height: auto;
    }

    .index-hero .hero-container {
        gap: 1.5rem;
    }

    .index-hero .hero-left h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .index-hero .hero-left h2 {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
    }

    .index-hero .hero-left p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .index-hero .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .index-hero .btn-primary,
    .index-hero .btn-secondary {
        width: 100%;
        max-width: 300px;
        min-width: unset;
        padding: 1rem 2rem;
    }

    .index-hero .hero-profile-img {
        width: 240px;
        height: auto;
    }

    #ventures {
        padding: 1.5rem 0;
        margin-bottom: -2rem;
    }

    #ventures h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .ventures-track {
        gap: 2rem;
        padding: 1rem 0;
    }

    .venture-logo {
        height: 80px;
    }

    .ventures-stats {
        padding: 40px 5%;
    }

    .ventures-stats-grid {
        flex-direction: column;
        gap: 15px;
    }

    .ventures-stat-box {
        padding: 25px 20px;
    }

    #why {
        padding: 3rem 0;
    }

    #why h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .why-point {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .why-icon {
        width: 45px;
    }

    .why-point h3 {
        font-size: 1.1rem;
    }

    .why-point p {
        font-size: 0.95rem;
    }

    /* Mobile Partnerships - fix overlapping scroll steps */
    #partnerships {
        height: auto;
        padding: 60px 0;
    }

    .partnerships-sticky {
        height: auto;
        padding: 0 5%;
        position: relative !important;
        display: block;
        top: 0;
    }

    .partnerships-sticky.is-fixed,
    .partnerships-sticky.is-bottom {
        position: relative !important;
        top: 0 !important;
        bottom: auto !important;
    }

    .partnerships-card {
        height: auto;
        padding: 40px 20px;
        border-radius: 30px;
    }

    .sticky-header h2 {
        font-size: var(--h2-size);
        margin-bottom: 20px;
    }

    .sticky-content-wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
    }

    .scroll-column {
        height: auto;
        min-height: auto;
    }

    .scroll-step {
        position: relative;
        opacity: 1;
        transform: none;
        pointer-events: all;
        margin-bottom: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .scroll-step:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .visual-column {
        display: none;
    }

    .step-tag {
        font-size: 0.85rem;
        letter-spacing: 0.05em;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .scroll-step h3 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .scroll-step p {
        font-size: 15px;
        margin-bottom: 1rem;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .index-hero {
        padding: 70px 4% 30px;
    }

    .index-hero .hero-left h3 {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .index-hero .hero-left h1 {
        font-size: 2rem;
    }

    .index-hero .hero-left h2 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .index-hero .hero-left p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .index-hero .hero-profile-img {
        width: 200px;
        height: auto;
        border-radius: 12px;
    }

    .index-hero .btn-primary,
    .index-hero .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    #ventures h2 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }

    .venture-logo {
        height: 70px;
    }

    .ventures-stat-box h3 {
        font-size: 1.2rem;
    }

    .ventures-stat-box p {
        font-size: 0.85rem;
    }

    #why h2 {
        font-size: 1.4rem;
        text-align: left;
    }

    .why-point {
        margin-bottom: 1.5rem;
    }

    .why-image {
        max-width: 100%;
    }

    .why-image img,
    .why-image video {
        border-radius: 12px;
    }

    .why-video-container {
        border-radius: 12px;
    }

    /* Mobile Partnerships */
    #partnerships {
        height: auto;
        padding: 60px 0;
    }

    .partnerships-sticky {
        height: auto;
        padding: 0 5%;
        position: relative !important;
        display: block;
    }

    .partnerships-card {
        height: auto;
        padding: 40px 20px;
        border-radius: 30px;
    }

    .sticky-header h2 {
        font-size: var(--h2-size);
        margin-bottom: 20px;
    }

    .sticky-content-wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
    }

    .scroll-column {
        height: auto;
        min-height: auto;
    }

    .scroll-step {
        position: relative;
        opacity: 1;
        transform: none;
        pointer-events: all;
        margin-bottom: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .scroll-step:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .visual-column {
        display: none;
        /* Hide sticky images on mobile for better flow */
    }

    .step-tag {
        font-size: 0.85rem;
        letter-spacing: 0.05em;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .scroll-step h3 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .scroll-step p {
        font-size: 15px;
        margin-bottom: 1rem;
    }
}

/* -- Case Studies Section -- */
#index-case-studies {
    padding: 40px 0 100px;
    background-color: #f8fafc;
}

.cs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: #1C323A;
    font-weight: 400;
}

.cs-slider-main {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.slider-controls {
    display: flex;
    gap: 12px;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #1C323A;
    background: transparent;
    color: #1C323A;
    padding: 0;
    flex-shrink: 0;
}

.slider-arrow.prev:hover {
    background: rgba(28, 50, 58, 0.05);
    transform: translateX(-3px);
}

.slider-arrow.next {
    background: #1C323A;
    color: #fff;
}

.slider-arrow.next:hover {
    background: #2a4b56;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cs-slider-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 20px 5px;
}

.cs-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.cs-card-img {
    width: 100%;
    height: 220px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin-bottom: 24px;
}

.cs-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.cs-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
    display: block;
    font-weight: 400;
}

.cs-card-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 400;
}

.cs-card-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cs-read-more {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a202c;
    text-decoration: none;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.cs-read-more:hover {
    color: #1C323A;
}

.cs-footer {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.btn-read-more-all {
    background: #1C323A;
    color: #ffffff;
    padding: 14px 40px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-read-more-all:hover {
    background: #2a4b56;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 50, 58, 0.2);
}

/* -- Testimonials Section - PRECISE MOCKUP STYLE -- */
#index-testimonials {
    padding: 100px 0 40px;
    background-color: #ffffff;
}

.test-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.test-header h2 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: #1C323A;
    font-weight: 400;
}

.test-slider-wrapper {
    overflow: hidden;
    margin: 0 -15px;
    padding: 20px 15px;
}

.test-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.test-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.test-stars {
    color: #FBBF24;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.test-divider {
    border-top: 1px dotted #cbd5e1;
    margin: 0 0 20px 0;
    width: 100%;
}

.test-quote-box {
    background-color: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    min-height: 150px;
    display: flex;
    align-items: center;
}

.test-quote {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.test-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h4 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 4px;
    font-weight: 600;
}

.user-info h4 span {
    font-weight: 400;
    color: #64748b;
    font-size: 1.15rem;
    margin-left: 8px;
}

.user-info p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.test-nav {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.test-dots {
    display: flex;
    gap: 10px;
}

.test-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-dots .dot.active {
    background: #1C323A;
    transform: scale(1.2);
}

/* Responsiveness */
@media (max-width: 1024px) {

    .cs-card,
    .test-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {

    .cs-card,
    .test-card {
        flex: 0 0 100%;
    }

    .cs-card {
        padding: 14px;
        max-width: 320px;
        margin: 0 auto;
    }

    .cs-card-img {
        height: 180px;
        margin-bottom: 16px;
    }

    .cs-card-content h3 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .cs-card-content p {
        font-size: 0.88rem;
        margin-bottom: 16px;
    }

    .cs-label {
        margin-bottom: 8px;
        font-size: 0.8rem;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .cs-slider-main {
        gap: 10px;
    }

    .slider-arrow.side {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        max-height: 36px;
        aspect-ratio: 1;
        align-self: center;
    }

    .cs-footer {
        margin-top: 30px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .slider-controls {
        align-self: flex-end;
    }

    #index-case-studies {
        padding: 40px 0 60px;
    }

    #index-testimonials {
        padding: 60px 0 20px;
    }
}