body {
    font-family: Arial, sans-serif;
}

.navbar {
    background-color: #212529;
    margin-bottom: 40px; /* Space between the navbar and the slider */
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-color: white;
    border-radius: 5px;
}

.navbar-nav {
    margin-left: auto;
    margin-right: auto; /* Center the menu on desktop */
}

.nav-link {
    color: white !important;
    font-size: 1rem;
    margin: 0 10px;
}

.cart-icon {
    font-size: 1.8rem;
    color: white;
    position: relative;
}

.cart-badge {
    background-color: red;
    color: white;
    font-size: 0.9rem; /* Slightly increase font size for readability */
    font-weight: bold; /* Make text more visible */
    border-radius: 50%;
    padding: 4px 8px; /* Add more spacing inside the badge */
    position: absolute;
    top: -10px; /* Position above the icon */
    right: -15px; /* Adjust position to the right */
    min-width: 20px; /* Set a minimum width for consistent appearance */
    text-align: center; /* Center text in the badge */
    line-height: 1; /* Reduce line height for a compact look */
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.product-title {
    font-size: 16px;
    color: #000000;
    margin-top: 50px !important;
}

/* Center the main price */
.price-value {
    display: block;      /* allow margin auto */
    margin: 0.2em auto;  /* center horizontally */
    color: #0944E7;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
}

/* Unit-price below, flush right */
.price-per-unit {
    display: block;
    width: 100%;
    font-size: 0.8em;
    text-align: right;
    margin-top: 0.1em;
}

.price-per-unit .unit-text {
    color: #000;
    margin-right: 4px;
}

.price-per-unit .unit-value {
    color: #0944E7;
    font-weight: bold;
}

.product-card .efficiency {
    text-align: center; /* Center the text */
    margin-top: 10px; /* Space between title and efficiency text */
    font-size: 0.8rem; /* Adjust the font size if necessary */
}

.product-card h5 {
    margin-top: 15px;
}

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

.btn-add-to-cart {
    background-color: #0071a1;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.btn-add-to-cart:hover {
    background-color: #005f85;
}

.slider-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.carousel-inner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.container {
    max-width: 1140px;
}

.bg-light {
    background-color: #f8f9fa; /* Light background for contrast */
    padding: 50px 0;
    border-bottom: 2px solid #ddd; /* Subtle line for separation */
}

.bg-light h2 {
    font-size: 1.5rem; /* Balanced size for the title */
    font-weight: 700; /* Bold for impact */
    color: #343a40; /* Dark gray, professional */
    letter-spacing: 0.03em; /* Letter spacing for a premium look */
    margin-bottom: 20px;
    text-transform: uppercase; /* Uppercase for a premium effect */
}

.bg-light p.lead {
    font-size: 1rem; /* Medium size for readability */
    line-height: 1.75; /* Line spacing for a clean appearance */
    color: #495057; /* Dark gray, elegant */
    font-weight: 400; /* Normal weight for contrast */
    margin: 0 auto; /* Center the text */
    max-width: 800px; /* Maximum width for a clean layout */
    text-align: justify; /* Justified text for a professional look */
}

.bg-light p.lead strong {
    font-weight: 600; /* Bold without a different color */
    color: inherit; /* Use the primary text color */
}

@media (max-width: 992px) {
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-brand {
        order: 0;
        margin-right: auto; /* Keep the logo on the left */
    }

    .cart-icon {
        order: 2;
        font-size: 1.8rem;
        color: white;
        position: relative;
    }

    .navbar-toggler {
        order: 1;
        margin-left: 10px; /* Space between the toggle button and the logo */
        background: none;
        border: none;
        font-size: 1.5rem;
        color: white;
    }

    .navbar-collapse {
        order: 3;
        width: 100%; /* Menu links occupy full width */
        flex-grow: 1; /* Expand across full width */
        align-items: center;
        text-align: center;
    }

    .navbar-nav {
        flex-direction: column; /* Vertical arrangement for links */
        gap: 10px; /* Space between links */
    }

    .navbar-nav .nav-link {
        color: white !important;
        font-size: 1rem;
        text-align: center;
        margin: 0; /* Remove unnecessary margins */
    }

    .cart-icon {
        margin-left: auto; /* Position the cart on the right */
    }
}

@media (max-width: 768px) {
    .carousel-inner img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .carousel-inner {
        max-height: auto;
        overflow: hidden;
    }
}

.logo-img {
    width: 120px; /* Default width for small screens */
    height: auto;
}

@media (min-width: 768px) {
    .logo-img {
        width: 150px; /* Increase the width for tablets */
    }
}

@media (min-width: 1200px) {
    .logo-img {
        width: 200px; /* Increase the width for desktops */
    }
}

/* General Footer Styles */
footer {
    background-color: #212529;
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0;
    font-size: 0.9rem;
}

footer img {
    height: 50px;
    margin-bottom: 15px;
}

footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

footer address {
    font-style: normal;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

footer address a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer address a:hover {
    color: #0071a1;
}

footer h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 700;
}

footer ul {
    list-style-type: none;
    padding-left: 0;
}

footer ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

footer ul li:before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: #0071a1;
    font-size: 1rem;
    line-height: 1.2;
}

footer .row {
    margin-top: 30px;
}

footer .col-md-4 {
    margin-bottom: 30px;
}

footer hr {
    margin: 40px auto;
    border-color: rgba(255, 255, 255, 0.2);
}

footer .container > p:last-child {
    margin-top: 20px;
}

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

footer a:hover {
    color: #0071a1;
}

@media (max-width: 768px) {
    footer .text-md-start,
    footer .text-md-end {
        text-align: center !important;
    }

    footer address {
        text-align: center;
    }
}

.product-card .image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.product-card .cooling-badge {
  position: absolute;
  top: 1px;
  right: 4px;
  display: inline-flex;
  visibility: visible;
  opacity: 1;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  color: #000;                  /* black text */
}

.product-card .cooling-badge img {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}

.product-card .cooling-badge span {
  color: #000;
}

.manufacturer-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: #007bff;
    text-underline-offset: 6px;
}

/* ================================
   Why-Choose-Section Styles
   ================================ */

.why-choose-section {
  background-color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.why-choose-section .fw-bold {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.why-choose-section .text-muted {
  color: #6c757d !important;
  font-size: 1rem;
  white-space: normal;
  word-break: break-word;
  max-width: 700px;
  margin: 0 auto;
}

.why-choose-section .feature-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 1.5rem 1rem;
}

.why-choose-section .feature-card:hover {
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.why-choose-section .icon-circle {
  background-color: #f8f9fa;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-section .icon-circle i {
  color: #007bff;
}

.why-choose-section .feature-card h5 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #343a40;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.why-choose-section .feature-card p {
  color: #6c757d;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.why-choose-section .row.g-4 {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.why-choose-section .col-lg-2,
.why-choose-section .col-md-4,
.why-choose-section .col-sm-6 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .why-choose-section .feature-card {
    padding: 1.25rem 0.75rem;
  }
  .why-choose-section .icon-circle {
    width: 50px;
    height: 50px;
  }
  .why-choose-section .feature-card h5 {
    font-size: 0.95rem;
  }
  .why-choose-section .feature-card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

@media (max-width: 576px) {
  .why-choose-section .icon-circle {
    width: 45px;
    height: 45px;
  }
  .why-choose-section .feature-card {
    padding: 1rem 0.5rem;
  }
  .why-choose-section .feature-card h5 {
    font-size: 0.9rem;
  }
  .why-choose-section .feature-card p {
    font-size: 0.75rem;
    line-height: 1.4;
  }
}

/* Styles specific to About Us page */
.about-us-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.about-us-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-us-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-us-content ul,
.about-us-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.about-us-content ul li,
.about-us-content ol li {
    margin-bottom: 0.5rem;
}

        .contact-form {
            max-width: 600px;
            margin: 20px auto;
        }
        .map-container {
            height: 400px;
            margin-bottom: 20px;
        }
        .captcha-image {
            font-size: 1.5rem;
            color: #fff;
            text-align: center;
            line-height: 50px;
            font-weight: bold;
            background-color: #0071a1;
            border-radius: 5px;
        }
        .contact-details {
            text-align: center;
            margin-bottom: 30px;
        }
        .contact-details h2 {
            font-size: 1.5rem;
        }
        .contact-details p {
            margin: 5px 0;
        }