/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Allows floating box to position relative to the body */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    padding-bottom: 120px; /* Add bottom padding to preserve footer space */
    position: relative;
    /* Ensure this section is not affected by the floating box */
    z-index: 1;
    /* Keeps container on top of floating box */
}

/* Floating Box */
.floating-box {
    position: absolute;
    /* top: 15%; Control vertical position */
    left: 0;
    /* Extend it to fill the width */
    width: 100%;
    /* Full width */
    height: 100%;
    /* Configurable height */
    background: url('assets/bckg_1.jpeg') no-repeat center center/cover;
    /* Stable Unsplash image */
    /* border: 3px dashed rgba(52, 152, 219, 0.9); */
    /* border-radius: 15px; */
    z-index: 0;
    /* Makes sure this is behind other elements */
    opacity: 0.8;
    /* Makes the box semi-transparent */
}

.logo-image {
    width: 10%;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 48px;
    font-weight: bold;
    color: #2c3e50;
}

.subtitle {
    font-size: 18px;
    color: #7f8c8d;
    margin-top: 10px;
}


/* Product Section */
.products {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px;
    padding: 20px;
}

/* Make the entire product box clickable */
.product-link {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
    cursor: pointer; /* Ensures the pointer changes when hovering over the whole div */
}

.product {
    background-color: rgba(52, 152, 219, 0.9); /* Semi-transparent background */
    color: #fff;
    width: 40%;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
    margin: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product img {
    max-width: 60%; /* Make the image responsive and resizable */
    
    height: auto;
    border-radius: 20px;
    object-fit: contain; /* Ensure the image fits within the container */

    
    opacity: 0.7; /* Slight transparency for the logo */
    transition: opacity 0.3s ease-in-out; /* Smooth transition for hover */

    cursor: pointer;
}

.product img:hover {
    opacity: 1; /* Full opacity on hover */
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.8); /* White shadow around the image */
    
}

.product:hover {
    transform: scale(1.05);
}

.product h2 {
    font-size: 24px;
    margin: 10px 0;
}

/* Ensure that <a> inside <h2> inherits the styling */
h2 a {
    font-size: inherit; /* Inherit the font size from the parent h2 */
    color: inherit; /* Inherit the color from the h2 */
    text-decoration: none; /* Remove the underline */
}

h2 a:hover {
    text-decoration: underline; /* Add underline on hover if desired */
    color: #fff; /* Optional: Change color on hover */
}

/* Link to product website */
/* Link inside the paragraph (keep smaller font size for regular links) */
.product p a {
    font-size: 16px; /* Set font size specifically for links inside <p> */
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

/* Product h2 styling */
.product h2 {
    font-size: 24px; /* Ensure the h2 keeps its size */
    margin: 10px 0;
}


.product a:hover {
    text-decoration: underline; /* Optional: Add underline on hover for text links */
}

/* Responsive Design for smaller screens */
@media screen and (max-width: 768px) {
    .products {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 80%;
        margin-bottom: 20px;
    }
}



.product.background-fill img {
    display: none;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #2c3e50;
    color: white;
    border-radius: 10px;
}

footer p a {
    color: #fff;
}

.blur-background {
    background-color: rgba(44, 62, 80, 0.3);
    backdrop-filter: blur(10px);
    /* Adjust the blur amount */
    -webkit-backdrop-filter: blur(10px);
    /* For Safari support */
}

.blur-background-product {
    background-color: rgba(12, 76, 140, 0.4);
    backdrop-filter: blur(10px);
    /* Adjust the blur amount */
    -webkit-backdrop-filter: blur(10px);
    /* For Safari support */
}

/* Cookie Consent Strip Styles */
.cc-window {
    width: 100%;
    max-height: 50px;
    /* Small height */
    padding: 5px 15px 15px 15px;
    /* Reduce padding */
    font-size: 12px;
    /* Smaller font size */
    position: fixed;
    bottom: 0;
    z-index: 1000;
    border-radius: 0;
    box-shadow: none;
}

.cc-btn {
    padding: 5px 10px;
    font-size: 10px;
    line-height: 1;
    border-radius: 5px;
}


/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0) 40%);
    color: white;
    text-align: left; /* Align text to the left */
    padding: 10px 20px; /* Reduce padding to make the banner thinner */
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px; /* Reduce font size to make it smaller */
}

.cookie-consent-banner p {
    margin: 0;
    flex-grow: 1; /* Ensure message takes available space */
}

.cookie-consent-banner a {
    color: #ffffff; /* White text for 'Learn more' link */
    text-decoration: underline; /* Optional: underline for link */
}

.cookie-btn {
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 5px 10px; /* Make the button smaller */
    margin-left: 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 12px; /* Smaller font size for button */
}

.cookie-btn:hover {
    background-color: #e67e22;
}