﻿
:root {
    --primary-color: #3a86ff;
    --secondary-color: #ff006e;
    --accent-color: #ff9e01;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --slider-height: 500px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9fafb;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(to right, var(--dark-color), #2d2d4e);
    color: white;    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

    .logo i {
        color: var(--accent-color);
        margin-right: 10px;
    }

    .logo span {
        color: var(--accent-color);
    }

nav ul {
    display: flex;
    list-style: none;
}

    nav ul li {
        margin-left: 25px;
    }

        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            padding: 8px 12px;
            border-radius: 4px;
        }

            nav ul li a:hover {
                color: var(--accent-color);
                background: rgba(255, 255, 255, 0.1);
            }

/* Hero Slider */
.main-slider {
    margin-top: 20px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.slider-container {
    position: relative;
    height: var(--slider-height);
    overflow: hidden;
    border-radius: 12px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

    .slide.active {
        opacity: 1;
    }

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.7));
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 80px;
    max-width: 800px;
}

.big-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.small-title {
    font-size: 1.4rem;
    margin-bottom: 35px;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease;
}

.theme-btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(255, 158, 1, 0.4);
    animation: fadeInUp 1.4s ease;
}

    .theme-btn:hover {
        background: #ffae2b;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(255, 158, 1, 0.6);
    }

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    width: 0%;
    background: var(--secondary-color);
    z-index: 10;
    transition: width 0.1s linear;
}

.slide-counter {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    transform: translateY(-50%);
    z-index: 10;
}

.arrow {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

    .arrow:hover {
        background: var(--primary-color);
        transform: scale(1.1);
    }

.slider-controls {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

    .slider-dot.active {
        background: white;
        transform: scale(1.3);
    }

/* Search Section */
.search-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px;
    border-radius: 12px;
    margin: 40px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
}

.search-title {
    text-align: center;
    margin-bottom: 25px;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.8rem;
}

.search-box {
    display: flex;
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 16px 25px;
    border: 2px solid #ddd;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

    .search-input:focus {
        border-color: var(--primary-color);
        box-shadow: inset 0 2px 5px rgba(58, 134, 255, 0.2);
    }

.search-btn {
    padding: 16px 35px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
}

    .search-btn:hover {
        background: #2563eb;
        box-shadow: 0 6px 18px rgba(58, 134, 255, 0.4);
    }

.filter-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-label {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.filter-select {
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

    .filter-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
    }

/* Course Cards */
.search-results {
    padding: 60px 0;
}

.results-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 2.2rem;
    position: relative;
}

    .results-title:after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: var(--accent-color);
        margin: 15px auto 0;
        border-radius: 2px;
    }

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

    .course-card:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    }

    .course-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.course-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img {
    transform: scale(1.05);
}

.course-content {
    padding: 25px;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.course-desc {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

    .course-meta span {
        display: flex;
        align-items: center;
    }

    .course-meta i {
        margin-right: 8px;
        color: var(--primary-color);
    }

/* Training Modes */
.program-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #fff);
    position: relative;
}

    .program-section h3 {
        text-align: center;
        margin-bottom: 50px;
        font-weight: 600;
        color: var(--dark-color);
        font-size: 1.8rem;
    }

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.program-block {
    padding: 0 15px;
    margin-bottom: 30px;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.inner-box {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .inner-box:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
    }

    .inner-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

        .inner-box:hover:after {
            transform: scaleX(1);
        }

.icon-box {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.inner-box:hover .icon-box {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.program-block h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

    .program-block h3 a {
        color: var(--dark-color);
        text-decoration: none;
        transition: var(--transition);
    }

        .program-block h3 a:hover {
            color: var(--primary-color);
        }

/* Category Tabs */
.nav-tabs {
    border-bottom: 2px solid #eee;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 5px;
    justify-content: center;
}

    .nav-tabs .nav-link {
        border: none;
        padding: 14px 25px;
        color: #666;
        font-weight: 500;
        white-space: nowrap;
        border-radius: 8px;
        margin-right: 8px;
        background: #f8f9fa;
        transition: var(--transition);
    }

        .nav-tabs .nav-link.active {
            color: white;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            box-shadow: 0 5px 15px rgba(58, 134, 255, 0.4);
        }

.tab-content {
    width: 100%;
}

.cat-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

    .cat-table a {
        display: flex;
        text-decoration: none;
        background: #fff;
        color: #000;
        font-family: "Poppins", sans-serif;
        font-size: 14px;
        border: 1px solid #eee;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: var(--transition);
        overflow: hidden;
    }

        .cat-table a:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            text-decoration: none;
            color: #000;
        }

.catbox {
    display: flex;
    align-items: center;
    padding: 20px;
    width: 100%;
}

.catbox-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.cat-table a:hover .catbox-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(10deg);
}

.catbox-text {
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

/* Venues Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fff, #f8f9fa);
}

    .services-section h2 {
        text-align: center;
        margin-bottom: 50px;
        font-weight: 600;
        color: var(--dark-color);
        font-size: 2.2rem;
        position: relative;
    }

        .services-section h2:after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--accent-color);
            margin: 15px auto 0;
            border-radius: 2px;
        }

.venue-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.venue-item {
    flex: 0 0 calc(16.666% - 25px);
    max-width: calc(16.666% - 25px);
    margin-bottom: 25px;
}

.venue-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
}

    .venue-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.venue-image {
    height: 180px;
    overflow: hidden;
}

    .venue-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.venue-card:hover .venue-image img {
    transform: scale(1.1);
}

.venue-info {
    padding: 20px;
    text-align: center;
}

    .venue-info h3 {
        margin: 0 0 15px;
        font-size: 1.2rem;
        font-weight: 600;
    }

        .venue-info h3 a {
            color: var(--dark-color);
            text-decoration: none;
            transition: var(--transition);
        }

            .venue-info h3 a:hover {
                color: var(--primary-color);
            }

.venue-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

    .venue-link:hover {
        color: var(--secondary-color);
        transform: translateX(5px);
    }

/* Footer */
footer {
    background: linear-gradient(to right, var(--dark-color), #2d2d4e);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 0 0 23%;
    max-width: 23%;
}

    .footer-column h3 {
        font-size: 1.3rem;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
    }

        .footer-column h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--accent-color);
        }

    .footer-column p {
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .footer-column ul {
        list-style: none;
    }

        .footer-column ul li {
            margin-bottom: 12px;
        }

            .footer-column ul li a {
                color: #ddd;
                text-decoration: none;
                transition: var(--transition);
                display: flex;
                align-items: center;
            }

                .footer-column ul li a i {
                    margin-right: 10px;
                    color: var(--accent-color);
                }

                .footer-column ul li a:hover {
                    color: var(--accent-color);
                    transform: translateX(5px);
                }

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        text-decoration: none;
        transition: var(--transition);
    }

        .social-icons a:hover {
            background: var(--primary-color);
            transform: translateY(-5px);
        }

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .venue-item {
        flex: 0 0 calc(25% - 25px);
        max-width: calc(25% - 25px);
    }

    .footer-column {
        flex: 0 0 48%;
        max-width: 48%;
        margin-bottom: 40px;
    }
}

@media (max-width: 992px) {
    .big-title {
        font-size: 2.2rem;
    }

    .program-block {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .venue-item {
        flex: 0 0 calc(33.333% - 25px);
        max-width: calc(33.333% - 25px);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

        nav ul li {
            margin: 5px 10px;
        }

    .slide-content {
        padding: 0 40px;
    }

    .big-title {
        font-size: 1.8rem;
    }

    .small-title {
        font-size: 1.1rem;
    }

    .search-container {
        padding: 30px 20px;
    }

    .filter-group {
        min-width: 100%;
    }

    .program-block {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .venue-item {
        flex: 0 0 calc(50% - 25px);
        max-width: calc(50% - 25px);
    }

    .footer-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .slider-container {
        height: 400px;
    }

    .slide-content {
        padding: 0 20px;
    }

    .big-title {
        font-size: 1.6rem;
    }

    .theme-btn {
        padding: 12px 25px;
    }

    .arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-input {
        border-radius: 50px;
        margin-bottom: 15px;
    }

    .search-btn {
        border-radius: 50px;
    }

    .venue-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cat-table {
        grid-template-columns: 1fr;
    }
}


.nav {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight:;
    --bs-nav-link-color: var(--bs-link-color);
    --bs-nav-link-color: #ff7302;
    --bs-nav-link-hover-color: var(--bs-link-hover-color);
    --bs-nav-link-disabled-color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none
}

.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: var(--bs-nav-link-color);
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out
}

@@media (prefers-reduced-motion:reduce) {
    .nav-link {
        transition: none
    }
}

.nav-link:hover, .nav-link:focus {
    color: var(--bs-nav-link-hover-color)
}

.nav-link.disabled {
    color: var(--bs-nav-link-disabled-color);
    pointer-events: none;
    cursor: default
}

.nav-tabs {
    --bs-nav-tabs-border-width: 1px;
    --bs-nav-tabs-border-color: #dee2e6;
    --bs-nav-tabs-border-radius: 0.375rem;
    --bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6;
    --bs-nav-tabs-link-active-color: #495057;
    --bs-nav-tabs-link-active-bg: #fff;
    --bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 #fff;
    border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)
}

    .nav-tabs .nav-link {
        margin-bottom: calc(-1 * var(--bs-nav-tabs-border-width));
        background: none;
        border: var(--bs-nav-tabs-border-width) solid transparent;
        border-top-left-radius: var(--bs-nav-tabs-border-radius);
        border-top-right-radius: var(--bs-nav-tabs-border-radius)
    }

        .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
            isolation: isolate;
            border-color: var(--bs-nav-tabs-link-hover-border-color)
        }

        .nav-tabs .nav-link.disabled, .nav-tabs .nav-link:disabled {
            color: var(--bs-nav-link-disabled-color);
            background-color: transparent;
            border-color: transparent
        }

        .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
            color: var(--bs-nav-tabs-link-active-color);
            background-color: var(--bs-nav-tabs-link-active-bg);
            border-color: var(--bs-nav-tabs-link-active-border-color)
        }

    .nav-tabs .dropdown-menu {
        margin-top: calc(-1 * var(--bs-nav-tabs-border-width));
        border-top-left-radius: 0;
        border-top-right-radius: 0
    }

.nav-pills {
    --bs-nav-pills-border-radius: 0.375rem;
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: #202020
}

    .nav-pills .nav-link {
        background: none;
        border: 0;
        border-radius: var(--bs-nav-pills-border-radius)
    }

        .nav-pills .nav-link:disabled {
            color: var(--bs-nav-link-disabled-color);
            background-color: transparent;
            border-color: transparent
        }

        .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
            color: var(--bs-nav-pills-link-active-color);
            background-color: var(--bs-nav-pills-link-active-bg)
        }

.nav-fill > .nav-link, .nav-fill .nav-item {
    flex: 1 1 auto;
    text-align: center
}

.nav-justified > .nav-link, .nav-justified .nav-item {
    flex-basis: 0;
    flex-grow: 1;
    text-align: center
}

    .nav-fill .nav-item .nav-link, .nav-justified .nav-item .nav-link {
        width: 100%
    }



.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    background: var(--bs-nav-link-color);
    color: white
}

.nav-tabs .nav-link {
    background: whitesmoke;
    color: #333;
    font-weight: 600;
    text-align: center;
    font-size: 0.78em;
    line-height: 1.25em;
    margin: 0 5px;
    padding: 5px
}

.ol-cat-con {
    max-width: 1124px;
    margin: 0 auto;
    display: inline-block;
    padding: 0;
    width: 100%;
    text-align: center
}

.ol-cat-box {
    display: inline-block;
    width: 22%;
    vertical-align: top;
    margin: 20px 15px;
    text-align: left
}

    .ol-cat-box h3, .ol-cat-box .h3 {
        font-size: 13px;
        text-transform: uppercase;
        margin-bottom: 10px;
        font-family: "Lato-Regular"
    }

.italicfont {
    text-transform: inherit !important;
    font-size: 20px !important;
    color: #000;
    font-weight: normal !important;
    font-family: "Lato-Regular" !important
}

.ol-cat-box .cat-icon {
    height: 15px;
    width: 15px;
    text-align: center;
    display: inline-block;
    background: #ce2525;
    font-size: 16px;
    color: #ce2525;
    vertical-align: bottom
}

.ol-cat-box ul {
    margin: 0;
    padding: 0
}

    .ol-cat-box ul li {
        list-style-type: none;
        margin: 5px 0;
        padding: 0
    }

        .ol-cat-box ul li a {
            display: inline-block;
            text-decoration: none;
            font-family: "Lato-Regular";
            color: #686868;
            font-style: normal;
            font-size: 13px;
            padding: 7px 10px;
            background-color: #f8f8f8
        }

#ol-cat-wrapper .truncate::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 34px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, white 100%)
}

.cat-row {
    margin: 0;
    padding: 30px 0;
    display: inline-block;
    display: block;
    text-align: left
}

    .cat-row:last-child {
        border: none
    }

    .cat-row h3, .cat-row .h3 {
        font-size: 13px;
        text-transform: uppercase;
        margin-bottom: 20px;
        font-family: "Lato-Regular";
        display: flex;
        align-items: center
    }

    .cat-row .cat-icon {
        margin-right: 10px;
        width: 25px;
        height: 25px;
        text-align: center;
        display: inline-block;
        padding: 0;
        background: #ce2525;
        font-size: 16px;
        color: #ce2525;
        vertical-align: bottom
    }

.cat-row-box {
    display: inline-block
}

    .cat-row-box ul {
        margin: 0;
        padding: 0
    }

        .cat-row-box ul li {
            vertical-align: top;
            width: 200px;
            list-style: none;
            display: inline-block;
            margin: 5px;
            text-align: center
        }

            .cat-row-box ul li a {
                display: table-cell;
                vertical-align: middle;
                height: 40px;
                width: 180px;
                line-height: 19px;
                text-decoration: none;
                font-family: "Lato-Regular";
                color: #493f3f !important;
                font-size: 13px;
                padding: 5px 10px;
                background-color: #f8f8f8
            }

.cat-row-box2 {
    display: inline-block
}

    .cat-row-box2 ul {
        margin: 0;
        padding: 0
    }

        .cat-row-box2 ul li {
            vertical-align: top;
            width: 200px;
            list-style: none;
            display: inline-block;
            margin: 5px;
            text-align: center
        }

            .cat-row-box2 ul li a {
                display: table-cell;
                vertical-align: middle;
                height: 40px;
                width: 180px;
                line-height: 19px;
                text-decoration: none;
                font-family: "Lato-Regular";
                color: #493f3f !important;
                font-size: 13px;
                padding: 5px 10px;
                background-color: #fff
            }

.cat-row-box3 {
    display: block
}

    .cat-row-box3 ul {
        margin: 0;
        padding: 0
    }

        .cat-row-box3 ul li {
            vertical-align: top;
            list-style: none;
            display: block;
            margin: 10px 10px;
            text-align: center
        }

            .cat-row-box3 ul li a {
                line-height: 19px;
                background-color: #fff;
                width: 95%;
                padding: 2.5%;
                display: block;
                border: 1px solid silver;
                font-size: 13px;
                text-decoration: none;
                color: #222
            }

.cat-table {
    width: 100%
}

.cat-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

    .cat-table a {
        display: flex;
        text-decoration: none;
        background: #fff;
        color: #000;
        font-family: "Poppins", sans-serif;
        font-size: 14px;
        border: 1px solid #eee;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        overflow: hidden;
    }

        .cat-table a:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0,0,0,0.15);
            text-decoration: none;
            color: #000;
        }

    .cat-table .catbox {
        display: flex;
        align-items: center
    }

    .cat-table .catbox-icon {
        height: 25px;
        width: 25px;
        background-size: cover;
        background-position: center center;
        margin-right: 15px
    }

    .cat-table .catbox-text {
        width: 80%;
        min-height: 3em;
        display: flex;
        align-items: center;
        text-align: left
    }

#new-cat-row {
    width: 100%;
    max-width: 1366px;
    display: inline-block;
    vertical-align: top
}

    #new-cat-row h3, #new-cat-row .h3 {
        font-size: 13px;
        text-transform: uppercase;
        margin-bottom: 20px;
        font-family: "Lato-Regular";
        text-align: left
    }

    #new-cat-row .cat-icon {
        margin-right: 10px;
        min-width: 20px;
        text-align: center;
        display: inline-block;
        padding: 5px;
        background: #ce2525;
        font-size: 16px;
        color: #fff;
        vertical-align: bottom
    }

.new-cat-img {
    width: 30%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 390px
}

.new-cat-img-tint {
    min-height: 390px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

.cat-right {
    background: #fff
}

    .cat-right .cat-table div a {
        background: #e9e9e9
    }

    .cat-right .new-cat-box {
        float: right;
        width: 66%;
        margin: 4% 3% 4% 1%
    }

        .cat-right .new-cat-box .cat-table div {
            display: inherit !important;
            float: left
        }

    .cat-right .new-cat-img .new-cat-img {
        float: left
    }

    .cat-right .new-cat-title h3, .cat-right .new-cat-title .h3 {
        text-align: left
    }

.cat-left .new-cat-box {
    float: left;
    width: 66%;
    margin: 4% 1% 4% 3%
}

    .cat-left .new-cat-box .cat-table div {
        display: inherit !important;
        float: right
    }

.cat-left .new-cat-img {
    float: right
}

.cat-left .new-cat-title h3, .cat-left .new-cat-title .h3 {
    text-align: right !important
}

#new-cat-row .management .new-cat-img-tint {
    background: rgba(0, 0, 0, 0.5)
}

    #new-cat-row .management .new-cat-img-tint h3, #new-cat-row .management .new-cat-img-tint .h3 {
        color: #fff;
        font-size: 25px;
        font-family: "Lato-Bold"
    }

        #new-cat-row .management .new-cat-img-tint h3 span, #new-cat-row .management .new-cat-img-tint .h3 span {
            font-family: "Lato-Regular"
        }

#new-cat-row .functional .new-cat-img-tint {
    background: rgba(255, 255, 255, 0.5)
}

    #new-cat-row .functional .new-cat-img-tint h3, #new-cat-row .functional .new-cat-img-tint .h3 {
        color: #000;
        font-size: 25px;
        font-family: "Lato-Bold"
    }

        #new-cat-row .functional .new-cat-img-tint h3 span, #new-cat-row .functional .new-cat-img-tint .h3 span {
            font-family: "Lato-Regular"
        }

#new-cat-row .technical .new-cat-img-tint {
    background: rgba(225, 37, 45, 0.5)
}

    #new-cat-row .technical .new-cat-img-tint h3, #new-cat-row .technical .new-cat-img-tint .h3 {
        color: #fff;
        font-size: 25px;
        font-family: "Lato-Bold"
    }

        #new-cat-row .technical .new-cat-img-tint h3 span, #new-cat-row .technical .new-cat-img-tint .h3 span {
            font-family: "Lato-Regular"
        }

#new-cat-row .industry-sector-specific .new-cat-img-tint {
    background: rgba(31, 31, 31, 0.5)
}

    #new-cat-row .industry-sector-specific .new-cat-img-tint h3, #new-cat-row .industry-sector-specific .new-cat-img-tint .h3 {
        color: #fff;
        font-size: 25px;
        font-family: "Lato-Bold"
    }

        #new-cat-row .industry-sector-specific .new-cat-img-tint h3 span, #new-cat-row .industry-sector-specific .new-cat-img-tint .h3 span {
            font-family: "Lato-Regular"
        }

/* This would be in a separate CSS file, but included here for the example */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #ff006e;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --slider-height: 350px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Search Section */
.search-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 10px;
    margin: 20px auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.search-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 600;
}

.search-box {
    display: flex;
    max-width: 700px;
    margin: 0 auto 20px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

    .search-input:focus {
        border-color: var(--primary-color);
    }

.search-btn {
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

    .search-btn:hover {
        background: #2563eb;
    }

.filter-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 500;
}

.filter-select {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background: white;
}

/* Slider Styles */
.slider-container {
    position: relative;
    height: var(--slider-height);
    overflow: hidden;
    border-radius: 10px;
    margin: 30px auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

    .slide.active {
        opacity: 1;
    }

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 50px;
    max-width: 800px;
}

.big-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.small-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.theme-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    .theme-btn:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 8px rgba(0,0,0,0.15);
    }

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: var(--secondary-color);
    z-index: 10;
    transition: width 0.1s linear;
}

.slide-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.arrow {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

    .arrow:hover {
        background: var(--primary-color);
    }

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

    .slider-dot.active {
        background: white;
        transform: scale(1.2);
    }

/* Course Cards */
.search-results {
    padding: 50px 0;
}

.results-title {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    color: var(--dark-color);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

.course-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.course-content {
    padding: 20px;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.course-desc {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #777;
}

/* Training Modes */
.program-section {
    padding: 70px 0;
}

.title-box {
    text-align: center;
    margin-bottom: 40px;
}

    .title-box h3 {
        font-weight: 600;
        color: var(--dark-color);
    }

.program-block {
    margin-bottom: 30px;
}

.inner-box {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s;
}

    .inner-box:hover {
        transform: translateY(-5px);
    }

.icon-box {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.program-block h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 600;
}

    .program-block h3 a {
        color: var(--dark-color);
        text-decoration: none;
        transition: color 0.3s;
    }

        .program-block h3 a:hover {
            color: var(--primary-color);
        }

/* Category Tabs */
.nav-tabs {
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 5px;
}

    .nav-tabs .nav-link {
        border: none;
        padding: 12px 20px;
        color: #666;
        font-weight: 500;
        white-space: nowrap;
        border-radius: 5px;
        margin-right: 5px;
        background: #f8f9fa;
    }

        .nav-tabs .nav-link.active {
            color: var(--primary-color);
            background: white;
            border-bottom: 3px solid var(--primary-color);
        }

.cat-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.catbox {
    display: flex;
    align-items: center;
    padding: 15px;
    width: 100%;
}

.catbox-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.catbox-text {
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    min-width: 0; /* Prevents text overflow */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .cat-table {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .cat-table {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    .nav-tabs {
        flex-wrap: wrap;
    }

        .nav-tabs .nav-link {
            margin-bottom: 10px;
            flex: 0 0 calc(50% - 10px);
        }
}

@media (max-width: 576px) {
    .program-section {
        padding: 20px;
    }

    .nav-tabs .nav-link {
        flex: 0 0 100%;
    }

    .catbox {
        padding: 12px;
    }

    .catbox-icon {
        width: 35px;
        height: 35px;
        font-size: 20px;
        margin-right: 12px;
    }
}

.tab-content {
    width: 100%;
}

    .catbox:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        color: inherit;
    }



/* Venues Section - UPDATED FOR ROW LAYOUT */
.services-section {
    padding: 70px 0;
    background: #f8f9fa;
}

    .services-section h2 {
        text-align: center;
        margin-bottom: 40px;
        font-weight: 600;
        color: var(--dark-color);
    }

.venue-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.venue-item {
    flex: 0 0 calc(16.666% - 20px); /* 6 items per row with gap */
    max-width: calc(16.666% - 20px);
    margin-bottom: 20px;
}

.venue-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}

    .venue-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

.venue-image {
    height: 150px; /* Reduced image height */
    overflow: hidden;
}

    .venue-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.venue-card:hover .venue-image img {
    transform: scale(1.05);
}

.venue-info {
    padding: 15px;
    text-align: center;
}

    .venue-info h3 {
        margin: 0 0 10px;
        font-size: 1.1rem;
        font-weight: 600;
    }

        .venue-info h3 a {
            color: var(--dark-color);
            text-decoration: none;
            transition: color 0.3s;
        }

            .venue-info h3 a:hover {
                color: var(--primary-color);
            }

.venue-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .venue-item {
        flex: 0 0 calc(25% - 20px); /* 4 items per row on medium screens */
        max-width: calc(25% - 20px);
    }
}

@media (max-width: 992px) {
    .big-title {
        font-size: 2rem;
    }

    .venue-item {
        flex: 0 0 calc(33.333% - 20px); /* 3 items per row */
        max-width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 300px;
    }

    .slide-content {
        padding: 0 30px;
    }

    .big-title {
        font-size: 1.75rem;
    }

    .small-title {
        font-size: 1rem;
    }

    .filter-options {
        flex-direction: column;
        align-items: center;
    }

    .filter-group {
        width: 100%;
        max-width: 300px;
    }

    .venue-item {
        flex: 0 0 calc(50% - 20px); /* 2 items per row */
        max-width: calc(50% - 20px);
    }

    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .slider-container {
        height: 250px;
    }

    .slide-content {
        padding: 0 20px;
    }

    .big-title {
        font-size: 1.5rem;
    }

    .theme-btn {
        padding: 10px 20px;
    }

    .arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .venue-item {
        flex: 0 0 100%; /* 1 item per row */
        max-width: 100%;
    }
}
