/* General styles */
body {
    font-family: "Saira", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.5;  /* Increased line spacing for better readability */
    font-weight: 600;  /* Slightly heavier than normal but not as bold as 'bold' */
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: rgba(17, 0, 126, 0.6);
    font-size: 1.35rem;
    text-align: justify;
}

.container {
    width: 60%;
    margin: 0 auto;
    font-size: 1.15rem;
}

/* Header */
header {
    background-color: rgb(0, 76, 145);
    background-color: rrgba(17, 0, 126, 0.6);
    color: white;
    padding: 0;
}

header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

header h1 {
    margin: 0;
    font-size: 1.5em;
    letter-spacing: 1px;
}

/* Navigation bar */
header nav {
    background-color: white; /* Bright yellow color */
    padding: 6px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;

}



header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: rgb(0, 76, 145); /* Text color for contrast against yellow background */
    text-decoration: none;
}

header nav ul li a:hover {
    text-decoration: underline;
}
ul, p {
    font-size: 1.35rem;
    justify-content: space-between;
}

img {
    width: 20%; /* Width is a percentage of the li's width */
    height: 7%;
    max-width: 380px; /* Maximum width to prevent overly large images */
    max-height: 280px;    
    min-width: 150px;


    object-fit: cover; /* Ensures images cover the designated area without distorting aspect ratio */
    border-radius: 6px; /* Rounded corners for aesthetics */
    margin-right: 20px;
}
  
/* Banner styling */
.banner {
    background-color:rgba(17, 0, 126, 0.6);
    color: white;
    padding: 10px 0;
    margin-top: 10px;
    text-align: center;
    border-radius: 5px;
}

.banner p {
    margin: 0;
    font-size: 1.2em;
    font-weight: 700;
}

/* Main content */
main {
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    border-radius: 5px;
}

section {
    margin-bottom: 20px;
}

h2, h3 {
    color: rgb(0, 76, 145);
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 120%;
}

h3 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 130%;
}

.services-list, .question-types {
    list-style: none;
    padding: 0;
}

.services-list li {
    display: flex;
    align-items: center;
}

.images-about li {
    display: flex;
    border-radius: 5px;
    padding: 5px;
}

.material-icons {
    margin-right: 10px;
    padding: 4px;
    color: rgb(0, 76, 145);
    vertical-align: middle; /* Aligns the icons with the text */
    font-size: 24px; /* Adjust the size if necessary */
}

/* Footer */
footer {
    background-color: rgb(0, 76, 145);
    color: white;
    text-align: center;
    padding: 10px 0;
}

footer p {
    margin: 0;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 10px 0;
    }

    main {
        width: 90%;
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    main {
        padding: 10px;
        margin: 10px auto;
    }

    header h1 {
        font-size: 2em;
    }

    nav ul li a {
        font-size: 1em;
    }
}
