* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, sans-serif;
    background: #f5f5f5;
    /* padding: 40px 20px; */
}

.case-studies-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

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

.header h1 {
    font-size: 2.8rem;
    font-weight: 400;
    color: #2c3e50;
}

.get-access-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #e8e8e8;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.get-access-btn:hover {
    background: #d8d8d8;
}

.get-access-btn svg {
    width: 16px;
    height: 16px;
}

.carousel-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
    margin-bottom: 30px;
}

.main-card {
    position: relative;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.main-card-image {
    height: 400px;
    position: relative;
}

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

.card-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.card-nav-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-nav-btn.prev {
    left: 20px;
}

.card-nav-btn.next {
    right: 20px;
}

.card-nav-btn svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.main-card-content {
    padding: 35px;
}

.main-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.main-card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.card-actions {
    display: flex;
    gap: 12px;
}

.action-icon {
    width: 42px;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-icon:hover {
    background: #f8f9fa;
    border-color: #999;
}

.action-icon svg {
    width: 20px;
    height: 20px;
    color: #555;
}

.side-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 190px;
}

.side-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.side-card-image {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.side-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.side-card-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.side-card-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.side-card-nav:hover {
    transform: scale(1.1);
}

.side-card-nav svg {
    width: 18px;
    height: 18px;
    color: #333;
}

.description-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.description-section p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: gap 0.3s ease;
}

.explore-link:hover {
    gap: 12px;
}

.explore-link svg {
    width: 18px;
    height: 18px;
}

.bottom-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #f8f9fa;
    border-color: #999;
}

.control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.control-btn svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.progress-indicator {
    width: 100px;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #333;
    width: 33.33%;
    transition: width 0.5s ease;
}

@media (max-width: 1024px) {
    .carousel-section {
        grid-template-columns: 1fr;
    }

    .side-cards {
        flex-direction: row;
        overflow-x: auto;
    }

    .side-card {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .main-card-content {
        padding: 25px;
    }

    .description-section {
        padding: 25px;
    }
}
