body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

h1 {
    color: #333;
    text-align: center;
    margin-top: 50px;
}

h3 {
    font-size: 36px;
}

.banner {
    background-color: #4CAF50; /* fallback color while image loads */
    color: white;
    text-align: center;
    width: 100%;
    /* Make the banner a rectangular band and hide the overflowing parts of the image */
    height: 40vh; /* responsive height: 40% of viewport height */
    min-height: 240px; /* don't get too small on short viewports */
    max-height: 400px; /* limit very tall banners */
    overflow: hidden;
    position: relative;
}

.banner-image {
    /* Make the image fill the banner area and crop top/bottom as needed */
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* scale and crop to cover the container */
    object-position: center; /* center the crop vertically and horizontally */
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
}

.banner-text h1 {
    color: white;
    font-size: 7rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: bold;
}

.content {
    padding: 20px;
    flex: 1;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 26px;
}

.container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 300px;
    flex-shrink: 0;
}

.links {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 24px;
}

.contact {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 24px;
}

.contact p {
    font-size: 22px;
}

/* Mobile and tablet responsiveness */
@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 3rem;
    }
    
    .container {
        flex-direction: column;
        padding: 10px;
        margin-left: 0;
    }
    
    .sidebar {
        width: 100%;
        order: 2;
    }
    
    .content {
        font-size: 18px;
        margin-left: 0;
        order: 1;
    }
    
    .links {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .contact {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
    }
    
    .contact p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 30vh;
        min-height: 200px;
    }
    
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .content {
        font-size: 16px;
        padding: 15px;
    }
    
    .links, .contact {
        padding: 15px;
    }
}