/* Main Styles for VersePortal Educational Platform */

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}

/* Course Cards */
.course-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
}

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

/* Testimonial Section */
.testimonial-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* Stats Section */
.stats-section {
    background-color: #0d6efd;
    color: white;
    padding: 3rem 0;
}

.stats-item {
    text-align: center;
    padding: 1.5rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #212529;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #0d6efd;
    text-decoration: none;
}

/* Form Styles */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Button Styles */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
}

/* Navbar Customization */
.navbar-brand {
    font-weight: bold;
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.rounded-custom {
    border-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .stats-number {
        font-size: 2rem;
    }
}

/* Alerts Container */
#alerts-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 350px;
}

/* Language Selector */
.language-selector img {
    width: 24px;
    height: auto;
    margin-right: 5px;
}

/* Course Detail Page */
.course-header {
    background-color: #f8f9fa;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.course-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0d6efd;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.course-meta-item {
    display: flex;
    align-items: center;
}

.course-meta-item i {
    margin-right: 0.5rem;
    color: #0d6efd;
}

/* Instructor Profile */
.instructor-profile {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* Login/Register Forms */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: white;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* User Dashboard */
.dashboard-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}

/* Progress Bar */
.progress {
    height: 10px;
    margin-bottom: 1rem;
}

/* Quiz Styles */
.quiz-option {
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quiz-option:hover {
    background-color: #f8f9fa;
}

.quiz-option.selected {
    background-color: #cfe2ff;
    border-color: #0d6efd;
}

/* Pagination Custom Styles */
.pagination .page-link {
    color: #0d6efd;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
