/* General Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

/* Header & Nav */
header {
    background-color: #0d2b45;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

nav a:hover {
    color: #ffaa00;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 43, 69, 0.8), rgba(13, 43, 69, 0.8)), url('https://picsum.photos/1200/500') center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Buttons */
.btn-primary {
    background-color: #ffaa00;
    color: #0d2b45;
    padding: 12px 28px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #e69900;
}

/* Sections */
.section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.bg-light {
    background-color: #f8f9fa;
    max-width: 100%;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0d2b45;
}

/* Cards Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card h3 {
    margin-bottom: 10px;
    color: #203c56;
}

/* Form Styling */
.form {
    max-width: 500px;
    margin: 30px auto 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.status-msg {
    margin-top: 15px;
    font-weight: bold;
    color: green;
}

footer {
    background-color: #0d2b45;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}