:root {
    --primary-color: #003049;
    --accent-color: #B00000;
    --surface-color: #ffffff;
    --text-main: #333333;
    --text-muted: #6c757d;
    --border-radius-card: 16px;
}

.modern-card-style {
    background: var(--surface-color);
    border-radius: var(--border-radius-card);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-card-style:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.hero-card {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-image-col {
    width: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
}

.hero-info-col {
    padding: 30px;
    width: 100%;
}

@media (min-width: 992px) {
    .hero-image-col { width: 40%; }
    .hero-info-col { width: 60%; padding: 40px; }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    margin-top: 30px;
}

.info-box-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.info-box-item:hover {
    background-color: #fff;
    border-color: var(--primary-color);
}

.info-box-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 48, 73, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-box-text {
    display: flex;
    flex-direction: column;
}

.info-box-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-box-value {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.2;
}

.course-nav-container {
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 48, 73, 0.2);
}

.course-nav-pills {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 5px;
}

.course-nav-pills .nav-item {
    flex: 1; 
    text-align: center;
}

.course-nav-pills .nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    padding: 12px 10px;
    border-radius: 8px;
    transition: all 0.3s;
    background: transparent;
}

.course-nav-pills .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.course-nav-pills .nav-link.active {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.tab-content-card {
    padding: 40px;
    min-height: 400px;
}
.tab-pane h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

.sticky-sidebar-wrapper {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.price-card {
    padding: 30px;
    text-align: center;
    border: 1px solid #eee;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.btn-buy {
    background-color: var(--accent-color);
    color: #fff;
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 4px 15px rgba(176, 0, 0, 0.3);
    transition: all 0.2s;
}

.btn-buy:hover {
    background-color: #900000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 0, 0, 0.4);
    color: #fff;
}

.custom-card {
    background: var(--primary-color);
    padding: 30px;
    color: #fff;
    text-align: left;
    border: none;
}

.custom-card h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.custom-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-outline-custom {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    background: transparent;
    width: 100%;
    padding: 10px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}


/* All kurzy */

:root {
    --primary-color: #003049;
    --accent-color: #B00000;
    --surface-color: #ffffff;
    --text-main: #333333;
    --text-muted: #6c757d;
    --border-radius-card: 16px;
}

.widget-box {
    padding: 30px;
    border-radius: var(--border-radius-card);
    background: var(--surface-color);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 48, 73, 0.1);
}

.modern-search-form { position: relative; }

.modern-search-field {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 50px;
    transition: all 0.3s;
    outline: none;
    color: var(--text-main);
}

.modern-search-field:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 48, 73, 0.1);
}

.modern-search-submit {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 46px;
    width: 46px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-search-submit:hover { background: var(--accent-color); }

.modern-cat-list { list-style: none; padding: 0; margin: 0; }
.modern-cat-list li { margin-bottom: 10px; }
.modern-cat-list a {
    margin-top: 7px;
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modern-cat-list a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
}
.modern-cat-list a:after {
    font-family: 'FontAwesome'; 
    content: "\f105"; 
    opacity: 0.5;
}
.modern-cat-list a:hover:after { opacity: 1; }

.course-card-modern {
    background: #fff;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.course-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: rgba(0, 48, 73, 0.1);
}

.course-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card-modern:hover .course-img-wrapper img { transform: scale(1.05); }

.course-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.95);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-decoration: none;
    z-index: 2;
}

.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 15px;
    display: block;
    line-height: 1.4;
}

.course-title-link:hover { color: var(--accent-color); }

.course-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.course-footer {
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-detail {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-detail:hover { color: var(--accent-color); }
.btn-detail i { transition: transform 0.2s; }
.btn-detail:hover i { transform: translateX(4px); }