body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 82, 212, 0.3);
    border-top: 5px solid #0052D4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #333, #555, #777);
    padding: 15px;
}


.navbar-brand img {
    height: 90px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-size: 2.5rem;
    font-weight: bold;
    background: url('../images/hero-bg.jpg') center/cover;
}

.hero h1 {
    position: relative;
    z-index: 1;
}

/* Course Cards */
.course-card {
    height: 100%; /* Make all course cards the same height */
    display: flex;
    flex-direction: column;
}
.course-card .card-body {
    flex-grow: 1; /* Makes sure all text content adjusts properly */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content is aligned properly */
}



.course-card:hover {
    transform: translateY(-5px);
}

