body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
}
/* Container styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header styles */
.header {
    background-image: url('https://cdn.e-motiveonline.com/UMBRA/Description/aaaa.jpg');  /* Sets the background image for the header */
    background-size:cover;  /* Ensures the entire image fits within the header without cropping */
    background-position: center;  /* Centers the background image within the header */
    color: #ffffff;  /* Sets the text color to white */
    padding: 14px;  /* Adds padding inside the header to create space around the content */
    text-align: right;  /* Aligns the text to the right side of the header */
    height: 125px;  /* Sets the height of the header */
    display: flex;  /* Enables flexbox for advanced layout options */
    align-items: center;  /* Vertically centers the content within the header */
    justify-content: flex-end;  /* Aligns all content to the right */
}

.header img {
    max-width: 15%;  /* Limits the width of the image to 20% of the header's width */
    height: 85;  /* Maintains the image's original aspect ratio */
    margin-right: 25px;  /* Adds space on the left side of the image to adjust its position */
}

        /* Mobile view styles */
@media (max-width: 768px) {
    /* Container styles */
    .container {
        padding: 10px;  /* Adds padding inside the container for better spacing */
        box-shadow: none;  /* Optional: Removes box shadow for a simpler design on mobile */
        border-radius: 0;  /* Optional: Removes border-radius to take full width of the screen */
    }

    /* Header styles */
    .header {
        background-image: url('https://cdn.e-motiveonline.com/UMBRA/Description/azienda-umbra-rimorchi-5.jpg');  /* Keeps the background image */
        background-size:100%  /* Ensures the background image covers the entire header */
        background-position: center;  /* Centers the background image */
        background-repeat: no-repeat;  /* Ensures the background image doesn't repeat */
        padding: 10px;  /* Reduces padding for a more compact header on mobile */
        text-align: center;  /* Centers the text in the header */
        height: auto;  /* Adjusts the height to fit the content */
        display: block;  /* Changes display to block for better layout on mobile */
    }

    .header img {
        max-width: 30%;  /* Adjusts the image width to fit better on mobile screens */
        height: auto;  /* Maintains the image's aspect ratio */
        margin-right: 0;  /* Removes margin-right for better alignment */
    }        }
        
        
        
/* Menu styles */
.menu {
    background-color: #5bbe71;
    overflow: hidden;
    text-align: center;
    padding: 10px 0;
    position: relative;  /* Ensures that the dropdown content is positioned relative to the menu */
}

/* Menu links */
.menu a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 25px;
    margin: 0 10px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

/* Menu link hover effect */
.menu a:hover {
    background-color: #e1e17f;
}

/* Dropdown container */
.dropdown {
    display: inline-block;
    position: relative;  /* Ensures that the dropdown content is positioned relative to the dropdown container */
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #5bbe71;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;  /* Sets a high z-index to ensure it appears on top of other elements */
}

/* Dropdown links */
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Dropdown link hover effect */
.dropdown-content a:hover {
    background-color: #e1e17f;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change background color of dropdown link when hovered */
.dropdown:hover > a {
    background-color: #e1e17f;
}

.main-content {
    display: flex;
    padding: 20px;
    overflow: auto; /* Allows scrolling within the container */
    height: 400px; /* Sets the height of the container */
}

.main-content img {
    max-width: 500px;
    height: auto;
    margin-right: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;  /* Makes the image sticky */
    top: 20px;  /* The image sticks to the top when scrolled */
}

/* General Styles for Product Details */
.product-details {
    flex: 1;
    text-align: center;
    overflow-y: auto; /* Ensures vertical scroll if content exceeds container */
}

/* Styles for the H1 header */
.product-details h2 {
    font-size: 22px;
    margin-bottom: 10px;
    background-color: #5bbe71;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;  /* Makes the H1 header sticky */
    top: 0;  /* The H1 header sticks to the top when scrolled */
    z-index: 1;  /* Ensures the H1 stays on top of other content */
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .product-details {
        max-height: 80vh; /* Adjust as needed to fit your design */
        overflow-y: auto; /* Enables vertical scroll if content overflows */
    }
}




/* Fitment tab styles */
/* Fitment tab styles */
.fitment {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    text-align: center;
    max-height: 300px; /* Set a max-height for scrolling */
    overflow-y: auto; /* Enable vertical scrollbar */
    position: relative; /* Required for background positioning */
    background-size: cover;
    background-position: center;
    animation: backgroundCycle 15s infinite; /* Increase animation duration to 15s for a 5s delay per image */
    background-color: rgba(255, 255, 255, 0.6); /* Light background to enhance visibility of content */
}

/* Background image cycling animation */
@keyframes backgroundCycle {
    0% {
        background-image: url('https://cdn.e-motiveonline.com/UMBRA/Description/modello-f-ganci-traino.jpg');
    }
    33% {
        background-image: url('https://cdn.e-motiveonline.com/UMBRA/Description/modello-c-ganci-traino.jpg');
    }
    66% {
        background-image: url('https://cdn.e-motiveonline.com/UMBRA/Description/modello-vm-ganci-traino.jpg');
    }
1000% {
        background-image: url('https://cdn.e-motiveonline.com/UMBRA/Description/modello-f-ganci-traino.jpg');
    }
}

/* Header style */
.fitment h2 {
    font-size: 24px;
    background-color: #5bbe71;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    position: sticky; /* Make the header sticky */
    top: 0; /* Position it at the top of its container */
    z-index: 1; /* Ensure it's above other content */
}

.fitment h2:hover {
    background-color: #e1e17f; /* Change background color on hover */
}

/* Table styles */
.fitment table {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.90); /* Light background for table */
    border-radius: 10px;
    overflow: hidden; /* Ensures rounded corners */
}

.fitment th, .fitment td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    color: #333; /* Dark text for better readability */
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .fitment {
        max-height: 200px; /* Limit height to show only a few lines of data before scrolling */
        overflow-y: auto; /* Enable vertical scrollbar for mobile view */
        background-color: rgba(255, 255, 255, 0.6); /* Ensure background is light for better visibility */
    }

    .fitment h2 {
        font-size: 20px; /* Adjust font size for smaller screens */
    }

    .fitment table {
        font-size: 14px; /* Adjust font size for table content */
    }
}


.accordion-section {
    margin: 10px 0;
    border-top: 1px solid #ddd;
}
.accordion-section input {
    display: none;
}
.accordion-section label {
    display: block;
    background-color: #5bbe71;
    color: white;
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
    margin: 0;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}
.accordion-section label:hover {
    background-color: #e1e17f;
}
.accordion-content {
    display: none;
    padding: 15px;
    background-color: #fff;
    text-align: center;
    border-radius: 10px;
    border-top: 1px solid #ddd;
    margin-top: 10px;
}
.accordion-section input:checked ~ .accordion-content {
    display: block;
}
.accordion-section input:checked ~ label {
    background-color: #e1e17f;
}
     /* Style for the h2 element within the .brands container */
.brands {
    margin: 0;
    padding: 0;
}

.brands h2 {
    font-size: 24px;
    background-color: #5bbe71; /* Black background */
    color: #fff; /* White text color */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease; /* Transition for background color and text color */
    display:inline-block; /* Make sure it takes up the full width */
    width: 100%; /* Full width */
    max-width: 1200px;
    text-align: center;
    margin: 0; /* Remove default margin */
}



/* Change the background color and text color of h2 when hovered */
.brands h2:hover {
    background-color: #e1e17f; /* Red background */
    color: #fff; /* Keep text color white */
}


/* Change the background color and text color of h2 when hovered */
.brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 0;
}

.brand-item {
    flex: 0 1 30%; /* Each item takes up 30% of the row */
    text-align: center;
    margin: 15px; /* Adjusted margin for better spacing */
}

.brand-item img {
    width: 150px; /* Fixed width for the image */
    height: 150px; /* Fixed height for the image */
    object-fit: contain; /* Ensures the image fits within the specified dimensions without distortion */
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.brand-item p {
    margin-top: 10px;
    font-size: 16px; /* Slightly larger font size */
    color: black; /* Black font color for car name */
    
}

/* Hover effect for images */
.brand-item img:hover {
    transform: scale(1.50);
}

.brand-item p {
    margin-top: 10px;
    font-size: 16px; /* Slightly larger font size */
    color: black; /* Black font color for car name */
    text-decoration: none; /* Remove underline */
}

/* If the text is inside a link, target the link element */
.brand-item a {
    text-decoration: none; /* Remove underline */
    color: black; /* Ensure link has the same color as regular text */
}

.brand-item a:hover {
    text-decoration: none; /* Ensure underline doesn't reappear on hover */
}


/* Mobile view adjustments */
@media (max-width: 767px) {
    .brands {
        padding: 10px;
        margin: 15px 0;
    }

    .brand-item {
        flex: 1 1 calc(50% - 20px); /* Two images per row on mobile */
        margin: 10px; /* Adjusted margin for better spacing on mobile */
    }

    .brand-item img {
        width: 80px; /* Adjusted image width for mobile */
        height: 80px; /* Adjusted image height for mobile */
    }

    .brand-item p {
        font-size: 14px; /* Slightly smaller font size for mobile */
    }
}





/* Container for the video and button */
/* Container for the video and button */
.video-container {
    max-width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 auto; /* Center the container */
    text-align: center; /* Center align content inside */
}

/* Make video responsive and fill container */
.video-container video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh; /* Limit video height for better scaling */
}

/* Button container styling */
.cta {
    position: absolute;
    bottom: 10px; /* Align button container to the bottom */
    left: 50%;
    transform: translateX(-50%); /* Center align the button */
    width: auto; /* Adjust width to fit button */
    z-index: 10; /* Ensure button is above the video */
}

/* Button styling */
.cta a {
    text-decoration: none; /* Remove underline from the link */
}

.cta button {
    background-color: #e1e17f;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative; /* Ensure button is positioned correctly */
}

/* Button hover effect */
.cta button:hover {
    background-color: #e64545;
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-container video {
        max-height: 60vh; /* Adjust height for smaller screens */
    }
}




.footer22 {
    background-color: #5bbe71;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 0 0 10px 10px;
}
.footer img22 {
    width: 40px;
    height: auto;
    margin: 10px;
    filter: brightness(0) invert(1);
}
/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        height: auto; /* Remove fixed height for mobile view */
    }
    .main-content img {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
       .accordion-section label {
        font-size: 18px;
        padding: 12px;
    }
    .accordion-content {
        padding: 10px;
    }


    .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }
    
    .menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 16px;
        margin: 0;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }
    
    .menu a:hover {
        background-color: #e1e17f;
    }
}
        .product-details h1 {
    font-size: 28px;
    margin-bottom: 10px;
    background-color: #e1e17f;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


 /* General Footer Container */
footer {
    background-color: #f9f9f9; /* Matches the overall design */
    padding: 50px 0; /* Space around the footer */
    border-top: 1px solid #ddd; /* Subtle border at the top */
}

/* Footer Columns Container */
.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Adjust padding as needed */
}

/* Footer Columns */
.footer-column {
    flex: 1;
    margin: 0 10px; /* Space between columns */
}

/* Footer Column Headings */
.footer-column h3 {
    font-size: 19px;
    color: #333; /* Matches text color theme */
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Footer Column Lists */
.footer-column ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    font-size: 17px;
    color: #333; /* Matches text color theme */
    text-decoration: none;
    text-align: center;
}

.footer-column ul li a:hover {
    color: #ff4d4d; /* Matching hover color */
}

/* Logo in Footer */
.footer-logo {
    max-width: 150px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 20px;
}

/* Social Icons */
.social_icons {
    display: flex;
    padding-left: 0;
    margin: 0;
}

.social_icons li {
    margin-right: 15px;
}

.social_icons li:last-child {
    margin-right: 0;
}

.social_icons img {
    width: 24px; /* Adjust size as needed */
    height: auto;
}

/* Small Footer Section */
.small_footer {
    background-color: #5bbe71; /* Matches header and menu */
    padding: 20px 0;
    text-align: center;
}

.small_footer span {
    font-size: 15px;
    color: #ffffff; /* Matches text color theme */
    font-weight: 600;
}


/* Mobile View */
@media (max-width: 768px) {
    /* Footer Columns Container */
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center footer columns */
        padding: 0 10px; /* Reduced padding for mobile */
    }

    /* Footer Columns */
    .footer-column {
        width: 100%; /* Make sure columns take full width */
        margin: 0 0 20px; /* Space between columns, increased at bottom for stacking */
        text-align: center; /* Center text within columns */
    }

    /* Footer Column Headings */
    .footer-column h3 {
        font-size: 16px; /* Adjust font size for mobile */
        margin-bottom: 15px; /* Reduced margin for mobile */
    }

    /* Footer Column Lists */
    .footer-column ul {
        padding: 0; /* Remove default padding */
        list-style: none; /* Remove bullets */
    }

    .footer-column ul li {
        margin-bottom: 8px; /* Reduced margin for mobile */
        text-align: center; /* Center text within list items */
    }

    .footer-column ul li a {
        font-size: 15px; /* Adjust font size for mobile */
        text-decoration: none; /* Remove underline from links */
    }

    /* Logo in Footer */
    .footer-logo {
        max-width: 120px; /* Adjust logo size for mobile */
        margin-bottom: 15px; /* Reduced margin for mobile */
    }

    /* Social Icons */
    .social_icons {
        display: flex;
        justify-content: center; /* Center icons */
        padding: 0; /* Remove default padding */
    }

    .social_icons li {
        margin-right: 10px; /* Reduced margin for mobile */
    }

    .social_icons img {
        width: 20px; /* Adjust size for mobile */
    }

    /* Small Footer Section */
    .small_footer {
        text-align: center; /* Center text in small footer section */
        padding: 15px 0; /* Reduced padding for mobile */
    }

    .small_footer span {
        font-size: 13px; /* Adjust font size for mobile */
    }
}



  .custom-container {
        display: flex;
        align-items: stretch;
        background: #fff;
        background: linear-gradient(90deg, #fff 0, red 42%);
        padding: 10px;
        box-sizing: border-box;
        flex-wrap: wrap; /* Allows wrapping for mobile view */
    }

    /* Disclaimer section styles */
    .custom-disclaimer {
        flex: 1;
        display: flex;
        align-items: center;
        padding-right: 10px;
        box-sizing: border-box;
    }

    /* Text within the disclaimer */
    .custom-disclaimer-text {
        padding: 10px;
        color: #fff;
        font-size: 18px;
        font-weight: 1200;
    }

    /* Green notification box styles */
    .custom-green-box {
        flex: 1;
        background-color: #5bbe71;
        color: white;
        font-family: Arial, sans-serif;
        padding: 20px;
        border-radius: 5px;
        max-width: 450px;
        box-sizing: border-box;
    }

    /* Mobile view */
    @media (max-width: 768px) {
        .custom-container {
            flex-direction: column; /* Stack elements vertically */
        }

        .custom-disclaimer,
        .custom-green-box {
            flex: 1 1 100%; /* Full width on mobile */
            padding: 10px 0; /* Add some space between elements */
        }

        .custom-disclaimer {
            padding-right: 0; /* Remove right padding for mobile */
        }
    }