/* Grundläggande reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif; /* Changed to match site font */
    background-color: #f5f5f5;
    color: #222;
    line-height: 1.6;
}

/* Header med logga och navigation */
header {
    background-color: #082358;
    color: white;
    font-family: 'Amiri Quran', serif;
    text-align: center;
    padding-bottom: 25px;
    position: relative;
    z-index: 1000;
}

header .logo {
    height: 100px;
    margin-bottom: -65px;
    margin-right: 80%;
}

nav {
    z-index: 1001;
    position: relative;
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1002;
    position: relative;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-family: 'Georgia', serif;
    padding: 0.5rem 1rem;
    border-radius: 0;
    position: relative;
    z-index: 1003;
    pointer-events: all;
}

nav ul li a:hover,
nav ul li a:focus {
    background-color: #0a3d91;
}

/* Application page styles - side by side layout */
.application-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.application-header {
    padding: 2.5rem;
    border-radius: 15px;
    flex: 1;
    text-align: left;
}

.application-header h1 {
    font-size: 3rem;
    color: #082358;
    margin-bottom: 2rem;
    font-family: 'Amiri Quran', serif; /* Keep this for headings */
    text-align: left;
}

.application-header p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: left;
    font-family: 'Georgia', serif;
}

.application-header ul {
    padding-left: 1.5rem;
    margin: 0;
}

.application-header li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-family: 'Georgia', serif;
}

/* Style the logo in the application header */
.application-header img {
    width: 100%; /* Make it smaller - adjust as needed */
    height: auto;
    margin-top: 2rem;
    display: block;
}

/* Form styles - consistent with site theme */
.application-form {
    background: rgb(221, 223, 228);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 1px 4px 20px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #082358;
    margin-bottom: 0.8rem;
    font-family: 'Georgia', serif; 
}

.form-group input[type="text"],
.form-group input[type="number"] {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #ffffff;
    border-radius: 8px;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
    font-family: 'Georgia', serif;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus {
    outline: none;
    border-color: #082358;
    background-color: white;
}

.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background-color: #f8f9fa;
    min-height: 150px;
    resize: vertical;
    transition: border-color 0.3s ease;
    font-family: 'Georgia', serif;
}

.form-group textarea:focus {
    outline: none;
    border-color: #082358;
    background-color: white;
}

.submit-btn {
    background: #143d8f;
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto 0 auto;
    min-width: 200px;
    font-family: 'Georgia', serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 35, 88, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background-color: #313131;
    color: white;
    padding: 1rem 2rem;
    position: relative;
    margin-top: 3rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    border-top: none;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-right a {
    color: #bdbdbd;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 968px) {
    .application-main {
        flex-direction: column;
        margin: 1rem;
        padding: 1rem;
    }
    
    .application-header {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .application-header h1 {
        font-size: 2rem;
    }
    
    .application-form {
        padding: 2rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="number"],
    .form-group textarea {
        padding: 0.8rem;
    }
    
    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}


