html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', sans-serif;
    margin: 0.5em 0;
}

p, li, a {
    font-size: 1em;
}

footer {
    font-size: 0.875em;
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

a {
    color: #0d6efd;
    text-decoration: underline;
}

a:visited {
    color: #6c757d;
}

a:hover {
    color: #0056b3;
}

a:active {
    color: #003865;
}

.navbar a {
    text-decoration: none;
}

@media print {
    .no-print, .navbar, footer {
        display: none !important;
    }
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: none;
    }
    img, video {
        max-width: 50%;
        height: auto;
    }
    video {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .navbar-nav {
        margin-top: 1rem;
    }
    .float-start, .float-end {
        float: none !important;
        margin: 0 0 1rem 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .col-md-8, .col-md-4 {
        padding: 0 15px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

.card {
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

details {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

summary {
    font-weight: bold;
    cursor: pointer;
    color: #004080;
}

summary:hover {
    text-decoration: underline;
}

label.form-label {
    margin-bottom: 0.2rem;
    display: block;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

textarea {
    height: 150px;
    resize: vertical;
}

body, p, li {
    text-align: left;
}

#galleryCarousel {
    width: 85%;
    margin: 0 auto;
}

.carousel-item img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

header {
    width: 100%;
    background: none;
    color: #fff;
    text-align: center;
    padding: 0;
    margin: 0;
}

.header-content {
    background-color: #000 !important;
    padding: 1.2rem 0.5rem;
    margin: 0;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.header-content h1,
.header-content p {
    margin: 0.2em 0;
    color: inherit;
}

@media (max-width: 767.98px) {
    .header-content {
        padding: 0.7rem 0.2rem;
        font-size: 1.1em;
    }
}

input[type="checkbox"] {
    accent-color: #004000;
}

input[type="checkbox"] + label {
    color: #004000 !important;
}

input[type="radio"] {
    accent-color: #b00000;
}

input[type="radio"] + label {
    color: #b00000 !important;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-feedback {
    color: #b00000 !important;
}

