.case-studies-header {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), #6a0dad4d);
}

.case-studies-header-content {
    position: relative;
    z-index: 2;
}

.case-studies-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    opacity: 0.1;
}

.header-feedback {
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-top: 40px;
}

.case-data {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 18px;
    color: #666;
}

.case-data strong {
    color: #6a0dad;
}

.case-data.last {
    border-bottom: none;
}

.image-container.case {
    height: 400px;
    background: #f5f5f5;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.image-container.case.right {
    margin-left: auto;
}

/* Add responsive styles as needed */
@media (max-width: 768px) {
    .row.flex-center {
        flex-direction: column;
    }
    
    .col-6 {
        width: 100%;
        margin-bottom: 40px;
    }
}

.client-review-section {
    padding: 60px 0 40px 0;
    background: var(--color-light, #fff);
    text-align: center;
}
.client-review-card {
    max-width: 420px;
    margin: 0 auto;
    background: #fffbe7;
    border-radius: 12px 32px 12px 32px;
    padding: 32px 28px 24px 28px;
    box-shadow: 0 8px 32px rgba(180, 160, 60, 0.13), 0 2px 8px rgba(80, 60, 20, 0.06);
    border: 2px solid #ffe066;
    position: relative;
    text-align: left;
    font-family: 'Red Hat Display', sans-serif;
    transition: box-shadow 0.2s;
}

.client-review-card::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    background: url('../images/pin.svg') no-repeat center/contain;
    opacity: 0.7;
    pointer-events: none;
}

.client-review-text {
    font-size: 1.15rem;
    color: #7c6f3c;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
}

.client-review-author {
    font-size: 1rem;
    color: #b89c2c;
    font-weight: 700;
}

.client-company {
    margin-left: 8px;
    font-weight: 500;
    color: #a89c6c;
}

.section.dark {
    background-color: var(--dark, #1f1f1f);
    background-position: 100% 0, 0 100%;
    background-repeat: no-repeat, no-repeat;
    background-size: 22%, 22%;
    padding-top: 40px;
    padding-bottom: 40px;
    overflow: hidden;
}

@media screen and (max-width: 991px) {
    .section.dark {
        padding-top: 60px;
        padding-bottom: 60px;
        background-size: 35%, 35%;
    }
}
@media screen and (max-width: 767px) {
    .section.dark {
        padding-top: 40px;
        padding-bottom: 40px;
        background-size: 55%, 55%;
    }
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 32px;
    margin-bottom: 8px;
}

.logo-row img {
    max-width: 110px;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
}
.logo-row img:hover {
    opacity: 1;
    transform: scale(1.06);
}

@media (max-width: 991px) {
    .logo-row {
        gap: 28px;
    }
    .logo-row img {
        max-width: 90px;
    }
}
@media (max-width: 767px) {
    .logo-row {
        gap: 18px;
        flex-wrap: wrap;
    }
    .logo-row img {
        max-width: 70px;
    }
}

/* Case Study Card Base Styles */
.case-study-card-dark,
.case-study-card-light {
    padding: 48px;
    margin: 32px 0;
    border-radius: 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card-dark {
    background: #18171c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.case-study-card-light {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Row and Column Layout */
.row.flex-center {
    display: flex;
    align-items: flex-start; /* Changed from center to allow content to flow naturally */
    gap: 40px;
    width: 100%;
}

.col-3-4 {
    flex: 0 0 65%; /* Don't grow, don't shrink, base width 65% */
    width: 65%;
}

.col-1-4 {
    flex: 0 0 25%; /* Don't grow, don't shrink, base width 25% */
    width: 25%;
}

/* Image Container Styles */
.image-container.case {
    width: 100%;
    height: 300px; /* Fixed height or adjust as needed */
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
}

/* Text Colors for Dark Card */
.case-study-card-dark h3 {
    color: #fff !important; /* Override any existing styles */
}

.case-study-card-dark p,
.case-study-card-dark .case-data {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Hover Effects */
.case-study-card-dark:hover,
.case-study-card-light:hover {
    transform: translateY(-4px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .row.flex-center {
        flex-direction: column;
    }

    .col-3-4,
    .col-1-4 {
        flex: 0 0 100%;
        width: 100%;
    }

    .case-study-card-dark,
    .case-study-card-light {
        padding: 24px;
    }

    .image-container.case {
        height: 200px;
        margin-bottom: 24px;
    }
}