/* General Styles */
body {
    margin: 0;
    padding: 0;
    background-color: white; /* Clear white page */
    font-family: Arial, sans-serif;
  
}

/* Logo Section */
.logo-section {
    padding: 20px;
    position: relative;
    text-align: center; /* Default centering */
}

.logo {
    position: relative;
    left: 4cm; /* Desktop: Original position */
    display: block;
    width: auto;
    height: 45px; /* Reduce height to make the logo smaller */
}

/* Blue Band */
.blue-band {
    position: relative; /* Ensure proper layering */
    background-color: #003366; /* Darker blue for better contrast */
    width: 100%;
    height: 8cm; /* Set the height to 8cm */
    display: flex;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    z-index: 0; /* Background layer */
}

.blue-band::before {
    content: ''; /* Pseudo-element for background */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.bosscollect.co.uk/image/postbox2.jpeg'); /* Updated postbox image */
    background-repeat: no-repeat; /* No tiling */
    background-size: cover; /* Ensure the image covers the entire banner */
    background-position: center top; /* Focus on the postbox */
    opacity: 0.15; /* Subtle visibility for the watermark */
    z-index: -1; /* Place behind content */
}

/* Content Inside Blue Band */
.content {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    width: 90%;
    max-width: 1100px;
    position: relative; /* Required for z-index to work */
    z-index: 1; /* Ensure text appears above the background */
}

.band-text {
    color: white; /* Change text color to white */
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0;
    width: 60%;
    text-align: left;
    position: relative;
    left: 6cm; /* Move text 6cm to the right */
}

/* Band Image */
.band-image {
    width: 7cm; /* Width set to 7cm */
    height: 7cm; /* Height set to 7cm */
    border: 4px solid white; /* White border */
    border-radius: 4px; /* Slightly rounded corners */
    object-fit: cover; /* Ensures the image fits within the dimensions */
    position: absolute;
    top: 1.5cm; /* Move image 1cm upward */
    right: 2cm; /* Position remains at 2cm to the right */
    z-index: 2; /* Keep the couple image above the background */
}

/* Mobile Phone Image Section */
.image-section {
    background-color: white;
    text-align: center;
    padding: 20px;
}

.phone-image {
    width: auto;
    height: 300px; /* Adjust height to fit nicely on the page */
    object-fit: contain;
}

/* Light Blue Band */
.light-blue-band {
    background-color: #7db7e8; /* New lighter blue shade */
    padding: 30px 20px;
    box-sizing: border-box;
    margin-top: 0.5cm; /* Move the band down by 0.5cm */
    overflow: hidden; /* Prevents any overflow */
    display: flex;
    align-items: center;
    justify-content: center; /* Align text and symbol closer to center */
}

.light-band-content {
    display: flex;
    align-items: center;
    gap: 20px; /* Add space between text and image */
}

.light-band-text {
    color: white; /* White text */
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: left;
}

.email-symbol {
    width: 5cm; /* Set width to 5cm */
    height: 5cm; /* Set height to 5cm */
    object-fit: contain; /* Maintain aspect ratio */
}

/* Case Studies Section */
.case-studies-band {
    background-color: white;
    padding: 40px 20px;
    box-sizing: border-box;
    text-align: left;
    line-height: 1.6;
    color: #333;
}

.case-studies-band h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #004d99;
    position: relative;
    left: 10%; /* Move header to align with the text below */
}

.case-studies-text {
    margin-left: 10%;
    margin-right: 10%;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Contact Us Section */
.contact-us-band {
    background-color: #004d99; /* Dark blue (#004d99) */
    padding: 40px 20px 84px; /* Adjusted bottom padding */
    color: white;
    overflow: hidden; /* Ensure no overflow occurs */
}

.contact-us-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1100px; /* Match maximum width to avoid extra space */
    margin: 0 auto;
    position: relative;
}

.contact-us-text {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: left;
    margin-left: calc(10% + 4.5cm); /* Keep text in place */
}

.contact-us-text h2 {
    font-size: 1.7rem; /* Reduced font size */
    margin-bottom: 0; /* Remove extra space between the title and the text below */
}

.contact-us-text p {
    margin-top: 5px; /* Add slight spacing for visual clarity */
}

.contact-us-image {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    position: absolute;
    right: 7.5cm; /* Image remains in position horizontally */
    top: -30px; /* Maintain current position */
}

.contact-us-image img {
    max-width: 250px;
    height: auto;
    border-radius: 4px;
    border: 4px solid white;
}

/* Footer Section */
.footer-band {
    background-color: white;
    padding: 20px;
    text-align: center;
}

.footer-text {
    font-size: 11px;
    line-height: 1.4;
    color: #333;
}

/* Cookie Bar Styles */
.cookie-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #004d99; /* Match dark blue from website */
    color: white;
    display: flex;
    justify-content: flex-start; /* Align buttons and text to the left */
    align-items: center;
    padding: 5px 15px; /* Increased padding for better alignment */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999; /* Ensure it is above all other content */
    font-size: 0.9rem; /* Keep it thin and compact */
}

.cookie-message {
    margin: 0;
    flex: 1;
}

.cookie-link {
    color: #7db7e8; /* Match light blue from website */
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px; /* Reduced spacing for closer alignment */
    margin-left: 10px; /* Adjusted to bring buttons further left */
}

.cookie-button {
    background-color: #7db7e8; /* Match light blue */
    color: white;
    border: none;
    padding: 5px 15px; /* Increased padding for larger buttons */
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.cookie-button:hover {
    background-color: #005f99; /* Slightly darker blue for hover effect */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .logo {
        position: relative;
        left: -0.5cm; /* Move the logo 0.5cm back to the right */
        margin: 0 auto; /* Keep it centered overall */
        text-align: center;
    }

    .blue-band {
        height: auto; /* Allow blue band height to adapt */
        padding: 20px 10px;
        flex-direction: column; /* Stack content vertically */
    }

    .band-text {
        font-size: 1rem;
        width: 100%; /* Full width for smaller screens */
        text-align: center;
        left: 0; /* Center-align text */
    }

    .band-image {
        display: none; /* Remove image of the couple for mobile */
    }

    .image-section .phone-image {
        margin: 0; /* Reset margin */
        margin-left: -10px; /* Move the phone image closer to the edge of the screen */
        height: 250px; /* Slightly smaller size for mobile */
    }

    .light-blue-band {
        flex-direction: column; /* Stack text and symbol */
        align-items: center;
        text-align: center; /* Center-align text for mobile */
        padding-bottom: 30px; /* Add extra blue space below the symbol */
    }

    .light-band-content {
        display: flex;
        flex-direction: column; /* Stack text and symbol vertically */
        align-items: center;
    }

    .email-symbol {
        margin-top: 10px; /* Reduce spacing to move the symbol 0.5cm (5mm) higher */
    }

    .contact-us-content {
        flex-direction: column; /* Stack content */
        align-items: center; /* Center-align text and image */
    }

    .contact-us-text {
        margin-left: 0;
        text-align: center; /* Center-align text */
    }

    .contact-us-image {
        position: static; /* Remove absolute positioning */
        margin-top: 20px; /* Add spacing above image */
    }

    .cookie-bar {
        flex-direction: column; /* Stack text and buttons vertically */
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center; /* Center-align buttons */
    }
}

