:root {
    --primary: #3a56e4;
    --secondary: #6c757d;
    --success: #198754;
    --light: #f8f9fa;
    --dark: #212529;
    --accent: #ff6b35;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 80px;
    color: #333;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white !important;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1531482615713-2afd69097998?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
}

.course-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 25px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary);
}

.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none;
    transition: all 0.3s;
}

.fab-btn:hover {
    background-color: #2a46d4;
    transform: scale(1.05);
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.fab-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-menu-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s;
}

.fab-menu-item:hover {
    transform: scale(1.1);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #2a46d4;
    border-color: #2a46d4;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.language-switcher {
    margin-left: 15px;
}

.flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 5px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.testimonial-img.bg-primary {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced Stats Section */
.counter {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3a56e4, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(58, 86, 228, 0.2);
}

.stats-card {
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

/* Enhanced Services Section */
.service-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    width: 100%;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-icon-overlay {
    background: linear-gradient(135deg, rgba(58, 86, 228, 0.9), rgba(102, 126, 234, 0.9));
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-overlay {
    transform: scale(1);
}

.service-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #3a56e4, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

/* Gradient buttons */
.btn-gradient {
    background: linear-gradient(135deg, #3a56e4, #667eea);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #667eea, #3a56e4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 86, 228, 0.3);
    color: white;
}

/* Background gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, #3a56e4, #667eea) !important;
}

/* Shadow hover effect */
.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

/* Animation delays */
[data-aos-delay] {
    transition-delay: 0;
}

/* Card body flex grow for consistent height */
.card-body {
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .counter {
        font-size: 2.5rem;
    }
    
    .stats-label {
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .display-5 {
        font-size: 2.5rem;
    }
    
    .display-6 {
        font-size: 2rem;
    }
}

/* Blog specific styles */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-article {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.blog-content {
    line-height: 1.8;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.comments-list .card {
    border: none;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

/* Pagination styling */
.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-link {
    color: var(--primary);
}

.pagination .page-link:hover {
    color: var(--primary);
    background-color: #f8f9fa;
}