@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

.category-card:hover {
    transform: translateY(-2px);
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.course-card {
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.course-card img {
    transition: transform 0.3s ease;
}

.course-card:hover img {
    transform: scale(1.05);
}

/* Half star rating */
svg {
    display: inline;
}

#half-star {
    stop-color: #f59e0b;
}

#half-star-stop {
    stop-color: #d1d5db;
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #2563EB;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}
/* Stripe Elements styling */
.StripeElement {
    box-sizing: border-box;
    height: 40px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: white;
    transition: all 0.3s ease;
}

.StripeElement--focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

/* Animation for buttons */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3), 0 2px 4px -1px rgba(37, 99, 235, 0.2);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-content {
        text-align: center;
    }
    
    .search-bar {
        width: 100%;
    }
}