:root {
    /* Colors */
    --primary-color: #005580;
    --secondary-color: #882905;
    --gray-color: #6C757D;
    --gray-color: #6C757D;
    --light-color: #fff;
    --dark-color: #000;
    --bg-color: #f8f7f2;
    --hover-color: #f6b453;
    --footer-bg-color: #000;
    --footer-text-color: #ffffff;
    --input-border-color: #ddd;

    /* Font Sizes */
    --font-size-base: 16px;
    --font-size-small: 12px;
    --font-size-large: 20px;
    --font-size-xlarge: 35px;

    /* Font Families */
    --font-family-primary: "Inter", sans-serif;

    /* Spacing */
    --padding-base: 1rem;
    --padding-small: 0.5rem;
    --padding-large: 2rem;

    /* Border Radius */
    --border-radius-small: 0.25rem;
    --border-radius-large: 16px;

    /* Font Weights */
    --font-weight-bold: bold;
    --font-weight-normal: normal;
}

.custom-container {
    max-width: 1450px; /* Adjust as needed */
    margin: 0 auto; /* Center the container */
}
body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
select,
textarea {
    font-family: var(--font-family-primary);
}

.navbar,
.btn,
.breadcrumb,
.card,
.modal,
.dropdown-menu,
.alert,
.table,
.form-control {
    font-family: var(--font-family-primary);
}

/* General Header Styling */
.header {
    background-color: var(--dark-color);
}

.bg-light-custom {
    background-color: var(--light-color);
}

.btn-outline-light {
    background: var(--light-color);
    color: var(--dark-color);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
}
.bi {
    margin-right: 10px;
}
.bi-pencil-square::before {
    content: "\f4ca";
    font-size: var(--font-size-large);
    margin-right: 10px;
}

/* Tagline Styling */
.tagline {
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    font-size: var(--font-size-xlarge);
    padding: 25px 0px;
}

/* Breadcrumb Styling */
.breadcrumb {
    margin-bottom: 0;
    font-size: var(--font-size-small);
}

.breadcrumb-item a {
    color: var(--dark-color);
    text-decoration: none;
}

/* Quote Button Styling */
#btn-quote {
    background-color: var(--secondary-color);
    color: var(--light-color);
    font-weight: var(--font-weight-bold);
    border: none;
}

#btn-quote:hover {
    background-color: var(--hover-color);
    color: var(--secondary-color);
}

/* Wood Fence Button Styling */
.btn-wood-fence {
    background-color: var(--hover-color);
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
    border: none;
}

.btn-wood-fence:hover {
    background-color: #f9cd82;
    color: var(--dark-color);
}

.quote-btn {
    background: var(--secondary-color);
    border: none;
    font-size: 14px;
    padding: 10px 20px;
    text-transform: uppercase;
    margin-right: 30px;
}

.quote-btn:hover {
    background: var(--hover-color);
    opacity: 80%;
    color: red;
    font-weight: var(--font-weight-bold);
}

/* Custom styles for navigation buttons */
.nav-btn {
    background-color: var(--hover-color);
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
    border-radius: 5px;
    margin: 0 5px;
    padding: 15px 35px;
    text-align: center;
    display: inline-block;
}

.nav-btn:hover {
    background-color: #e68a00;
    color: var(--light-color);
    text-decoration: none;
}

/* Dropdown button styling */
.dropdown-toggle::after {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: auto;
    margin-bottom: auto;
}

.dropdown-menu {
    min-width: 150px;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f4a261;
    color: var(--dark-color);
}

.dropdown-toggle-split {
    background-color: var(--hover-color);
    color: var(--dark-color);
    padding-left: 0;
    padding-right: 10px;
    margin-left: -5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.dropdown-toggle-split:hover,
.dropdown-toggle-split:focus,
.dropdown-toggle-split:active {
    background-color: #e68a00;
    color: var(--light-color);
}

.dropdown .nav-btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Fix for dropdown hover behavior */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Additional styling for button text alignment */
.nav-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.nav-btn i {
    margin-right: 5px;
    color: var(--dark-color);
    font-size: var(--font-size-large);
}

.text-light {
    text-decoration: none;
}

.text-light i {
    font-size: var(--font-size-large);
    margin-left: 5px;
}

.bi-person-circle::before,
.bi-cart::before {
    margin-right: 10px !important;
}

.bi-geo-alt::before,
.bi-telephone::before {
    background: var(--footer-bg-color);
    color: var(--light-color);
    padding: 6px;
    border-radius: var(--border-radius-large);
    font-size: var(--font-size-large);
}

/* Footer Styling */
.footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--footer-text-color);
}

.footer h5 {
    font-weight: var(--font-weight-bold);
}

.footer-logo {
    width: 180px;
}

.footer ul {
    padding-left: 0;
}

.footer ul li a,
.footer a {
    text-decoration: none;
    color: var(--footer-text-color);
}

.footer ul li a:hover,
.footer a:hover {
    color: var(--hover-color);
}

.office-hours p {
    margin: 0;
}

.footer p {
    margin: 0;
}

.btn-direction a {
    text-decoration: none;
    margin-left: 2px;
}

/* Scrolling Info Styling */
.scrolling-info {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 10px 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
}

.scrolling-info p {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 15s linear infinite;
    margin: 0;
}

/* Keyframes for left-to-right scrolling text */
@keyframes scroll-left {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(100%);
    }
}

/* Contact Page Styling */
.card {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: var(--secondary-color) !important;
    color: var(--light-color);
    padding: var(--padding-base);
    text-transform: uppercase;
}

.card-body {
    padding: var(--padding-large);
}

.form-label {
    font-weight: var(--font-weight-bold);
}
.form-control {
    background-color: #f7f7f7;
    padding: 0.8rem 0.75rem;
}
.form-control::placeholder {
    color: #999;
}

.btn-danger {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-danger:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    color: var(--secondary-color);
}

input[type="file"] {
    border: 1px solid var(--input-border-color);
    padding: 5px;
}

input[type="checkbox"] {
    margin-right: 5px;
}
.card-body .bi-envelope::before {
    background: var(--footer-bg-color);
    color: var(--light-color);
    padding: 6px;
    border-radius: var(--border-radius-large);
    font-size: var(--font-size-large);
}
.shadow-image {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.shadow-image:hover {
    transform: scale(1.05); /* Slightly scales up the image on hover */
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2); /* Adds a stronger shadow on hover */
}
.product-card {
    border: 1px solid #ddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    background-color: #fff; /* White background */
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease; /* Smooth hover effect */
}

.product-card:hover {
    transform: translateY(-5px); /* Slight upward movement on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Subtle shadow on hover */
}

.product-image img {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Image shadow */
    border-radius: 8px; /* Match card rounding */
    max-width: 100%; /* Ensure responsive image */
}

.product-details h5 {
    font-size: 1.1rem; /* Slightly larger title */
    color: var(--secondary-color);
}

.product-details p {
    font-size: 0.9rem; /* Slightly smaller text for description */
    color: #6c757d; /* Muted text color */
}

.product-details .btn-danger {
    background-color: #882905; /* Custom button color */
    border: none;
}

.product-details .btn-danger:hover {
    background-color: #f6b453; /* Hover color */
    color: #882905; /* Text color on hover */
}

/* Header Background */
.card-header {
    background-color: #333; /* Black header background */
}

/* Navigation Tabs */
.btn-warning {
    background-color: #f6b453;
    color: #000;
    font-weight: bold;
    border: none;
}

.btn-warning:hover {
    background-color: #dc9a38;
    color: #fff;
}

/* About Section */
.card {
    border: none;
    border-radius: 8px;
}

.card img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.card i {
    transition: color 0.3s ease;
}

.card i:hover {
    color: #dc3545; /* Red hover for icons */
}

/* Product Card Styling */
.product-card img {
    max-width: 120px;
    margin: 0 auto;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}
.about-sec {
    padding: 50px 100px !important;
}
.box-sec {
    background-color: #f2f2f2ad;
}
.box-sec-full {
    padding: 0 25px !important;
}
.text-danger {
    color: var(--secondary-color) !important;
}
.policy-box {
    padding: 20px;
    font-size: 14px;
}
.bg-warning {
    background-color: rgb(229 176 16) !important;
}
.prd-sm-text {
    font-size: 12px;
    font-weight: 500;
}
.prd-details {
    font-size: 14px;
    font-weight: 500;
}
.bg-danger {
    background-color: var(--secondary-color) !important;
}
.galvanized {
    background-color: #c0c0c0 !important;
    color: #000 !important;
}
.black {
    background-color: #000 !important;
    color: #fff !important;
}
.brown {
    background-color: #964b00 !important;
    color: #fff !important;
}
.green {
    background-color: green !important;
    color: #fff !important;
}
.white {
    background-color: #fff !important;
    color: #000 !important;
}
.quantity-input {
    width: 60px; /* Fixed width */
    text-align: center; /* Center align text */
    padding: 2px; /* Add some padding for better appearance */
    font-size: 14px; /* Match font size */
}
/* Table Header */
table th {
    font-size: 16px; /* Font size for headers */
    text-align: center; /* Center align headers */
    padding: 8px; /* Add padding for better spacing */
}

/* Table Body */
table td {
    font-size: 13px; /* Font size for table values */
    font-size: 14px; /* Font size for table values */
    font-size: 13px; /* Font size for table values */
    text-align: center; /* Center align values */
    padding: 6px; /* Adjust padding for compactness */
}

/* Quantity Input */
.quantity-input {
    width: 50px; /* Adjust width for compact look */
    text-align: center;
    font-size: 14px;
}

/* Adjust Buttons */
button {
    font-size: 14px;
    padding: 4px 6px; /* Add padding for consistency */
}
.toast-container {
    z-index: 1055;
}

.toast-header {
    color: white;
}
/* Sidebar Cart Hidden Initially */
#mini-cart-sidebar {
    right: -300px; /* Hidden */
    transition: right 0.3s ease-in-out; /* Smooth slide transition */
    z-index: 1050; /* Ensure it stays above other content */
}

/* Sidebar Cart Visible When 'show' Class is Added */
#mini-cart-sidebar.show {
    right: 0; /* Slide into view */
}

.product-options-container {
    z-index: 1000; /* Ensure dropdown appears above other content */
}

.product-options-container select {
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem; /* Bootstrap-like padding */
    font-size: 0.875rem; /* Slightly smaller font size */
    line-height: 1.5;
}

/* Style the dropdown options */
.product-options-container select option {
    padding: 8px;
    font-size: 0.875rem;
}

/* Ensure dropdown opens below */
.product-options-container select:focus {
    position: relative;
}

/* Optional: Style the selected option */
.product-options-container select option:checked {
    background-color: #f8f9fa;
}
.text-brown {
    color: #8b4513 !important;
}
.btn-light {
    font-size: 12px !important;
}
.logoline {
    color: #600;
    font-size: 13px;
    font-style: italic;
}

.wf-about h4 {
    font-size: 16px !important;
    font-weight: bold !important;
}
main p.page-description {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
}
/* Page title styles with extremely high specificity */
html body main .page-title,
.page-title,
h1.page-title,
.container h1.page-title,
.container .page-title,
main .rounded .page-title,
.rounded .page-title {
    font-size: 24px !important;
    color: #fff !important;
    font-weight: bold !important;
    padding: 10px 0 !important;
    margin-bottom: 0 !important;
}

.page-description {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
}

/* Wood fence page styles - with higher specificity */
.bg-brown, 
div.bg-brown,
.container .bg-brown,
main .bg-brown {
    background-color: #8B4513 !important;
}

.text-brown,
h1.text-brown,
h2.text-brown,
h3.text-brown,
h4.text-brown,
h5.text-brown,
h6.text-brown,
p.text-brown,
span.text-brown {
    color: #8B4513 !important;
}

.btn.btn-brown,
button.btn-brown,
a.btn-brown,
.container .btn.btn-brown,
main .btn.btn-brown,
.card .btn.btn-brown {
    background-color: #8B4513 !important;
    color: white !important;
    border-color: #8B4513 !important;
}

.btn.btn-brown:hover,
button.btn-brown:hover,
a.btn-brown:hover,
.container .btn.btn-brown:hover,
main .btn.btn-brown:hover,
.card .btn.btn-brown:hover {
    background-color: #6B3100 !important;
    color: white !important;
}

/* Custom 4-column layout */
.col-lg-3 {
    width: 25% !important;
}
@media (max-width: 992px) {
    .col-lg-3 {
        width: 33.333% !important;
    }
}
@media (max-width: 768px) {
    .col-lg-3 {
        width: 50% !important;
    }
}
@media (max-width: 576px) {
    .col-lg-3 {
        width: 100% !important;
    }
}

/* Additional woodfence styles */
.bg-light-yellow {
    background-color: #FFFFD4 !important;
}

.small-font {
    font-size: 14px !important;
}

.product-image {
    width: 370px !important;
    height: 130px !important;
    object-fit: cover !important;
}

.btn-small-text {
    font-size: 0.7rem !important;
}

.about-image {
    width: 180px !important;
    height: 180px !important;
    object-fit: cover !important;
}
.bg-success-light {
    background-color: #a3be4c !important;
}
/* .wood-fence-btn {
    font-size: 14px !important;
} */
