/* Toolkit Section Base */
.toolkit-section {
    position: relative;
    overflow: hidden;
    z-index: 50;
    background-color: #FCF9F1;
    padding: 100px 5% 120px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.toolkit-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.toolkit-header {
    text-align: center;
    margin-bottom: 40px;
}

.toolkit-title {
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 4rem;
    font-weight: 600;
    color: #111111;
    margin: 0 0 16px 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.toolkit-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #555555;
    margin: 0;
}

/* Tabs Navigation */
.toolkit-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    max-width: 900px;
}

.toolkit-tab-btn {
    background-color: #F0F0F0;
    color: #111111;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.toolkit-tab-btn:hover {
    background-color: #e4e4e4;
}

.toolkit-tab-btn.active {
    background-color: #70B9D2;
    color: #ffffff;
}

/* Carousel Area */
.toolkit-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolkit-carousel-track {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 470px;
}

/* Individual Cards */
.toolkit-card {
    position: absolute;
    left: 50%;
    top: 0;
    width: 400px;
    height: 430px;
    border-radius: 24px;
    padding: 32px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform-origin: center bottom;
    cursor: pointer;
}

/* Card Visual Variations */
.card-color-1 {
    background-color: #C6E2E9;
    color: #1D3E48;
}

.card-color-2 {
    background-color: #F2C6D4;
    color: #522334;
}

.card-color-3 {
    background-color: #CBE0D0;
    color: #244031;
}

.card-color-4 {
    background-color: #F7D2C4;
    color: #5C2B2B;
}

.card-color-5 {
    background-color: #BCE2DD;
    color: #1E4A45;
}

.card-color-6 {
    background-color: #D8E0F2;
    color: #2B3553;
}

.card-color-1 .card-subtitle {
    color: #3A6B78;
}

.card-color-2 .card-subtitle {
    color: #7E4158;
}

.card-color-3 .card-subtitle {
    color: #3F6A52;
}

.card-color-4 .card-subtitle {
    color: #8A4B4B;
}

.card-color-5 .card-subtitle {
    color: #37756F;
}

.card-color-6 .card-subtitle {
    color: #4E5B82;
}

/* Card Inner Content */
.card-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.card-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid currentColor;
    opacity: 0.8;
}

.card-icon {
    width: 32px;
    height: 32px;
}

.card-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 8px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.card-subtitle {
    font-size: 0.93rem;
    line-height: 1.48;
    margin: 0;
}

.card-bottom-placeholder {
    display: none;
}

.card-bottom-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.25);
}

/* Directional Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, transform 0.2s, opacity 0.2s;
}

.carousel-btn:hover:not(:disabled) {
    background-color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

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

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke: #111111;
}

/* Responsive */
@media (max-width: 768px) {
    .toolkit-title {
        font-size: 2.5rem;
    }

    .toolkit-carousel-wrapper {
        height: 600px;
    }

    .toolkit-carousel-track {
        height: 460px;
    }

    .toolkit-card {
        width: 300px;
        height: 440px;
        padding: 28px 20px;
    }

    .card-bottom-placeholder {
        display: none;
    }

    .card-title {
        font-size: 1.55rem;
    }

    .card-subtitle {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .carousel-btn.prev {
        left: 0px;
    }

    .carousel-btn.next {
        right: 0px;
    }
}
