/* Universal box-sizing and reset margins/paddings */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    margin: 0;
    padding-top: 80px; /* Adjusted for fixed header height */
}

/* Header styling */
header {
    background-color: #fdfdfd;
    color: #004AAD;
    padding: 10px 20px;
    margin-top: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 100%;
    position: fixed;
    top: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align items to the start */
}
.left-container {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    margin-left: 50px; /* Push the hamburger icon to the right */
}

.brand-logo img {
    height: 50px;
    width: auto;
    align-items: center;
}

/* Navigation and search container styling */
.nav-search-container {
    display: flex;
    align-items: center;
    justify-content:flex-end;
    flex-grow: 1;
}

/* Navigation styling */
.nav-menu {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    flex-wrap: nowrap;
    margin-left: auto; 
}

.nav-menu li {
    position: relative;
    margin: 0 3px;
    text-transform: uppercase;
}

.nav-menu li a {
    color: #004AAD;
    text-decoration: none;
    transition: color 0.3s, background-color 0.3s;
    padding: 10px 15px;
    border-radius: 5px;
    white-space: nowrap; /* Prevent text from wrapping */
    font-size: 16px; /* Default font size */
}

.nav-menu li a:hover {
    color: #f5d000;
}

/* Styling for nav menu items with dropdowns */
.nav-menu .dropdown > a::after {
    content: "▼";
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.nav-menu li .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 20010;
    min-width: 200px;
    border-radius: 5px;
    overflow: hidden;
}

.nav-menu li .dropdown-content a {
    color: #2b56ce;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.nav-menu li .dropdown-content a:hover {
    background-color: #f5d000c9;
    color: #004AAD;
}

.nav-menu li:hover .dropdown-content {
    display: block;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    margin-right: 20px;
}

/* Style for the suggestions panel */
.suggestions-panel {
    position: absolute;
    top: 55px; 
    width: 184px;
    border: 1px solid #ccc;
    background-color: white;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
    display: none; /* Hide by default */
    border-radius: 8px; /* For rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    color: #007BFF; /* Match the color in the screenshot */
    font-size: 16px; /* Adjust font size if needed */
    text-align: center; /* Center align text */
}

.suggestion-item a {
    text-decoration: none;
    color: inherit; /* Inherit color from parent */
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        align-items: center;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .nav-menu.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .nav-search-container {
       flex-direction: column; 
       flex-grow: 1; 
    }

    .nav-menu li .dropdown-content {
        position: relative; /* Change position to relative for smaller screens */
        max-height: auto; /* Reduce max height further for small screens */
    }
    
    .nav-menu li {
        width: 100%; /* Ensure the dropdowns take full width */
    }

    .nav-menu li .dropdown-content a {
        padding: 10px 20px; /* Adjust padding for smaller screens */
    }
}


/* Quote button styling */
.quote-button {
    background-color: #f5d000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quote-button:hover {
    background-color:  #004AAD;
}


/* Main content styling */
main.content {
    display: flex;
    gap: 20px;
    padding: 20px;
}


/* Intro section styling */
.intro-section {
    padding: 60px 20px;
    background-color:  #004badf2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.intro-container {
    flex: 1;
    max-width: auto;

}

.intro-container h2 {
    font-size: 3em;
    text-align: center;
    color: #fefefe;
    margin-bottom: 20px;
}

.intro-container p {
    font-size: 1.2em;
        text-align: center;
    color:  #fefefe;
    line-height: 1.6;
}

/* certificate */
.certificate-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #f9f9f9; /* Optional: light background to make the certificate stand out */
}

.certificate-section h2 {
    font-size: 24px;
    color: #004AAD; /* Optional: matches your brand color */
    margin-bottom: 20px;
}

.certificate-container {
    max-width: 600px; /* Limits the width of the certificate image */
    margin: 0 auto; /* Center the certificate */
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: add a subtle shadow for depth */
    border-radius: 10px; /* Optional: rounded corners */
}

.certificate-container img {
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px; /* Match the container's rounded corners */
}




/* Hot products section styling */
.hot-products {
    flex: 1;
    background-color: #f9f9f9;
}

.hot-products h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
    color: #004AAD;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Center the product grid */
}

.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 20px); /* Adjust to have 3 products per row */
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}


.product-card img {
    width: 100%;
    height: 10cm;
    object-fit: cover;
    border-radius: 4px;
}

.product-card h3 {
    font-size: 18px;
    margin: 10px 0;
}

.product-card p {
    margin: 5px 0;
}

/* Remove the hover effect on the product grid */
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(136, 136, 137, 0.2);
}

.product-link {
    text-decoration: none;
    color: inherit;
}

/*pdf*/
.pdf {
    background-color: #f9f9f9; /* Light background color */
    padding: 20px;
    border-radius: 10px;
    text-align: center; /* Center align text */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-width: AUTO; /* Set a max-width for the section */
    margin: 20px auto; /* Center the section on the page */
}

.pdf p {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px; /* Space between text and button */
}

.pdf a {
    text-decoration: none; /* Remove underline from link */
}

.pdf button {
    background-color: #004AAD;
    color: white;
    padding: 12px 25px; /* Larger padding for a bigger button */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px; /* Slightly larger font size */
    transition: background-color 0.3s ease; /* Smooth transition effect */
}

.pdf button:hover {
    background-color: #003380; /* Darken the button on hover */
}

.pdf button:active {
    background-color: #002966; /* Even darker on click */
    transform: scale(0.98); /* Slight shrink on click */
}

.pdf-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto; /* Center the section with automatic margins */
    width: 80%; /* Control the width of the section */
    background-color: #f9f9f9; /* Optional: Add a background color */
    padding: 20px; /* Optional: Add some padding around the section */
    border-radius: 10px; /* Optional: Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

.pdf-container h2 {
    text-align: center;
    margin-bottom: 20px; /* Space between heading and PDF */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .pdf button {
        width: 100%; /* Make buttons take up full width on smaller screens */
        margin: 10px 0; /* Ensure there's space between the buttons */
    }

    .pdf-container {
        width: 100%; /* Make the container full-width on smaller screens */
        padding: 10px; /* Reduce padding on smaller screens */
    }

    .pdf p {
        font-size: 16px; /* Adjust font size for better readability */
        margin-bottom: 15px; /* Reduce space between text and button */
    }
}

.product-video {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9; /* Optional: Add a background color */
}

.product-video h2 {
    font-size: 24px;
    color: #004AAD; /* Matches your brand color */
    margin-bottom: 20px;
}

.video-container {
    max-width: 100%; /* Allow the video to scale with the screen size */
    margin: 0 auto; /* Center the video */
    border-radius: 10px; /* Optional: Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    overflow: hidden; /* Hide any overflow from border radius */
}

.video-container video,
.video-container iframe {
    width: 100%; /* Make the video take up the full width of its container */
    height: auto; /* Maintain aspect ratio */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .product-video h2 {
        font-size: 20px; /* Slightly smaller heading on small screens */
    }

    .video-container {
        padding: 0; /* Remove any extra padding around the video */
    }
}


/* Footer styling */
footer {
    background-color:  #004AAD;
    padding: 40px 20px;
    width: 100%;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 16px;
    color: #f7d829;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color:#ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #f7d829;
}

.footer-column p {
    margin: 0 0 10px;
}

.footer-column a {
    color:#ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #f7d829;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
    color:#ffffff;
    width: 100%;
    border-top: 1px solid #ffffff;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
}



/* Responsive styling for smaller screens */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .search-container {
        justify-content: center;
    }

    .content {
        flex-direction: column;
    }

    .product-card {
        width: calc(100% - 10px); /* Adjust product cards to full width on small screens */
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        max-width: 300px;
        text-align: center;
    }
}
