/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}
header, nav, main, footer {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}
header {
    text-align: center;
}
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}
nav ul li {
    margin: 5px 15px;
}
nav ul li a {
    text-decoration: none;
    color: #0b4a8b;
    font-weight: bold;
}
.hero {
    background: url('https://debtcollecting.ca/media/hero.jpg') no-repeat top center/cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative; /* Makes positioning easier */
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}
.hero > * {
    position: relative;
    z-index: 1;
}

.hero .banner {
    max-width: 100%; /* Ensures the banner scales with the viewport */
    height: auto; /* Maintains aspect ratio */
    margin-top: 20px; /* Adds spacing from the text */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Adds some depth to the image */
    border-radius: 5px; /* Optional: Rounds the edges slightly */
}


.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.hero p {
    font-size: 1.8em;
    color: #f5f7fb;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
main {
    padding: 40px 0;
}
.content-section {
    margin-bottom: 40px;
}
.content-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
.content-section p {
    margin-bottom: 15px;
}
.industries-list, .services-list {
    list-style: none;
    columns: 2;
    margin-top: 20px;
}
.industries-list li, .services-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}
.industries-list li::before, .services-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007BFF;
}
.contact-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}
.contact-section h2 {
    margin-bottom: 20px;
}
.contact-section p {
    margin-bottom: 20px;
}
.contact-section a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}
footer {
    background-color: #1f1f1f;
    color: #f8f8f8;
    padding: 20px 0;
    text-align: center;
}
footer .footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}
footer .footer-links a {
    color: #f8f8f8;
    text-decoration: none;
}
footer .footer-links a:hover,
footer .footer-links a:focus {
    text-decoration: underline;
}
.login-message {
    color: #b00020;
}
.form-textarea {
    width: 100%;
    min-height: 150px;
}
.image-preview {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.image-preview-item {
    max-width: 150px;
    height: auto;
    border-radius: 4px;
}
.text-right {
    text-align: right;
}
.logout-button {
    background-color: #cccccc;
    color: #333333;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}
.logout-button:hover,
.logout-button:focus {
    background-color: #b7b7b7;
}
.blog-image {
    max-width: 100%;
    height: auto;
}
.share-button {
    margin-top: 12px;
}
.map-embed {
    border: 0;
    width: 100%;
    max-width: 100%;
}
.is-hidden {
    display: none;
}
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    .industries-list, .services-list {
        columns: 1;
    }
    .hero h1 {
        font-size: 2em;
    }
}
