:root {
    --primary-color: #004aad;
    --secondary-color: #ff6b00;
    --dark-color: #1a2b4c;
    --light-bg: #f8f9fa;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #003a87;
    border-color: #003a87;
}

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

.btn-secondary-custom:hover {
    background-color: #d15a00;
    border-color: #d15a00;
    color: #fff;
}

.site-header .navbar-brand {
    font-size: 1.2rem;
}

.site-header .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
}

.site-header .nav-link:hover {
    color: var(--primary-color) !important;
}

.hero-section {
    background: linear-gradient(135deg, rgba(0,74,173,0.85) 0%, rgba(26,43,76,0.9) 100%), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 5rem 0;
    position: relative;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin-top: 0.5rem;
}

.section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

.course-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.course-card .card-img-top {
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.course-card .card-title {
    color: var(--primary-color);
}

.schedule-table th {
    background-color: var(--primary-color);
    color: #fff;
}

.schedule-status {
    font-weight: 600;
}

.status-open { color: #198754; }
.status-almost_full { color: #fd7e14; }
.status-full { color: #dc3545; }
.status-started { color: #0d6efd; }
.status-postponed { color: #6c757d; }

.post-card img {
    height: 180px;
    object-fit: cover;
}

.contact-info i {
    color: var(--secondary-color);
    width: 24px;
}

.mobile-contact-bar {
    z-index: 1030;
}

.mobile-contact-bar a {
    font-size: 0.8rem;
    font-weight: 600;
}

footer {
    margin-bottom: 56px;
}

@media (min-width: 992px) {
    footer {
        margin-bottom: 0;
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

.breadcrumb {
    background-color: var(--light-bg);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
}

.faq-answer {
    font-size: 0.95rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 1.5rem;
    height: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}
