/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

header {
    background-color: #003366;
    padding: 20px 0;
    color: white;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin-right: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Courses Section */
.courses-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.courses-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #003366;
    margin-left: 20px;
}

.courses-section p {
    text-align: center;
    font-size: 1.2em;
    color: #333;
    margin-bottom: 30px;
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive column layout */
    grid-gap: 30px 20px; /* 30px for row gap and 20px for column gap */
    justify-items: center;
    padding: 20px;  /* Add padding to the container */
}

.course-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    margin-bottom: 20px; /* Vertical spacing between rows of cards */
}

.course-card img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.course-card h3 {
    font-size: 1.5em;
    color: #003366;
    margin-top: 15px;
}

.course-card p {
    font-size: 1em;
    color: #333;
    margin: 10px 0;
}

.course-card button {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
}

.course-card button:hover {
    background-color: #218838;
}

/* Footer Section */
footer {
    background-color: #003366;
    padding: 10px;
    color: white;
    text-align: center;
}
/* Cursor Zoom-in and Zoom-out */
body {
    cursor: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/svgs/solid/search.svg') 16 16, auto;
}

 .cursor-zoom {
    cursor: zoom-in;
    transition: transform 0.1s ease-in-out;
} 

 Styles for Zoom-in and Zoom-out cursor 
 .cursor-zoom-out {
    cursor: zoom-out;
    transition: transform 0.1s ease-in-out;
}  


