:root {
    --primary-color: #E6007E;
    --primary-hover: #c4006b;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--gray-100);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
nav {
    background-color: var(--primary-color);
    padding: 1rem 0;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.college-info {
    color: var(--white);
}

.college-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.college-affiliation {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.125rem;
}

.college-address {
    font-size: 0.75rem;
    opacity: 0.8;
}

.logo {
    height: 60px;
}

.home-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.home-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Form Container */
.form-container {
    max-width: 56rem;
    margin: 2rem auto;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

h1 {
    color: var(--primary-color);
    text-align: center;
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

/* Grid Layout */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Form Groups */
.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.2s;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}

/* Course Selection */
.course-section {
    margin-bottom: 1.5rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .course-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.course-option {
    position: relative;
}

.course-option input[type="radio"] {
    display: none;
}

.course-option label {
    display: block;
    padding: 1rem;
    text-align: center;
    border: 2px solid var(--gray-300);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.course-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background-color: rgba(230, 0, 126, 0.05);
}

.course-option label:hover {
    border-color: var(--primary-color);
}

/* Submit Button */
.submit-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

button[type="submit"]:hover {
    background-color: var(--primary-hover);
}
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px; /* Adjust spacing as needed */
    display: block; /* Make sure error messages are displayed below the input */
}