/*--- General site layout + default styling ---*/

body {
    margin: 0;
    min-height: 100vh;
    display: flex; /* Vertical layout of main elements */
    flex-direction: column;
    align-items: center;
    line-height: 1.5; /* Make default line height more accessible */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.3em; /* increase overall text size */
    background-color: #ffffff;
} 

* {
    box-sizing: border-box;
}


header, main {
    width: 100%;
    max-width: 960px;
    margin: 0.5em auto 0 auto;
    padding-left: 2em;
    padding-right: 2em;
}

main{
    border-top: 3px solid #253C8A;
    margin-bottom: 0.5em;
}

footer {
    margin-top: auto;
    background-color: #F3C300;
    align-self: stretch;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
   
}

h1,h2,h3,h4,h5,h6 {
    color: #1A3D6D;
    margin-top: 1em;
    margin-bottom: 0.3em;
}

p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.site-header {
    display: flex;
    align-items: center;
    min-height: 7em;
}

.site-logo {
    color: #000000;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: auto;
    font-size: 3em;
    font-weight: bold;
}

.navigation {
    display: flex;
    justify-content: center; 
    gap: 1px; /* spacing between links */
    margin-top: 3px;
}

.navigation-link {
    color: #1A3D6D;
    font-size: 1.3em;
    padding: 0.5em 0.5em;
    text-decoration: none;
    font-weight: normal;
    border-radius: 4px;
}
a {text-decoration: none;}

.navigation-link:hover {
    color: #F3C300;
}
.home-images {
    display: flex;
    gap: 10px;
    justify-content: center;
}  
.home-images img {
    width: 300px;
    height: auto;
    border-radius: 8px;
}

/* Table styling */

    table {
        border: 3px solid #1A3D6D; /* single bold border */
        border-collapse: collapse; /* removes double borders */
        width: 100%;
    }

    table td {
        border: 3px solid #1A3D6D; /* same thickness for inner lines */
        padding: 10px;
 
}
       table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}


thead {
    background-color: #eaebf5;
}

th, td {
    border: 1px solid #d7d7d7;
    padding: 0.5em 0.8em;
    text-align: left;
}

/* Form styling */

form {
    max-width: 40em;
    border: 1px solid #e5e5e5;
    /* background-color: #f3f3f3; */
    padding: 1.5em;
    margin: 2em 0;
}


label {
    font-size: 0.9em;
}

input[type='text'], input[type='email'], textarea {
    border-style: solid;
    border-width: 1px;
    border-color: #b3b3b3;
    width: 100%;
    margin-bottom: 1em;
    padding: 0.3em;
}

input[type='radio'] {
    display: inline;
    margin-right: 0.5em;
}

textarea {
    resize: none;
}

button[type="submit"] {
    width: auto;
    padding: 0.5em 2em;
    background-color: #1e3da3;
    color: white;
    border-style: none;
    border-radius: 0.3em;
    margin: 1.5em 0 0 0;
    transition: 0.3s ease; /* smooth animation */
}

button[type="submit"]:hover {
    background-color: #202945; /* navy */
    color: #F3C300; 
    cursor: pointer;
    transform: scale 1.05; /* slight zoom */
}


.form-header {
    margin-top: 0;
}

.form-description {
    margin-bottom: 1.5em;
}
form {
    border: 2px solid #202945;
    border-radius: 8px;
    padding: 20px;
    background-color: transparent; /* keeps the box clean */
    
}
form input[type="text"],
form input[type="email"],
form textarea {
    border: 2px solid #202945;
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent; /* keeps the inside white/clear */
}


.social-icons {
    display: flex;
    gap: 12px; /* easiest spacing method */
    justify-content: center; /* or left/right */
    align-items: center;
}
@media (max-width: 600px) {
  .navigation {
    flex-direction: column;   /* stack items vertically */
    align-items: center;      /* center each item */
    justify-content: center;
  }
  body{background-color: #96829e;}
 
  img{max-width: 95%;}
}
