/* ============================================
   COURSES PAGE SPECIFIC STYLES
   ============================================ */

/* Courses Hero Section */
.courses-hero {
    background: linear-gradient(135deg, #FFF5EB 0%, #FFFFFF 100%);
    padding: 8rem 0 4rem;
    margin-top: 70px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-brown);
    text-align: center;
    margin-bottom: 1rem;
}

.page-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--medium-brown);
    margin-bottom: 3rem;
}

/* Filter Bar */
.courses-filter-bar {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.search-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-container i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-brown);
    font-size: 1.2rem;
}

#courseSearchInput {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

#courseSearchInput:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    flex: 1;
    min-width: 180px;
    padding: 0.875rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--accent-orange);
    outline: none;
}

.btn-reset {
    padding: 0.875rem 1.5rem;
    background: var(--light-gray);
    border: none;
    border-radius: 10px;
    color: var(--dark-gray);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-reset:hover {
    background: var(--accent-orange);
    color: white;
}

/* Career Track Tabs */
.courses-tabs-section {
    background: white;
    padding: 2rem 0;
    border-bottom: 2px solid var(--light-gray);
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.career-track-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.track-tab {
    background: white;
    border: 2px solid var(--light-gray);
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary-brown);
}

.track-tab i {
    font-size: 1.3rem;
    color: var(--accent-orange);
}

.track-tab span:first-of-type {
    font-size: 1rem;
}

.course-count {
    background: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--medium-brown);
}

.track-tab:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.2);
}

.track-tab.active {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    border-color: var(--accent-orange);
    color: white;
}

.track-tab.active i {
    color: white;
}

.track-tab.active .course-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Courses Content */
.courses-content-section {
    padding: 4rem 0;
    background: var(--off-white);
}

.category-section {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-orange);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-brown);
    margin: 0;
}

.category-subtitle {
    color: var(--medium-brown);
    font-size: 1rem;
    margin-left: auto;
}

/* Course Cards Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(93, 78, 55, 0.15);
}

.course-card-header {
    background: linear-gradient(135deg, #FFF5EB 0%, #FFE8D6 100%);
    padding: 1.5rem;
    position: relative;
}

.course-level-badge {
    display: inline-block;
    background: var(--accent-orange);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.course-card-title {
    font-size: 1.3rem;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.course-card-tagline {
    color: var(--medium-brown);
    font-size: 0.9rem;
    line-height: 1.5;
}

.course-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-meta-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.meta-info-item i {
    color: var(--accent-orange);
}

.course-highlights {
    margin-bottom: 1.5rem;
}

.course-highlights h4 {
    font-size: 0.9rem;
    color: var(--primary-brown);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    font-size: 0.85rem;
    color: var(--medium-brown);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.highlights-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-size: 0.8rem;
}

.course-card-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
}

.course-card-btn {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.course-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results i {
    font-size: 4rem;
    color: var(--medium-brown);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.8rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--medium-brown);
    font-size: 1.1rem;
}

/* CTA Section */
.courses-cta-section {
    background: linear-gradient(135deg, var(--primary-brown) 0%, #4A3E2D 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #2C2416;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info i {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .career-track-tabs {
        gap: 0.5rem;
    }
    
    .track-tab {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .courses-hero {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .courses-filter-bar {
        padding: 1.5rem;
    }
    
    .filter-group {
        flex-direction: column;
    }
    
    .filter-select {
        min-width: 100%;
    }
    
    .track-tab span:first-of-type {
        font-size: 0.85rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .category-subtitle {
        margin-left: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .career-track-tabs {
        flex-direction: column;
    }
    
    .track-tab {
        width: 100%;
        justify-content: center;
    }
    
    .course-card-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .course-card-btn {
        width: 100%;
        text-align: center;
    }
}
