/* Global reset for margins/padding on body and headings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    background-color: #0D2745;
}

/* Headings inside main */
main h1, 
main h2, 
main h3, 
main h4, 
main h5, 
main h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: 0;
    color: #0B2D4A; /* ties to your header/nav palette */
}

h2.section-header {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #0B2D4A; /* ties to header/nav */
    border-bottom: 3px solid #0E86D4; /* accent color */
    border-left: 0px solid transparent;
    padding-bottom: 4px;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 5px solid #0E86D4; /* accent color */
    border-bottom: 0px solid transparent;
    color: #0B2D4A;
}


header {
  background-image: url("/images/header-background.webp");
  background-color: #222;
  color: #fff;
  padding: 20px;
  text-align: center; /* keep the header as a whole centered */
}

header .header-content {
  display: inline-flex;         /* shrink-wrap logo+text and allow centering */
  align-items: center;          /* vertical alignment */
  gap: 16px;                    /* space between logo and text */
}

header .logo {
  height: 60px; /* adjust as needed */
  width: auto;
}

/* Remove default spacing from header children */
header h1,
header p {
    margin: 0;
}

.tagline {
    font-style: italic;
    margin-top: 10px;
}

nav {
    display: flex;
    background-color: #0A1C33;
    justify-content: center;
}

nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    display: block;
}

nav a:hover {
    background-color: #666;
}

main {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

/* Large screens (desktop and up) */
@media (min-width: 992px) {
    .top-bar {
        position: sticky;   /* or fixed if you want it pinned */
        top: 0;
        z-index: 1000;
    }
}

section {
    background: #fff;
    margin-bottom: 40px;
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    padding: 40px; 
}

.video-container {
    text-align: center;
}

iframe {
    width: 100%;
    height: 400px;
    border: none;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: auto;
}

form input,
form button {
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    width: 100%;
}

/* subtle focus effect */
form input:focus {
    border-color: #0E3B61;
    box-shadow: 0 0 6px rgba(14, 59, 97, 0.4);
    outline: none;
}

form label {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
    color: #444;
}

form input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

form button {
    background-color: #0E3B61;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
    margin-top: 12px;
}

form button:hover {
    background-color: #0B2D4A;
    transform: translateY(-2px);
}

form button:active {
    transform: translateY(0);
}

footer {
    background-color: #222;
    background-image: url("../images/footer-background.webp");
    background-repeat: no-repeat;
    background-size: 100% auto;  
    background-position: top center;
    color: #fff;
    text-align: center;
    padding: 10px;
}

main p {
	margin-bottom:10px;
}
#form-response { display:none; }