:root {
    --primary-color: #10b981;
    --secondary-color: #059669;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: white !important;
    margin-left: 1rem;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.8;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary-custom {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-custom:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: var(--primary-color);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.course-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.auth-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 40px;
    max-width: 450px;
    margin: 50px auto;
}

.auth-container h2 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.course-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.course-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-image i {
    font-size: 3rem;
    color: white;
}

.course-body {
    padding: 20px;
}

.course-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.course-level {
    display: inline-block;
    background: var(--light-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.progress-custom {
    height: 8px;
    border-radius: 10px;
    background-color: #e5e7eb;
}

.progress-bar-custom {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    height: 100%;
    border-radius: 10px;
}



/* Additional CSS for new sections */

/* Course Cards */
.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Partner Logos */
.partner-logo {
    padding: 20px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Testimonials */
.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    backdrop-filter: blur(10px);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.testimonial-author h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-author p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9em;
}

/* FAQ Accordion */
.accordion-button {
    font-weight: 600;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-body {
    padding: 20px;
    line-height: 1.6;
}

/* Badges */
.badge {
    font-size: 0.7em;
    padding: 5px 10px;
}

.bg-primary-custom{
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}