/* style.css */




/* Layout for the Markets Served country list */
.markets-served-section .country-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items horizontally */
    gap: 10px 20px; /* Row gap, Column gap */
    list-style: none;
    padding: 0;
    text-align: center; /* Ensure text within items is centered */
}

.markets-served-section .country-list div {
    flex-basis: 18%; /* Aim for roughly 5 columns, adjust as needed */
    min-width: 150px; /* Prevent items from becoming too narrow */
    padding: 5px;
    /* Optional: Add border for visual separation */
    /* border: 1px solid #ddd; */
    /* background-color: #fff; */
    /* border-radius: 4px; */
}

.markets-served-section .country-list a {
    /* Inherit link styling or define specific style */
    font-weight: normal; /* Make country names not bold if desired */
    color: #333; /* Match blog link color */
    text-decoration: none;
}

.markets-served-section .country-list a:hover {
    color: #FBBA00;
    text-decoration: underline;
}

/* Responsive adjustments for country list columns */
@media (max-width: 992px) {
    .markets-served-section .country-list div {
        flex-basis: 22%; /* Aim for 4 columns */
    }
}

@media (max-width: 768px) {
    .markets-served-section .country-list div {
        flex-basis: 30%; /* Aim for 3 columns */
    }
}

@media (max-width: 576px) {
    .markets-served-section .country-list div {
        flex-basis: 45%; /* Aim for 2 columns */
    }
}





/* Styling for blog links */
.blog-news-section ul li a.blog-link {
    color: #333; /* Dark grey / black text color */
    text-decoration: none; /* Remove underline by default */
    font-weight: normal; /* Optional: make them not bold if desired */
}

.blog-news-section ul li a.blog-link:hover {
    color: #FBBA00; /* Keep yellow hover color */
    text-decoration: underline; /* Add underline on hover */
}




/* Add this rule to style.css to control the logo image size */
.logo .logo-image {
    height: 50px; /* Adjust height as needed */
    width: auto; /* Maintain aspect ratio */
    margin-right: 30px; /* Space between logo image and text */
    vertical-align: middle; /* Helps align image with text if needed, though flexbox on .logo should handle it */
}

/* Ensure the .logo link itself aligns items vertically */
header .logo {
    /* ... existing styles ... */
    display: flex;
    align-items: center; /* Vertically align image and text */
    text-decoration: none; /* Ensure link isn't underlined */
    color: #FBBA00; /* Keep text color */
    font-size: 1.8em;
    font-weight: bold;
    padding: 5px 0;
}


body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    color: #333; /* Dark grey text for readability */
    line-height: 1.6;
}


.full-width-image {
    width: 100%; /* Make image span full width of its container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below the image */
    margin-bottom: 30px; /* Keep the space below the image consistent */
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles (Intended for header.html inclusion) */
header {
    background-color: #000000; /* Black header background */
    color: #FFFFFF;
    padding: 10px 0;
    border-bottom: 5px solid #FBBA00; /* Yellow accent */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

header .logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #FBBA00; /* Yellow logo text */
    text-decoration: none;
    padding: 5px 0; /* Add padding for wrap */
    display: flex; /* Use flex to align logo placeholder and text */
    align-items: center;
}

/* Logo Placeholder */
header .logo-placeholder {
    display: inline-block;
    width: 30px; /* Adjust size as needed */
    height: 30px;
    background-color: #FBBA00; /* Yellow placeholder */
    margin-right: 10px;
    border: 1px solid #000; /* Add border if needed */
    /* Add background image or icon font here later */
}

header nav {
     flex-basis: 100%; /* Take full width on small screens if wrapped */
     order: 3; /* Move below logo/contact on wrap */
     margin-top: 10px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center; /* Center nav links */
    flex-wrap: wrap;
}

header nav ul li {
    margin: 0 10px; /* Adjusted margin */
    position: relative; /* For dropdown */
}

header nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    display: block;
}

header nav ul li a:hover,
header nav ul li:hover > a {
    /* Hover effect for top level and dropdown trigger */
    background-color: #FBBA00;
    color: #000000;
    border-radius: 3px;
}

/* Also ensure the parent dropdown has a defined width/min-width */
header nav ul li ul.dropdown {
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 10;
    min-width: 300px; /* Set a reasonable min-width, not excessively large */
    padding: 10px 0;
    border-top: 3px solid #FBBA00;
    left: 0;
    border-radius: 0 0 4px 4px;
}

header nav ul li:hover ul.dropdown {
    display: block; /* Show dropdown on hover */
}

header nav ul li ul.dropdown li {
    margin: 0;
    width: 100%;
}

header nav ul li ul.dropdown li a {
    color: #FFFFFF;
    padding: 9px 20px; /* Adjusted padding */
    white-space: nowrap; /* Prevent wrapping */
    border-radius: 0; /* No radius inside dropdown */
    font-size: 0.95em; /* Slightly smaller font in dropdown */
}

header nav ul li ul.dropdown li a:hover {
    background-color: #FBBA00;
    color: #000000;
}

header nav ul li ul.dropdown li.category-heading {
    font-weight: bold;
    color: #FBBA00;
    padding: 10px 20px 6px 20px; /* Keep reasonable padding */
    font-size: 0.9em;
    text-transform: uppercase;
    cursor: default;
    background-color: #444;
    white-space: normal;
    /* --- Add/Ensure these lines --- */
    width: 100%;             /* Force the LI to be width of container */
    box-sizing: border-box;  /* Include padding within the 100% width */
    /* --- End Add/Ensure --- */
}

header .contact-snippet {
    font-size: 1em; /* Made slightly larger */
    font-weight: 500; /* Medium weight */
    text-align: right;
    order: 2; /* Position contact info */
    flex-grow: 1; /* Allow it to take space */
    padding: 5px 0; /* Add padding for wrap */
    color: #FFFFFF; /* White for more prominence */
}
header .contact-snippet span { /* Target the text part */
    margin-right: 15px;
}

header .contact-snippet a {
    color: #FBBA00; /* Keep quote link yellow */
    text-decoration: none;
    margin-left: 10px;
    font-weight: bold;
    border: 1px solid #FBBA00; /* Add border */
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

header .contact-snippet a:hover {
    text-decoration: none;
    background-color: #FBBA00;
    color: #000000;
}


/* Full Width Image Placeholder */
.full-width-placeholder {
    width: 100%;
    height: 400px; /* Adjust height as needed */
    background-color: #f0f0f0; /* Light grey background */
    border: 1px solid #ccc; /* Light grey line */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
    margin-bottom: 30px; /* Space below image */
    box-sizing: border-box; /* Include border in size */
    text-align: center;
    padding: 20px;
}

/* General Content Styles */
h1, h2, h3 {
    color: #000000; /* Black headings */
}

h1 { margin-top: 0; font-size: 2.8em; text-align: center; margin-bottom: 10px;}
h2 { font-size: 2em; border-bottom: 2px solid #FBBA00; padding-bottom: 5px; margin-top: 40px; margin-bottom: 20px;}
h3 { font-size: 1.5em; margin-top: 30px; margin-bottom: 10px;}
.sub-headline { text-align: center; font-size: 1.3em; color: #555; margin-bottom: 30px;}

.cta-button {
    display: inline-block;
    background-color: #FBBA00; /* Yellow button */
    color: #000000; /* Black text */
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 15px;
    margin-right: 10px;
    border: 2px solid #FBBA00;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}
.cta-button:hover {
    background-color: #000000; /* Black on hover */
    color: #FBBA00; /* Yellow text on hover */
    border: 2px solid #000000;
}
 .cta-button.secondary {
     background-color: #555;
     color: #FFFFFF;
     border-color: #555;
 }
 .cta-button.secondary:hover {
     background-color: #000;
     color: #FFF;
     border-color: #000;
 }

.text-center { text-align: center; margin-bottom: 30px;}

/* Footer Styles (Intended for footer.html inclusion) */
footer {
    background-color: #333333; /* Dark grey footer */
    color: #CCCCCC;
    padding: 40px 0 20px;
    margin-top: 50px;
    font-size: 0.9em;
}

footer .footer-container { /* Container for columns */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 30px; /* Space before centered contact */
}

footer .footer-column {
    flex-basis: 31%; /* Adjust basis for 3 columns */
    margin-bottom: 30px;
    min-width: 220px; /* Prevent columns getting too narrow */
}

footer h4 {
    color: #FBBA00; /* Yellow headings */
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    border-bottom: 1px solid #555;
    padding-bottom: 8px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: #CCCCCC;
    text-decoration: none;
    display: block; /* Make links easier to click */
    transition: color 0.2s ease;
}

footer ul li a:hover {
    color: #FBBA00; /* Yellow hover */
    text-decoration: underline;
}
 footer .footer-column p {
     margin-bottom: 5px;
     line-height: 1.5;
 }

footer .footer-contact-prominent { /* New centered contact section */
    text-align: center;
    width: 100%;
    max-width: 70%; /* Limit width */
    margin: 0 auto 30px auto; /* Center block and add bottom margin */
    padding: 20px;
    background-color: #353535; /* Slightly different background */
    border-radius: 5px;
    border-top: 20px solid #FBBA00;
}
footer .footer-contact-prominent h4 {
    border-bottom: none; /* Remove border for this heading */
    margin-bottom: 10px;
    font-size: 1.3em;
}
footer .footer-contact-prominent p {
    margin-bottom: 10px;
    font-size: 1em;
    line-height: 1.6;
}
footer .footer-contact-prominent a {
    color: #FBBA00; /* Yellow links */
    font-weight: bold;
    text-decoration: none;
}
footer .footer-contact-prominent a:hover {
    text-decoration: underline;
}


footer .copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 0.8em;
    color: #999;
    width: 100%; /* Ensure copyright spans full width */
}
footer .footer-column.products ul {
  columns: 1; /* Keep as single column now with full names */
}
footer .footer-column.products li strong {
    color: #FBBA00; /* Highlight category type */
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.05em;
}
footer .footer-column.products li:first-child strong {
    margin-top: 0; /* No top margin for the first strong tag */
}


/* Specific sections for Homepage */
.value-prop-section, .about-snippet-section, .product-grid-section, .manufacturing-excellence, .call-to-action-section {
    padding: 40px 0;
}

.value-prop-section .columns {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}
.value-prop-section .columns > div {
    flex: 1;
    min-width: 200px; /* Ensure columns wrap nicely */
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 4px solid #FBBA00;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.value-prop-section .columns i {
    font-size: 2.5em;
    color: #FBBA00;
    margin-bottom: 15px;
    display: block; /* Or adjust as needed */
}
 .value-prop-section h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}
.value-prop-section p {
    font-size: 0.95em;
    color: #555;
}

.about-snippet-section {
    background-color: #f0f0f0; /* Light background to differentiate */
    padding: 40px 20px;
}

.product-grid-9 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 25px;
    margin-top: 20px;
}

.product-card {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}
.product-card img { /* Placeholder for small product images */
    max-width: 80px; /* Smaller icons */
    height: auto;
    margin-bottom: 15px;
    background-color: #f0f0f0; /* Placeholder background */
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 50%;
}
.product-card h3 {
    margin-top: 0;
    font-size: 1.2em;
    color: #000;
}
.product-card p { /* Optional short description */
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}


.call-to-action-section {
    background-color: #000000; /* Black background */
    color: #FFFFFF;
    padding: 50px 20px;
    text-align: center;
    margin-top: 40px;
}
.call-to-action-section h2 {
    color: #FBBA00; /* Yellow heading */
    border-bottom: none;
}
.call-to-action-section p {
    color: #CCCCCC;
    font-size: 1.1em;
    margin-bottom: 25px;
}


/* Form Styles (Copied from previous response for contact.html etc.) */
form label { display: block; margin-bottom: 5px; font-weight: bold; }
form input[type="text"], form input[type="email"], form input[type="tel"], form select, form textarea { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
form textarea { min-height: 150px; resize: vertical; }
form button { display: inline-block; background-color: #FBBA00; color: #000000; padding: 12px 25px; text-decoration: none; font-weight: bold; border-radius: 5px; margin-top: 15px; border: none; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; }
form button:hover { background-color: #000000; color: #FBBA00; }

/* Product Page Specific Styles (Example) */
 .product-description ul { list-style: disc; padding-left: 25px; margin-top: 15px; margin-bottom: 20px;}
 .product-table { width: 100%; border-collapse: collapse; margin-top: 30px; }
 .product-table th, .product-table td { border: 1px solid #ddd; padding: 10px; text-align: left; vertical-align: middle;}
 .product-table th { background-color: #f2f2f2; font-weight: bold; }
 .product-table img { max-width: 60px; height: auto; vertical-align: middle; margin-right: 10px;}

 /* Responsive Adjustments */
@media (max-width: 992px) {
    header .container { justify-content: center; } /* Center header items on smaller screens */
    header nav { margin-top: 15px; }
    header .contact-snippet { text-align: center; margin-top: 10px; font-size: 0.9em; } /* Adjust size */
    footer .footer-column { flex-basis: 45%; } /* Two columns on medium screens */
}

@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    header nav ul { justify-content: center; }
    header nav ul li { margin: 0 5px; } /* Less space between nav items */
    .full-width-placeholder { height: 250px; }
    .product-grid-9 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } /* Adjust grid for smaller screens */
     footer .footer-column { flex-basis: 48%; } /* Try to keep 2 columns longer */

}

@media (max-width: 576px) {
    header .logo { font-size: 1.5em;} /* Smaller logo */
    header .logo-placeholder { width: 25px; height: 25px; }
    header nav ul { flex-direction: column; align-items: center; } /* Stack nav items */
    header nav ul li { margin: 5px 0; width: 90%; text-align: center;}
    header nav ul li ul.dropdown { position: static; box-shadow: none; border-top: none; background-color: #444; } /* Adjust dropdown for stacked nav */
    footer .footer-container { flex-direction: column; align-items: center;} /* Stack columns */
    footer .footer-column { flex-basis: 100%; width: 90%; } /* Single column on small screens */
    .cta-button { width: 100%; box-sizing: border-box; margin-right: 0; margin-bottom: 10px; }
    .cta-button:last-child { margin-bottom: 0; }
}