body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover {
    color: #007bff;
}

.navbar {
    background-color: #1a1a4a;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: auto;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-weight: 600;
    font-size: 26px;
    font-family: Arial;
    margin-right: 560px; 
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links > div {
    position: relative;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative; 
    padding: 10px 0;
}

.nav-links a:hover {
    color: white;
    text-decoration: none; 
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #4CAF50;
    transition: all 0.3s ease; 
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.exams-link {
    position: relative;
}

.exams-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    animation: dropdown-slide 0.3s ease;
    transform-origin: top center;
    z-index: 1000;
}

.exams-link:hover .exams-dropdown {
    display: block;
}

.exams-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
}

.exams-dropdown a:hover {
    background-color: #007bff;
    border-radius: 5px;
}

.exams-dropdown a::after {
    display: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.form-label {
    font-weight: 600;
}

.form-control {
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
    width: 100%;
}

textarea.form-control {
    resize: none;
}

button[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

@media screen and (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links a {
        margin: 5px 0;
    }

    .logo {
        font-size: 1.2rem;
    }
}