/* ============================================
   Training Calendar Page Styles
   ============================================ */

/* Page Hero */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a2d5a 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-bg.png') repeat;
    opacity: 0.05;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: #c6a14b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #d4b163;
}

.breadcrumb i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

.page-title {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Calendar Section */
.calendar-section {
    padding: 100px 0;
    background: #ffffff;
}

/* Training Categories Section */
.training-categories {
    padding: 100px 0;
    background: #f8f9fa;
}
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.category-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(13, 27, 62, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(13, 27, 62, 0.15);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a2d5a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.category-icon i {
    font-size: 32px;
    color: #c6a14b;
}

.category-title {
    font-size: 22px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 20px;
    line-height: 1.3;
}

.course-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-list li {
    margin-bottom: 12px;
}

.course-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.course-link::before {
    content: '→';
    color: #c6a14b;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

.course-link:hover {
    color: #0d1b3e;
    padding-left: 8px;
}

.course-link:hover::before {
    transform: translateX(4px);
}

/* Training Categories Section */
.training-categories {
    padding: 100px 0;
    background: #f8f9fa;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 50px 0 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 16px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tab {
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    background: #ffffff;
    color: #495057;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: #c6a14b;
    color: #0d1b3e;
}

.filter-tab.active {
    background: #0d1b3e;
    border-color: #0d1b3e;
    color: #ffffff;
}

.calendar-actions {
    display: flex;
    gap: 12px;
}

/* Calendar Table */
.calendar-table-container {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(13, 27, 62, 0.08);
    margin-bottom: 40px;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.calendar-table thead {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a2d5a 100%);
}

.calendar-table th {
    padding: 20px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.calendar-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.calendar-table tbody tr:hover {
    background: #f8f9fa;
}

.calendar-table tbody tr.hidden {
    display: none;
}

.calendar-table td {
    padding: 20px 16px;
    font-size: 14px;
    color: #495057;
    vertical-align: middle;
}

.course-title-col {
    font-weight: 600;
    color: #0d1b3e;
    min-width: 300px;
}

.category-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.category-badge.administrative {
    background: #e3f2fd;
    color: #1976d2;
}

.category-badge.financial {
    background: #f3e5f5;
    color: #7b1fa2;
}

.category-badge.marketing {
    background: #e8f5e9;
    color: #388e3c;
}

.category-badge.supply-chain {
    background: #fff3e0;
    color: #f57c00;
}

.category-badge.hse {
    background: #fce4ec;
    color: #c2185b;
}

.category-badge.medical {
    background: #e0f2f1;
    color: #00796b;
}

.category-badge.education {
    background: #fff9c4;
    color: #f57f17;
}

.category-badge.government {
    background: #e8eaf6;
    color: #3f51b5;
}

.fee-col {
    font-weight: 700;
    color: #0d1b3e;
    white-space: nowrap;
}

.book-btn {
    white-space: nowrap;
    padding: 8px 20px;
    font-size: 13px;
}

/* Calendar Note */
.calendar-note {
    margin-top: 50px;
}

.note-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border-left: 4px solid #c6a14b;
}

.note-card i {
    font-size: 32px;
    color: #c6a14b;
    flex-shrink: 0;
}

.note-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 12px;
}

.note-content p {
    font-size: 15px;
    color: #495057;
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a2d5a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-bg.png') repeat;
    opacity: 0.05;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a2d5a 100%);
    position: relative;
    overflow: hidden;
}

/* Logo Wall Section */
.logo-wall {
    padding: 100px 0;
    background: #f8f9fa;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.logo-item {
    position: relative;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(13, 27, 62, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.logo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(13, 27, 62, 0.15);
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #0d1b3e;
}

.logo-fallback i {
    font-size: 40px;
    color: #c6a14b;
}

.logo-fallback span {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #0d1b3e;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-title {
        font-size: 42px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

    .calendar-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tabs {
        justify-content: center;
    }

    .calendar-actions {
        justify-content: center;
    }

    .calendar-table th,
    .calendar-table td {
        padding: 16px 12px;
        font-size: 13px;
    }

    .course-title-col {
        min-width: 250px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 80px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .training-categories {
        padding: 60px 0;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .category-card {
        padding: 30px 24px;
    }

    .calendar-section {
        padding: 60px 0;
    }

    .calendar-controls {
        padding: 20px;
        margin: 30px 0 30px;
    }

    .filter-tabs {
        gap: 8px;
    }

    .filter-tab {
        padding: 10px 18px;
        font-size: 13px;
    }

    .calendar-table th,
    .calendar-table td {
        padding: 12px 10px;
        font-size: 12px;
    }

    .course-title-col {
        min-width: 200px;
    }

    .note-card {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .category-title {
        font-size: 20px;
    }

    .calendar-table-container {
        border-radius: 8px;
    }

    .calendar-table th {
        font-size: 11px;
        padding: 12px 8px;
    }

    .calendar-table td {
        font-size: 11px;
        padding: 10px 8px;
    }

    .category-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .book-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
}
