.breadcrumb {
    font-size: 14px;
    margin: 20px 60px;
    color: #999;
}

.page-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
}

.main-container {
    display: flex;
    gap: 25px;
    padding: 0 60px;
}

/* Sidebar Filters */
.filters {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 260px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filter-group {
    margin-top: 20px;
}

.filter-group h4 {
    font-size: 15px;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.filter-group label {
    display: block;
    font-size: 14px;
    color: #444;
    margin: 6px 0;
}

/* Courses Section */
.courses-section {
    flex: 3;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

#search {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

#sort {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Cards */
.course-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-6px);
}

.course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
}

.badge.blue {
    background: #007bff;
}

.badge.green {
    background: #28a745;
}

.badge.red {
    background: #dc3545;
}

.course-info {
    padding: 15px;
}

.course-info h3 {
    font-size: 15px;
    color: #222;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
}

.course-info p {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.price {
    font-weight: 600;
    font-size: 16px;
    color: #222;
    margin-bottom: 10px;
}

.price .old {
    text-decoration: line-through;
    font-size: 14px;
    color: #777;
    margin-left: 6px;
}

.price .off {
    color: #28a745;
    font-size: 13px;
    margin-left: 6px;
}

button {
    background: #ff4c29;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #e63c1d;
}

/* Responsive */
@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .filters {
        max-width: 100%;
    }
}

:root {
    --hero-bg: url('images/people-bg.jpg');
    /* <-- Replace with your background image path */
    --accent: #1f6aa3;
    /* deep blue */
    --overlay: rgba(19, 90, 125, 0.85);
    --card-bg: #ffffff;
    --muted-white: rgba(255, 255, 255, 0.95);
}

/* HERO WRAPPER */
.location-hero {
    position: relative;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 20px;
    overflow: hidden;
}

/* dark overlay for readability */
.location-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--overlay);
    z-index: 0;
}

.location-hero .container,
.location-hero .row,
.location-hero [class*="col-"] {
    position: relative;
    z-index: 2;
    /* content above overlay */
}

/* LEFT SIDE */
.location-info h6 {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
    font-size: 1rem;
    opacity: 0.95;
}

.location-info h1 {
    font-size: clamp(34px, 6vw, 64px);
    margin: 0 0 18px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}

.location-meta {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 900px;
}

.meta-row {
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 280px;
}

.meta-item .icon {
    font-size: 20px;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.95);
}

.meta-item a,
.meta-item span {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    white-space: normal;
}

/* RIGHT CARD */
.location-card {
    background: var(--card-bg);
    color: #222;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 22px;
    width: 100%;
    max-width: 420px;
}

.location-card h5 {
    margin-bottom: 16px;
    font-weight: 700;
}

/* Styled selects */
.form-select-custom {
    position: relative;
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #e6e9ee;
    width: 100%;
    background: #fff;
}

.form-group {
    margin-bottom: 14px;
}

/* add small drop-shadow to select container */
.select-wrap {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(31, 106, 163, 0.06);
    background: #fff;
}

.select-wrap .fa-chevron-down {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #4b5563;
}

.select-field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background: transparent;
    width: 100%;
    padding-right: 28px;
    font-size: 1rem;
    color: #222;
}

/* responsive spacing to keep card aligned to right */
@media(min-width: 992px) {
    .location-hero {
        padding: 80px 20px;
    }

    .location-card {
        margin-left: auto;
    }
}

@media(max-width: 767px) {
    .location-card {
        margin-top: 20px;
    }
}

.courses-wrap {
    padding: 18px 12px;
}

.left-filter {
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    min-height: 600px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

.right-content {
    padding-left: 18px;
}

/* Top CTA bar in main content */
.top-cta {
    background: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

.top-cta .btn {
    font-weight: 600;
    letter-spacing: .2px;
}

/* Table card */
.table-card {
    background: #fff;
    border-radius: 6px;
    padding: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.table-card .card-header {
    background: #333;
    color: #fff;
    padding: 8px 12px;
    font-weight: 600;
}

/* join button style like screenshot */
.btn-join {
    background: #e74c3c;
    border: none;
    color: #fff;
    padding: 6px 10px;
    font-size: .85rem;
    border-radius: 4px;
    box-shadow: none;
}

.btn-join:hover {
    background: #cf3f33;
}

/* Left list group visuals */
.list-group .list-group-item {
    border: none;
    padding-left: 8px;
    padding-right: 8px;
}

.list-group .active {
    background: #f1f1f1;
    color: #000;
}

/* Smaller screens adjustments */
@media (max-width: 991px) {
    .left-filter {
        min-height: auto;
        margin-bottom: 12px;
    }

    .right-content {
        padding-left: 0;
    }
}