body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: white;
    text-align: center;
    position: relative; /* Necessary for absolute positioning of the login button */
    padding: 0;
}

#login-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 10px 20px;
    background-color: #e65c00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#login-btn:hover {
    background-color: #cc5200;
}


.logo-container {
    padding: 20px 0;
}

.title-container {
    background-color: #ff6600;
    color: white;
    padding: 10px 0;
}

.hero {
    background-image: url('bus.webp'); /* Replace with the path to the bus image */
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 40px; /* Large text to stand out against the background */
}

nav {
    background-color: #333;
    text-align: center;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: inline;
    margin-right: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 20px;
}

section {
    background-color: white;
    margin: 10px auto;
    padding: 20px;
    width: 80%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

#agreementsContainer {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap onto the next line */
    gap: 20px; /* Adds space between items */
}

article {
    flex: 1 1 50%; /* Grow to fill the space, but do not grow beyond 50% of the container's width */
    background-color: #f4f4f4; /* Optional: adds a background color to each agreement for better visibility */
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: adds subtle shadow for depth */
    margin-bottom: 20px; /* Space between rows */
}

@media screen and (max-width: 600px) { /* Responsive adjustment for smaller screens */
    article {
        flex: 1 1 100%; /* Each item takes full width on small screens */
    }
}

.details p {
    color: #333; /* Darker color for improved readability */
    margin-bottom: 30px; /* More space below the paragraph for clearer separation */
    font-size: 18px; /* Slightly larger font size for emphasis */
    line-height: 1.6; /* Increased line height for better text flow */
}

/* Existing styles remain unchanged */

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px; /* Max width to ensure it doesn’t get too large on wider screens */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal input[type="text"],
.modal input[type="password"] {
    width: 90%; /* Responsive width */
    padding: 8px;
    margin-top: 6px;
    margin-bottom: 16px;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.modal button {
    background-color: #4CAF50; /* Green button for positive actions like login */
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

.modal button:hover {
    opacity: 0.8;
}

/* General styles for all main sections */
main section {
    background-color: #fff; /* White background for clarity */
    padding: 20px; /* Consistent padding for aesthetic spacing */
    margin-bottom: 20px; /* Consistent separation between sections */
    border: 1px solid #ccc; /* Subtle border for definition */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
}

#login-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 10px 20px;
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#login-btn:hover {
    background-color: #e65c00;
}

.key-figures-data {
    background-color: #f8f9fa; /* Light background for the container */
    border-radius: 8px; /* Rounded corners for modern look */
    padding: 20px; /* Padding for better spacing */
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Two columns layout for desktop */
    gap: 10px; /* Space between grid items */
}

.key-figures-data p {
    font-size: 20px;
    background-color: #ffffff; /* White background for each statistic */
    border-left: 5px solid #FF9800; /* Colored border to the left */
    padding: 10px; /* Padding inside each statistic block */
    border-radius: 5px; /* Rounded corners for the statistic blocks */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Light shadow for each block */
}

#company-rating {
    border-color: #4CAF50; /* Green for ratings */
    color: #4CAF50;
}

#number-of-buses {
    border-color: #FF9800; /* Blue for bus count */
    color: #FF9800;
}

#repair-share {
    border-color: #FF9800; /* Orange for repair share */
    color: #FF9800;
}

#wage-levy {
    border-color: #FF9800; /* Red for wage levy */
    color: #FF9800;
}



article {
    margin-bottom: 20px; /* Giver plads mellem hvert kerneværdipunkt */
    padding: 15px; /* Tilføjer indre plads for bedre læsbarhed */
    background-color: #f9f9f9; /* Lys baggrund for hver artikel for at skille dem ud */
    border-left: 5px solid #ff6600; /* En farvet linje for at fremhæve vigtigheden */
}

article h3 {
    color: #ff6600; /* Matchende med virksomhedens branding farve */
    text-align: center; /* Centrerer titlen for at fange opmærksomheden */
    margin-bottom: 10px; /* Mindre mellemrum efter overskrifter for tættere indhold */
}

article p {
    color: #666; /* Mørkere grå for fremragende læsbarhed */
    line-height: 1.6; /* Øget linjeafstand for bedre flow */
}

main h2 {
    color: #ff6600; /* Fremhæver titlen med firmaets brandfarve */
    font-size: 32px; /* Gør skriftstørrelsen større for at skille sig ud */
    text-align: center; /* Centrerer titlen for at fange opmærksomheden */
    margin-top: 30px; /* Tilføjer ekstra plads ovenfor for bedre visuel separation */
    margin-bottom: 15px; /* Mindre afstand til beskrivelsen for at holde elementerne tættere */
    font-weight: bold; /* Gør teksten fed for at tilføje vigtighed */
}

main p {
    font-size: 18px; /* Forøger skriftstørrelsen for klarhed */
    color: #333; /* Mørkere tekstfarve for kontrast og læsbarhed */
    line-height: 1.8; /* Forbedrer læsbarheden med større linjeafstand */
    text-align: center; /* Centrerer beskrivelsen for konsistens med titlen */
    max-width: 800px; /* Sætter en maksimal bredde for at optimere læsbarheden */
    margin: auto; /* Centrerer paragrafen i bredden */
    padding-bottom: 20px; /* Tilføjer polstring nederst for at adskille fra efterfølgende indhold */
}

.team-container {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.team-member {
    text-align: center;
    flex-basis: 30%; /* Hver person optager omkring 30% af containerens bredde */
}

.team-member img {
    width: 100%;
    height: auto;
    max-width: 200px; /* Begrænser billedets maksimale bredde */
    border-radius: 50%; /* Gør billederne cirkulære */
    margin-bottom: 10px;
}

#who-we-are p {
    margin: 5px 0;
}
