.header {
    text-align: center;
    color: white;
}

.header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header p {
    font-size: 18px;
    opacity: 0.9;
}

.container {

    max-width: 1400px;
    margin: 0 auto;
}

.training-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.training-card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    gap: 35px;
}


@media (max-width: 1024px) {
    .training-card-wrapper {
        grid-template-columns: repeat(2, minmax(320px, 1fr));
    }
}
@media (max-width: 768px) {
    .training-card-wrapper {
        grid-template-columns: repeat(1, minmax(320px, 1fr));
    }
}
.training-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.training-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.card-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.training-card:hover .card-image {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #7e22ce;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 28px;
}


.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.price-label {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100%;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: white !important;
}

.cta-button:active {
    transform: translateY(0);
}

/* Different card themes */
.card-theme-purple .card-category,
.card-theme-purple .feature-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-theme-blue .card-category {
    color: #2563eb;
}

.card-theme-blue .feature-icon,
.card-theme-blue .cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.card-theme-green .card-category {
    color: #059669;
}

.card-theme-green .feature-icon,
.card-theme-green .cta-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 32px;
    }

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

    .card-title {
        font-size: 21px;
    }
}
