/* Color Palette: Blue #4A90E2 | Grey #4d4d4d */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    line-height: 1.6; 
    color: #4d4d4d; 
    background-color: #fff;
}

.container { width: 90%; max-width: 1200px; margin: auto; padding: 40px 0; }

/* --- Updated Navigation & Logo Logic --- */
nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Keeps menu vertically centered next to the large logo */
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px; /* Increased padding for better breathing room */
}

/* THE LOGO FIX */
.logo-img {
    height: 150px; /* Increase this to your preferred "Big" size */
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 600;
    padding: 10px 15px;
    transition: 0.3s;
}

nav ul li a.active, nav ul li a:hover {
    color: var(--primary-blue);
}

/* --- Mobile Menu Toggle Styling --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--dark-grey);
    border-radius: 2px;
}

/* --- Responsive Behavior --- */
@media (max-width: 992px) {
    @media (max-width: 992px) {
    .logo-img {
        height: 100px; /* Increase this so it doesn't shrink as much on smaller screens */
    }
    
    /* ... rest of your existing media query code ... */
}

    .menu-toggle {
        display: flex;
    }

    #nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    #nav-list.show {
        display: flex;
    }

    #nav-list li {
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }
}

/* Headers */
header { 
    background: #f8f9fa; 
    color: #4A90E2; 
    padding: 50px 0; 
    text-align: center;
    border-bottom: 1px solid #eee;
}

h1 { font-size: 3rem; text-transform: uppercase; letter-spacing: 1px; }
h2 { color: #4A90E2; margin-bottom: 25px; font-weight: 600; }

/* Grid & Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.card:hover { transform: translateY(-5px); border-color: #4A90E2; }

/* Footer */
footer { 
    background: #4A90E2; 
    color: white; 
    text-align: center; 
    padding: 25px 0; 
    margin-top: 50px; 
}

/* Contact Specifics */
.contact-detail { margin-bottom: 15px; font-size: 1.5rem; }
.contact-detail strong { color: #4A90E2; }

.product-section { margin-bottom: 50px; }
.product-section h2 { 
    text-align: left; 
    border-bottom: 2px solid #4A90E2; 
    padding-bottom: 10px; 
    margin-bottom: 30px; 
}

.card { 
    border: 1px solid #eee; 
    padding: 20px; 
    text-align: center; 
    background: #fff; 
    transition: transform 0.3s;
    
    /* These lines fix the alignment */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes content to top and bottom */
    height: 100%; /* Ensures all cards in a row are equal height */
}

.card img { 
    max-width: 100%; 
    height: 200px; /* Set a fixed height for the image container */
    object-fit: contain; /* Keeps the pump images proportional without cropping */
    margin-bottom: 15px; 
}

.card h3 {
    margin-top: auto; /* Pushes the title to the very bottom of the card */
    font-size: 1.5rem;
    color: #4d4d4d;
    min-height: 2.4em; /* Allows for two lines of text if needed */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Style for the active menu item */
nav ul li a.active {
    color: var(--primary-blue);
    font-weight: bold;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 5px;
}

/* Ensure other links change color on hover but keep the active one prominent */
nav ul li a:hover {
    color: var(--primary-blue);
}





/* Fix for the Contact Section Layout */
#pcs_23 {
    display: flex;
    align-items: center; /* Vertically centers text with image */
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section_box_image {
    flex: 1; /* Takes up half the space */
}

.section_box_image img {
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.section_box_image_1 img {
    width: 50%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.section_box_content {
    flex: 1; /* Takes up the other half */
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Contact Details Card Styling */
.contact-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    border-left: 5px solid var(--primary-blue);
}

.contact-detail {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

/* Responsive adjustment for mobile */
@media (max-width: 900px) {
    #pcs_23 {
        flex-direction: column; /* Stacks image on top of text on small screens */
        text-align: center;
    }
}


:root {
    --primary-blue: #0056b3;
    --dark-grey: #333;
    --light-bg: #f4f7f9;
    --white: #ffffff;
    --header-dark: #222;
}

body {
    background-color: var(--light-bg);
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* --- Header & Sections --- */
header {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('Images/Contact_us/retail-area.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

header h1 { font-size: 4rem; margin: 0; }

#pcs_23 {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.section_box_image, .section_box_content { flex: 1; }

@media (max-width: 768px) {
    #pcs_23 { flex-direction: column; text-align: center; }
}

.contact-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    border-left: 6px solid var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* --- Root Variables --- */
:root {
    --primary-blue: #0056b3;
    --dark-grey: #333;
    --light-bg: #f4f7f9;
    --white: #ffffff;
    --header-dark: #222;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--light-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-grey);
}

/* --- Navigation --- */
nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;
}

/* .logo-img { height: 80px; width: auto; } */

nav ul { display: flex; list-style: none; }
nav ul li a {
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 600;
    padding: 15px;
    transition: 0.3s;
}

nav ul li a.active, nav ul li a:hover {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}

/* --- Headers --- */
header {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--header-dark);
    color: white;
}

header h1 { font-size: 3rem; margin: 0; }

/* --- Section Layouts (Flex & Grid) --- */
.container { max-width: 1200px; margin: auto; padding: 40px 20px; }

/* Used for About and Contact layouts */
.content-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px auto;
    max-width: 1200px;
}

.content-row.reverse { flex-direction: row-reverse; }

.text-content { flex: 1; }
.image-content { flex: 1; }
.image-content img { width: 100%; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

/* --- Contact & About Specifics --- */
.contact-container {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    border-left: 6px solid var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.contact-detail { margin-bottom: 12px; font-size: 1.5rem; }
.contact-detail strong { color: var(--primary-blue); }

/* --- Responsive --- */
@media (max-width: 768px) {
    .content-row, .content-row.reverse { flex-direction: column; text-align: center; }
    nav .container { flex-direction: column; }
}

footer { text-align: center; padding: 40px; background: var(--header-dark); color: white; margin-top: 50px; }

p{font-size:  1.3rem;}
.section_box_content p { font-size: 16px; margin-bottom: 15px; }
.section_box_content strong { color: var(--primary-blue); width: 100px;}
.section_box_form{width: 50%;}

/* --- Custom Contact Form Styling --- */
.custom-contact-form {
    width: 100%;
    max-width: 800px; /* Adjust this to control how wide the form gets */
}

/* Style all text inputs, dropdowns, and textareas */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form select,
.custom-contact-form textarea {
    display: block;
    width: 100%;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box; /* Ensures padding doesn't push the width past 100% */
}

/* Specific styling for the dropdown to keep text colored correctly */
.custom-contact-form select:invalid {
    color: #777; /* Keeps the default "State" option grayed out */
}

/* Style the placeholder text inside the inputs */
.custom-contact-form ::placeholder {
    color: #777;
}

/* Ensure the textarea only resizes vertically */
.custom-contact-form textarea {
    resize: vertical;
}

/* Submit Button Styling */
.custom-contact-form button {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-blue, #0056b3); /* Uses your root blue variable */
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Button hover effect */
.custom-contact-form button:hover {
    background-color: var(--primary-blue, #0056b3);
    color: #fff;
}

/* Main Footer Container */
#footer_container {
    background-color: #004d8c; /* Matches the dark blue background */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #ffffff;
    padding: 50px 20px; /* Adds space around the entire footer */
    box-sizing: border-box;
}

/* Center and constrain the width of the content */
#footer {
    max-width: 1200px; /* Adjust this to match your website's main container width */
    margin: 0 auto;
}

/* Main row for the columns using Flexbox */
#bottommenu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Individual Column Styling */
.bm_col {
    flex: 1; /* Makes all columns take up equal width */
    min-width: 200px; /* Prevents columns from getting too squished */
    padding-right: 20px;
}

.bm_col:last-child {
    padding-right: 0;
}

/* Column Headers */
.bm_col_block h4 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Remove default bullets and padding from inner lists */
.bm_col_block ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Spacing between individual links */
.bm_col_block li {
    margin-bottom: 10px;
}

/* Link styling */
.bm_col_block a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600; /* Makes the text slightly bold like the image */
    line-height: 1.3;
}

/* Add an underline when hovering over links */
.bm_col_block a:hover {
    text-decoration: underline;
}

/* Special styling for "See all manufacturers" */
.bm_more_link a {
    font-style: italic;
}

/* Newsletter Signup Section */
#newsletter_signup {
    margin-top: 40px;
}

#newsletter_signup a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

#newsletter_signup a:hover {
    text-decoration: underline;
}

/* Basic Mobile Responsiveness */
@media (max-width: 768px) {
    #bottommenu {
        flex-direction: column;
    }
    .bm_col {
        margin-bottom: 30px;
        padding-right: 0;
    }
}

/* --- Desktop Base Styles --- */
nav {
    background-color: #fff; /* Customize to your brand background */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
    z-index: 1000;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px; /* Adjust based on your actual logo aspect ratio */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active {
    color: #0056b3; /* Highlight color */
}

/* Hide hamburger icon on Desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* --- Mobile & Tablet Media Query (< 768px) --- */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show hamburger button */
    }

    .nav-links {
        display: none; /* Hide default horizontal list */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Sits exactly below the main nav bar */
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 5px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 0;
    }

    .nav-links.open {
        display: flex; /* Unhide when mobile button clicked */
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* Optional: Turn Hamburger into an 'X' close graphic when opened */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}