.elearning-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Courses Section */
.courses-section {
    margin: 5rem 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: rgba(57, 255, 20, 0.03);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.course-card:hover::before {
    left: 100%;
}

.course-card:hover {
    border-color: var(--lime);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3), inset 0 0 20px rgba(57, 255, 20, 0.05);
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-top: 1rem;
    margin-bottom: 1rem;
    gap: 1rem;
}

.card-header h3 {
    font-size: 1.3rem;
    color: var(--lime);
    margin: 0;
}

.course-type {
    background: rgba(179, 0, 255, 0.2);
    color: var(--purple);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.course-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.thought-process {
    background: rgba(179, 0, 255, 0.05);
    padding: 1rem;
    border-left: 3px solid var(--purple);
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.thought-process h4 {
    color: var(--purple);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.thought-process p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.course-link {
    display: inline-block;
    color: var(--lime);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.course-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lime);
    transition: width 0.3s ease;
}

.course-link:hover::after {
    width: 100%;
}

/* Expertise Section */
.expertise-section {
    margin: 5rem 0;
    padding: 3rem 2rem;
    background: rgba(179, 0, 255, 0.03);
    border: 2px solid var(--border-color);
    border-radius: 10px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-item {
    padding: 1.5rem;
    background: rgba(179, 0, 255, 0.05);
    border: 2px solid rgba(179, 0, 255, 0.2);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease;
}

.expertise-item:hover {
    border-color: var(--purple);
    background: rgba(179, 0, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(179, 0, 255, 0.3);
}

.expertise-item h3 {
    color: var(--purple);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.expertise-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact-section {
    margin: 5rem 0;
    padding: 3rem 0;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(179, 0, 255, 0.03);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    animation: slideInUp 0.6s ease;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--purple);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 5px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    background: rgba(179, 0, 255, 0.05);
    box-shadow: 0 0 15px rgba(179, 0, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: var(--dark-bg);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(179, 0, 255, 0.3);
}

.submit-btn:hover {
    box-shadow: 0 0 30px rgba(179, 0, 255, 0.6), 0 0 15px rgba(255, 0, 110, 0.4);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(57, 255, 20, 0.1);
    color: var(--lime);
    border: 2px solid var(--lime);
}

.form-message.error {
    display: block;
    background: rgba(255, 0, 110, 0.1);
    color: var(--pink);
    border: 2px solid var(--pink);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .elearning-container {
        padding: 1rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }
}