/* =============================================================================
   TABLE OF CONTENTS
   =============================================================================
   1. Core Elements & Variables
   2. Navigation & Header
   3. Footer
   4. Buttons & CTAs
   5. Containers & Layouts
   6. Home Page Elements
   7. Product Section Styles
   8. Newsletter Popup
   9. Breadcrumbs
   10. Dehumidifier Sections
   11. Product Cards & Items
   12. Blog Elements
   13. Contact Page
   14. FAQ Page
   15. Guides & Literature Page
   16. Responsive Adjustments
   ============================================================================= */

/* =============================================================================
   1. CORE ELEMENTS & VARIABLES
   ============================================================================= */
   .bg-primary {
    background-color: #1498c3 !important;
    color: #ffffff;
 }
 
 .btn-primary {
    background-color: #1498c3 !important;
    color: #ffffff;
 }
 
 /* =============================================================================
    2. NAVIGATION & HEADER
    ============================================================================= */
 /* Base navbar styles for all pages */
 .navbar {
     position: fixed;
     width: 100%;
     z-index: 1000;
     transition: all 0.3s ease-in-out;
     top: 0;
 }
 
 /* Non-home page and scrolled state */
 .navbar:not(.home-page),
 .navbar.scrolled {
     background-color: #1498c3 !important;
     padding: 0.5rem 0;
 }
 
 /* Home page specific styles */
 .navbar.home-page {
     background: transparent;
     padding: 0;
 }
 
 /* Base navbar styles */
 .navbar.home-page .floating-brand {
     position: absolute;
     left: 50%;
     transform: translateX(-50%);
     top: 5vh;
     transition: all 0.5s ease-in-out;
     z-index: 999;  
     font-optical-sizing: auto;
     font-weight: 400;
     font-style: normal;
 }
 
 .navbar-brand {
     display: flex;
     align-items: center;
     text-decoration: none;
 }
 
 /* Scrolled state for smaller brand size */
 .floating-brand.scrolled .brand-heading {
     font-size: 1.5rem; /* Smaller size when scrolled */
     margin: 0 0 0 0.5rem;
 }
 
 /* Initial normal state for brand heading */
 .brand-heading {
     font-size: 4rem; /* Normal size initially */
     font-weight: bold;
     margin: 2rem 0 0 0.5rem;
     color: inherit;
     transition: all 0.3s ease;
 }
 
 /* Larger state when scrolled */
 .floating-brand.scrolled .brand-heading {
     font-size: 2.25rem; /* Larger size when scrolled */
     margin: 0 0 0 0.75rem;
 }
 
 /* Initial state - only text, large size */
 .floating-brand{
     font-size: 6rem;
     transition: all 0.5s ease-in-out;
     text-align: center;
     font-optical-sizing: auto;
     font-weight: 400;
     font-style: normal;
 }
 
 .navbar.home-page .floating-brand .navbar-brand img {
     display: none; /* Hide image initially */
     transition: all 0.5s ease-in-out;
 }
 
 /* Scrolled state - show both text and logo */
 .navbar.home-page .floating-brand.scrolled {
     position: relative;
     left: 0;
     transform: none;
     top: 0;
 }
 
 .navbar.home-page .floating-brand.scrolled .navbar-brand {
     font-size: 1.25rem;
     display: flex;
     flex-direction: row;
     align-items: center;
     gap: 0.5rem;
 }
 
 .navbar.home-page .floating-brand.scrolled .navbar-brand img {
     display: block; /* Show image when scrolled */
     width: 50px;
     height: 50px;
     max-width: 50px !important;
     margin-bottom: 0;
 }
 
 /* Navigation text styles */
 .navbar-dark .navbar-nav .nav-link {
     color: white;
     text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
     padding: 1rem;
 }
 
 .navbar a {
     color: #ffffff !important;
 }
 
 .navbar-nav {
     z-index: 1002; /* Higher than both states of floating brand */
     position: relative;
 }
 
 .navbar .dropdown-item {
     color: #ffffff !important;
 }
 
 .navbar-brand {
   font-size: 1.8rem;
   font-weight: 700;
   letter-spacing: 0.5px;
   text-transform: uppercase;
   color: #f8f9fa;
   text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
   position: relative;
   padding-bottom: 3px;
 }
 
 .nav-link {
     font-weight: 500;
     padding: 0.5rem 1rem !important;
     transition: color 0.3s;
 }
 
 .dropdown-menu {
     border: none;
     box-shadow: 0 4px 15px rgba(0,0,0,0.1);
     padding: 1rem 0;
     border-radius: 8px;
     min-width: 230px;
     background-color: #1498c3;
     z-index: 1003;
 }
 
 .dropdown-item {
     padding: 0.7rem 1.5rem;
     font-weight: 500;
 }
 
 .dropdown-item:hover {
     background-color: #1498c3;
 }
 
 .submenu {
     position: absolute;
     right: 100%;
     top: 0;
     display: none;
     background-color: #1498c3;
 }
 
 .dropdown-item:hover > .submenu {
     display: block;
 }
 
 .dropdown-menu .dropdown:hover > .submenu {
     display: block;
 }
 
 .dropdown:hover > .dropdown-menu {
     display: block;
 }
 
 .dropdown-item.dropdown-toggle::after {
     position: absolute;
     right: 1rem;
     top: 50%;
     transform: translateY(-50%);
 }

 /* Floating brand and transparent navbar fixes */
 
  
  /* Properly center the floating brand on homepage */
  .navbar.home-page .floating-brand:not(.scrolled) {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 5vh;
    z-index: 999;
    text-align: center;
    width: auto;
  }
  
  /* Make sure brand text is properly sized when centered */
  .navbar.home-page .floating-brand:not(.scrolled) .brand-heading {
    font-size: 4rem;
    font-weight: bold;
    margin: 2rem 0 0 0.5rem;
    color: inherit;
    transition: all 0.3s ease;
  }
  
  /* Hide brand image when centered on homepage */
  .navbar.home-page .floating-brand:not(.scrolled) .navbar-brand img {
    display: none;
  }
  
   
  /* Make mega menu wider */
.dropdown-menu.mega-menu {
  width: 100%;
  max-width: 1400px; /* Increase from the current 100% - adjust as needed */
  margin: 0 auto;
  left: 0;
  right: 0;
}

/* Enhanced hover effect for all dropdown items */
.dropdown-item {
  position: relative;
  transition: all 0.3s ease;
  padding: 0.7rem 1.5rem;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.15); /* Subtle light background */
  transform: translateX(5px); /* Slight movement on hover */
}

/* Add an underline hover effect for dropdown items */
.dropdown-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 1.5rem;
  background-color: white;
  transition: width 0.3s ease;
}

.dropdown-item:hover::after {
  width: calc(100% - 3rem); /* Extend to fill width minus padding */
}

/* Add hover effect for main nav items */
.navbar-nav .nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 70%;
}

/* Enhance the mega menu column headers */
.dropdown-menu.mega-menu h5 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-weight: 600;
}

.dropdown-menu.mega-menu h5::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
}

/* Add hover effect for mega menu category titles */
.dropdown-menu.mega-menu .col-md-4:hover h5 {
  transform: translateY(-2px);
}
.dropdown-menu.mega-menu .col-md-4 h5 {
  transition: transform 0.3s ease;
}

/* Add visual feedback when hovering on mega menu sections */
.dropdown-menu.mega-menu .col-md-4 {
  padding: 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.dropdown-menu.mega-menu .col-md-4:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
  /* Add this to your CSS file */
@media (min-width: 992px) {
    
    
    /* Keep solid background when scrolled */
    .navbar.scrolled .dropdown-menu.mega-menu,
    .navbar:not(.home-page) .dropdown-menu.mega-menu, .navbar.scrolled .dropdown-menu, .navbar:not(.home-page) .dropdown-menu {
        background-color: #1498c3 !important;
    }
}
/* Mobile navigation enhancements */
@media (max-width: 991.98px) {
    /* Core mobile menu styles */
    .navbar-collapse {
      background-color: #1498c3;
      padding: 1rem;
      max-height: 85vh;
      overflow-y: auto;
    }
    
    /* Proper dropdown styling for mobile */
    .dropdown-menu {
      display: none;
      position: static !important;
      float: none;
      width: 100%;
      padding: 0.5rem 0;
      margin: 0.125rem 0 0;
      background-color: rgba(255, 255, 255, 0.1) !important;
      border: none;
      border-radius: 0;
      box-shadow: none;
    }
    
    /* When dropdown is shown */
    .dropdown-menu.show {
      display: block;
    }
    
    /* Fix for mobile dropdown items */
    .dropdown-item {
      padding: 0.5rem 1.5rem;
      color: white !important;
    }
    
    /* Improve dropdown header visibility */
    .dropdown-header {
      color: white;
      font-weight: bold;
      padding: 0.5rem 1.5rem;
      font-size: 0.9rem;
      text-transform: uppercase;
    }
    
    /* Improve dropdown divider visibility */
    .dropdown-divider {
      border-color: rgba(255, 255, 255, 0.2);
      margin: 0.5rem 0;
    }
    
    /* Make sure mobile-only class works */
    .mobile-only {
      display: block !important;
    }
    
    .desktop-only {
      display: none !important;
    }
    
    /* Fix for dropdown toggle arrows */
    .dropdown-toggle::after {
      float: right;
      margin-top: 0.5rem;
    }
    
    /* Improved spacing between nav items */
    .navbar-nav .nav-item {
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding: 0.25rem 0;
    }
    
    .navbar-nav .nav-item:last-child {
      border-bottom: none;
    }
    
    /* Fix brand positioning and appearance on mobile */
    .navbar .floating-brand {
      position: relative !important;
      left: auto !important;
      transform: none !important;
      top: auto !important;
      text-align: left;
    }
    
    .navbar.home-page .floating-brand .brand-heading {
      font-size: 1.5rem;
      margin-left: 0.5rem;
    }
    
    .navbar.home-page .floating-brand .navbar-brand img {
      display: block !important;
      width: 40px;
      height: 40px;
    }
  }
  
  /* Tablet specific tweaks */
  @media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-collapse {
      padding: 1.5rem;
    }
    
    .dropdown-menu {
      background-color: rgba(255, 255, 255, 0.15) !important;
    }
    
    .navbar.home-page .floating-brand .brand-heading {
      font-size: 1.75rem;
    }
  }
  
  /* Ensure desktop mega menu shows correctly */
  @media (min-width: 992px) {
    /* Override any show/hide classes for larger screens */
    .dropdown:hover > .dropdown-menu {
      display: block;
    }
    
    .desktop-only {
     
    }
    
    .mobile-only {
      display: none !important;
    }
    
    /* Make sure mega menu has proper dimensions */
    .dropdown-menu.mega-menu {
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
      left: 0;
      right: 0;
    }
  }
 
 /* =============================================================================
    3. FOOTER
    ============================================================================= */

    /* Chat Widget  */

    .chat-widget {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        font-family: Arial, sans-serif;
    }
    
    .chat-button {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: #1498c3;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
    
    .chat-button:hover {
        background-color: #0e7ea3;
    }
    
    .chat-window {
        position: absolute;
        bottom: 70px;
        right: 0;
        width: 350px;
        height: 450px;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        display: none;
        flex-direction: column;
        overflow: hidden;
    }
    
    /* Fixed height header */
    .chat-header {
        background-color: #1498c3;
        color: white;
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 50px; /* Fixed height */
    }
    
    .chat-header h3 {
        margin: 0;
        font-size: 16px;
    }
    
    .chat-close {
        cursor: pointer;
        font-size: 18px;
    }
    
     #chatContent {
    display: flex;
    flex-direction: column;
    height: calc(100% - 50px);
    position: relative; /* Add this */
}

#chatContent {
    display: flex !important;
    flex-direction: column !important;
    height: calc(100% - 50px) !important;
}
    
    /* Chat form styles */
    .chat-form, .chat-offline {
        padding: 15px;
        overflow-y: auto;
        height: 100%;
    }
    
   .chat-messages {
    overflow-y: auto;
    flex: 1; /* Use flex instead of flex-grow */
    padding: 15px;
    /* REMOVE THIS LINE: height: 280px; */
    background-color: #f9f9f9;
    min-height: 0; /* Important for flexbox */
    /* Force GPU acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: scroll-position, contents;
}

/* Add this to force repaints */
@keyframes forceRepaint {
    0% { opacity: 1; }
    50% { opacity: 0.99; }
    100% { opacity: 1; }
}

.chat-messages.updating {
    animation: forceRepaint 0.1s linear;
}

.message-wrapper {
    display: block !important;
    width: 100%;
    overflow: visible !important;
    margin-bottom: 10px;
    opacity: 1 !important;
    visibility: visible !important;
}
    
    /* Fixed height input container */
    .chat-input-container {
        height: 120px; /* Fixed height for input area */
        padding: 15px;
        border-top: 1px solid #f0f0f0;
        display: flex;
        flex-direction: column;
        background-color: white;
    }
    
    .chat-input-container textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        resize: none;
        height: 60px;
        margin-bottom: 10px;
    }
    
    .chat-input-container button {
        align-self: flex-end;
        padding: 8px 15px;
        background-color: #1498c3;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .chat-input-container button:hover {
        background-color: #0e7ea3;
    }
    
    .message {
        margin-bottom: 10px;
        max-width: 80%;
        padding: 10px;
        border-radius: 10px;
        clear: both;
        word-wrap: break-word; /* Ensure long words don't overflow */
    }
    .message {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
    .user-message {
        background-color: #f1f0f0;
        float: left;
    }
    
    .admin-message {
        background-color: #1498c3;
        color: white;
        float: right;
    }
    
    .message-time {
        font-size: 10px;
        margin-top: 5px;
        opacity: 0.7;
    }
    
    .chat-info {
        text-align: center;
        padding: 20px;
        color: #666;
    }
    
    .chat-form input, 
    .chat-form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    
    .chat-form button {
        width: 100%;
        padding: 10px;
        background-color: #1498c3;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .chat-form button:hover {
        background-color: #0e7ea3;
    }
    
    .chat-offline p {
        margin-bottom: 20px;
    }
    
    .chat-offline input,
    .chat-offline textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    
    .chat-offline button {
        width: 100%;
        padding: 10px;
        background-color: #1498c3;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .unread-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background-color: red;
        color: white;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        font-weight: bold;
    }
    
    /* Add a scrollbar styling for better UX */
    .chat-messages::-webkit-scrollbar {
        width: 6px;
    }
    
    .chat-messages::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .chat-messages::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }
    
    .chat-messages::-webkit-scrollbar-thumb:hover {
        background: #999;
    }
    
    /* Message wrapper to fix floating issues */
    .message-wrapper {
        width: 100%;
        clear: both;
        overflow: hidden;
        margin-bottom: 10px;
    }
    .chat-actions {
        display: flex;
        justify-content: space-between;
    }
    
    .end-chat-btn {
        padding: 8px 15px;
        background-color: #f44336;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .end-chat-btn:hover {
        background-color: #d32f2f;
    }

    @media (max-width: 768px) {
    .chat-window {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        z-index: 999999 !important;
    }
    
    #chatContent {
        height: calc(100% - 50px) !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
   .chat-messages,
#chatMessages {
    height: auto !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
}
    
    .chat-input-container {
        height: auto !important;
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: white !important;
        padding: 10px !important;
        z-index: 100 !important;
    }
    
    body.chat-open .chat-button {
        display: none !important;
    }
    
    #chatMessage, 
    #chatInitialMessage {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Fix message wrapping on small screens */
    .message {
        max-width: 85% !important;
        word-break: break-word !important;
    }
}

    /* End Chat Widget */

    
 .no-bullets {
     list-style-type: none;
     padding-left: 0;
 }
 
 footer {
     background-color: #1498c3 !important;
     color:#ffffff !important;
 }
  /* Updated footer-text class to vertically center single-line content with icons */
.footer-text {
    position: relative;
    padding-left: 45px; /* Space for the icon */
    min-height: 32px; /* Match icon size */
    display: flex;
    align-items: center; /* Center for single line content */
    margin-bottom: 10px; /* Add space between items */
}

/* Special handling for address (multi-line content) */
.address-text {
    align-items: flex-start; /* Align to top for multi-line content */
    padding-top: 5px; /* Small adjustment to better align icon with first line */
}

.address-text span {
    display: inline-block;
    text-align: left; /* Align text consistently */
    margin-top: 5%;
}

/* Reposition icons to align properly with both types of content */
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill {
    position: absolute;
    left: 0;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for precise centering */
}

/* Specific adjustment for address icon */
.address-text .bi-geo-alt-fill {
    top: 14px; /* Fixed position that aligns with first line */
    transform: none; /* Remove the transform since we're using fixed positioning */
}

/* Make links in the footer maintain the white color while being clickable */
footer a {
    color: white !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
    opacity: 0.9;
}
 
  
  
 
 /* =============================================================================
    4. BUTTONS & CTAS
    ============================================================================= */
 .button-container {
     position: relative;
     width: 700px;
     cursor: pointer;
     transform-origin: center;
     transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
 }
 
 .button-container img {
     width: 100%;
     height: auto;
     display: block;
 }
 
 .button-container:hover {
     transform: scale(1.03);
     filter: brightness(1.1);
 }
 
 .button-container:active {
     transform: scale(0.98);
     filter: brightness(1);
 }
 
 .banner-cta {
     display: inline-block;
     padding: 15px 30px;
     background: #0066cc;
     color: white;
     text-decoration: none;
     font-weight: 600;
     border-radius: 4px;
     transition: background 0.3s;
 }
 
 .banner-cta:hover {
     background: #0052a3;
     color: white;
 }
 
 .banner-cta a {
    color: #ffffff;
 }
 
 .btn-primary {
    background: #fff;
    color: #2c3e50;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
 }
 
 .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
 }
 
 .option-btn {
     padding: 6px 12px;
     margin: 0 5px;
     background-color: #1498c3;
     color: white;
     border: none;
     border-radius: 4px;
     cursor: pointer;
     transition: all 0.2s ease;
     box-shadow: 0 2px 5px rgba(0,0,0,0.2);
 }
 
 .option-btn:hover {
     background-color: #0d7ea5;
     transform: translateY(-2px);
 }
 
 /* =============================================================================
    5. CONTAINERS & LAYOUTS
    ============================================================================= */
 .container {
     max-width: 1200px;
     padding: 0 15px;
     margin: 0 auto;
 }
 
 /* =============================================================================
    6. HOME PAGE ELEMENTS
    ============================================================================= */
 /* Banner styles */
 .mega-banner {
     position: relative;
     height: 92vh;
     overflow: hidden;
     background: transparent;
     transition: clip-path 0.5s ease-in-out;
     margin-top: -56; /* Remove any margin */
     width: 100%;
     top: 0; /* Ensure it starts at the top */
 }
 
 /* When v-shaped */
 .mega-banner.v-shape {
     clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
 }
 
 /* Adjust the banner image */
 .banner-image {
     position: absolute;
     width: 100%;
     height: 100%;
     object-fit: cover;
     opacity: 1;
     transform: scale(1);
     background-color: #000;
     top: 0; /* Ensure it starts at the top */
 }
 
 /* Adjust the banner content position */
 .banner-content {
     position: relative;
     z-index: 2;
     padding-top: 30vh; /* Adjust this value to position your content correctly */
     max-width: 600px;
 }
 
 .banner-headline {
     font-size: 3.5rem;
     font-weight: 700;
     color: #fff;
     margin-bottom: 1.5rem;
     line-height: 1.2;
 }
 
 .banner-subtext {
     font-size: 1.25rem;
     color: #fff;
     margin-bottom: 2rem;
 }
 
 /* Industry Applications Section */
 .industry-applications {
     text-align: center;
     padding: 4rem 0;
     background: #f8f9fa;
 }
 
 .industry-applications h2 {
     margin-bottom: 3rem;
     color: #2c3e50;
 }
 
 .industry-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 2rem;
     max-width: 1200px;
     margin: 0 auto;
 }
 
 .industry-item {
     padding: 2rem;
     background: #fff;
     border-radius: 4px;
     box-shadow: 0 2px 10px rgba(0,0,0,0.05);
     transition: transform 0.3s ease;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     align-items: center; /* Add this to center both image and text */
     min-height: 150px;
 }
 
 .industry-item:hover {
     transform: translateY(-5px);
 }
 
 .industry-item img {
     margin-bottom: 1rem;
 }
 
 .industry-item .h3 {
     margin-top: auto;
 }
 
 /* CTA Section */
 .cta-section {
     text-align: center;
     padding: 5rem 0;
     background: linear-gradient(45deg, #2c3e50, #3498db);
     color: #fff;
     margin-top: 4rem;
 }
  
 .cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
 }
  
 .cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
 }
 
 /* =============================================================================
    7. PRODUCT SECTION STYLES
    ============================================================================= */
 /* Product Series Section Headers */
 #watchDogSeries h2, #accessories h2, #stealthSeries h2, #wholeHomeSeries h2 {
   font-size: 50px !important; 
   display: flex;
   flex-basis: 100%;
   align-items: center;
   color: rgba(0, 0, 0, 0.5);
   font-size: 50px;
   font-family: "Belanosima", serif;
   font-optical-sizing: auto;
   font-weight: 400;
   font-style: normal;
   margin-top: 150px !important;
   margin-bottom: 80px !important;
 }
 
 #stealthSeries h2::before,
 #stealthSeries h2::after,
 #watchDogSeries h2::before,
 #watchDogSeries h2::after,
 #wholeHomeSeries h2::before,
 #wholeHomeSeries h2::after,
 #accessories h2::before,
 #accessories h2::after {
   content: "";
   flex-grow: 1;
   background: rgba(0, 0, 0, 0.35);
   height: 2px;
   font-size: 0px;
   line-height: 0px;
 }
 
 #stealthSeries h2::before,
 #watchDogSeries h2::before,
 #wholeHomeSeries h2::before,
 #accessories h2::before {
   margin-right: 10px;
 }
 
 #stealthSeries h2::after,
 #accessories h2::after,
 #wholeHomeSeries h2::after,
 #watchDogSeries h2::after {
   margin-left: 10px;
 }

 /* Fix for dehumidifier images when using picture elements */

/* Target only the img inside the picture element */
.dehu-image picture img {
    max-width: 160%;
    height: auto;
    transform: translateY(-1%) scale(1.5);
}

.dehu-image-stealth115 picture img {
    max-width: 110%;
    height: auto;
    transform: translateY(-10%) scale(1.1);
}

/* Reset the source elements to prevent them from affecting layout */
.dehu-image picture source,
.dehu-image-stealth115 picture source {
    display: none; /* Hide source elements as they shouldn't be visible */
}

/* Update mobile and tablet media queries to match */
@media (max-width: 767px) {
    .dehu-image picture img {
        max-width: 100%;
        transform: none;
        margin: 20px 0;
    }
    
    .dehu-image-stealth115 picture img {
        max-width: 100%;
        transform: none;
        margin: 20px 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .dehu-image picture img {
        max-width: 120%;
        transform: translateY(-10%) scale(1.1);
    }
    
    .dehu-image-stealth115 picture img {
        max-width: 120%;
        transform: translateY(-10%) scale(1.1);
    }
}
 
 /* Glow Effects for Products */
 .glow-wrapper {
     position: relative;
     display: inline-block;
     width: 350px;
     /* Remove absolute height and let it be determined by padding-bottom */
     padding-bottom: 56.25%; /* This is for 16:9 aspect ratio. Adjust based on your image ratio */
     margin-bottom: 20px; /* Add some spacing between rows if needed */
 }
 
 .glow-image, .glow-image-stealth {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     width: 300px;
     height: auto;
     transition: all 0.3s ease;
     filter: none;
 }
 
 .glow-wrapper:hover .glow-image,
 .glow-wrapper:hover .glow-image-stealth {
     width: 350px;
 }
        
 .glow-wrapper:hover .glow-image {
     width: 350px;
     filter: url(#blue-glow);
 }
 
 .glow-wrapper:hover .glow-image-stealth {
     width: 350px;
     filter: url(#gray-glow);
 }
 
 /* Features List */
 .features-list {
     list-style: none;
     padding: 0;
 }
 
 .features-list li {
     margin: 0.8rem 0;
     padding-left: 1.5rem;
     position: relative;
     color: #505964;
 }
 
 .features-list li::before {
     content: '→';
     position: absolute;
     left: 0;
     color: #3498db;
 }
 
 /* Product Carousel */
 .carousel-wrapper {
     position: relative;
     display: flex;
     align-items: center;
     padding: 20px 40px;
     margin: 0 auto;
     max-width: 1200px;
 }
 
 .carousel-container {
     width: 100%;
     overflow: hidden;
     padding: 20px 0;
 }
 
 .carousel-track {
     display: flex;
     transition: transform 0.5s ease;
     gap: 20px;
 }
 
 .carousel-card {
     flex: 0 0 300px; /* Fixed width for better control */
     transition: all 0.5s ease;
     transform: scale(0.9);
     opacity: 0.7;
 }
 
 .carousel-card.active {
     transform: scale(1.05);
     opacity: 1;
     z-index: 2;
 }
 
 .card img {
     height: 300px;
     object-fit: cover;
     width: 100%;
 }
 
 .nav-button {
     top: 50%;
     transform: translateY(-50%);
     background: rgba(0,0,0,0.5);
     color: white;
     border: none;
     border-radius: 50%;
     width: 40px;
     height: 40px;
     cursor: pointer;
     z-index: 3;
     display: flex;
     align-items: center;
     justify-content: center;
 }
 
 .nav-button:hover {
     background: rgba(0,0,0,0.7);
 }
 
 .nav-button:disabled {
     background: rgba(0,0,0,0.2);
     cursor: not-allowed;
 }
 
 /* Product Lightbox */
 .image-container {
     position: relative;
     cursor: pointer;
 }
 
 .hover-text {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     background-color: rgba(0, 0, 0, 0.7);
     color: white;
     padding: 10px 20px;
     border-radius: 5px;
     opacity: 0;
     transition: opacity 0.3s ease;
 }
 
 .image-container:hover .hover-text {
     opacity: 1;
 }
 
  /* Lightbox container to fill the screen */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

/* Position the lightbox content properly */
.lightbox-content {
    position: relative;
    max-width: 80%;
    max-height: 80vh;
    margin: 40px auto;
    text-align: center;
}

/* Fix lightbox image size */
.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* Fixed positions for navigation buttons */
.lightbox .nav-button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1010;
    transition: background-color 0.3s, transform 0.3s;
}

.lightbox .nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Fixed positions for prev and next buttons */
.lightbox .prev-button {
    left: 30px;
}

.lightbox .next-button {
    right: 30px;
}

/* Close button styling */
.close-lightbox {
    position: fixed;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    z-index: 1010;
}

/* Make sure the icons inside buttons are visible */
.lightbox .nav-button i {
    font-size: 2rem;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.5));
}
 
  
 
 
 
 /* When lightbox is visible, prevent text selection in the background */
 body.lightbox-open {
     user-select: none;
     -webkit-user-select: none;
     -moz-user-select: none;
     -ms-user-select: none;
 }
 
 /* Product Documentation Links */
 .doc-link {
     transition: all 0.2s ease-in-out;
 }
 
 .doc-link:hover {
     transform: translateY(-2px);
 }
 
 .card-header {
     border-bottom: 0;
 }
 
 .doc-icon i {
     opacity: 0.8;
 }
 
 .doc-link:hover .download-icon i {
     transform: translateY(2px);
 }
 
 .download-icon i {
     transition: transform 0.2s ease-in-out;
 }
 
 .list-group-item:hover {
     background-color: #f8f9fa;
 }
 
 .bi {
     font-size: 1.2rem;
 }
 
 .table th {
     width: 30%;
 }
 
 .display-4 {
     font-weight: 700;
 }
 
 .product-link {
     opacity: 0.3;
     transition: opacity 0.3s;
     display: block;
 }
   
 .product-link:hover {
     opacity: 1;
     transform: scale(1.3);
 }
 
 /* =============================================================================
    8. NEWSLETTER POPUP
    ============================================================================= */
 /* Enhanced CSS Styles for Newsletter Popup with Transparent Background */
 .newsletter-popup {
     position: fixed;
     bottom: -100%;
     left: 0;
     right: 0;
     background-color: transparent;
     z-index: 1050;
     transition: bottom 0.6s cubic-bezier(0.23, 1, 0.32, 1);
     height: auto;
     padding: 0;
   }
   
   .newsletter-container {
     max-width: 550px;
     margin: 0 auto;
     padding: 0 20px 20px;
   }
   
   .newsletter-content {
     background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
     padding: 35px 40px;
     border-radius: 12px 12px 0 0;
     box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
     position: relative;
     border-top: 5px solid #4a90e2;
     border-left: 1px solid rgba(0, 0, 0, 0.1);
     border-right: 1px solid rgba(0, 0, 0, 0.1);
   }
   
   .close-btn {
     position: absolute;
     top: 15px;
     right: 20px;
     font-size: 26px;
     background: none;
     border: none;
     color: #9ba3af;
     cursor: pointer;
     transition: color 0.3s ease;
     padding: 0;
     line-height: 1;
     width: 30px;
     height: 30px;
     display: flex;
     align-items: center;
     justify-content: center;
   }
   
   .close-btn:hover {
     color: #3d4852;
   }
   
   .newsletter-popup h3 {
     margin-top: 0;
     margin-bottom: 15px;
     color: #2d3748;
     font-size: 24px;
     font-weight: 700;
     letter-spacing: -0.5px;
   }
   
   .newsletter-popup p {
     color: #4a5568;
     margin-bottom: 25px;
     font-size: 16px;
     line-height: 1.6;
   }
   
   .newsletter-popup .form-group {
     margin-bottom: 20px;
   }
   
   .newsletter-popup .form-control {
     height: 48px;
     border-radius: 6px;
     border: 2px solid #e2e8f0;
     padding: 10px 15px;
     font-size: 16px;
     width: 100%;
     transition: border-color 0.3s, box-shadow 0.3s;
   }
   
   .newsletter-popup .form-control:focus {
     border-color: #4a90e2;
     box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
     outline: none;
   }
   
   .newsletter-popup .btn {
     font-weight: 600;
     letter-spacing: 0.3px;
     padding: 12px 24px;
     border-radius: 6px;
     font-size: 16px;
     transition: all 0.3s ease;
   }
   
   .newsletter-popup .btn-primary {
     background-color: #4a90e2;
     border: none;
     color: white;
     box-shadow: 0 4px 6px rgba(74, 144, 226, 0.25);
   }
   
   .newsletter-popup .btn-primary:hover {
     background-color: #3a7bc8;
     transform: translateY(-2px);
     box-shadow: 0 6px 8px rgba(74, 144, 226, 0.35);
   }
   
   .newsletter-popup .btn-link {
     color: #64748b;
     text-decoration: none;
     padding: 12px 16px;
     margin-left: 10px;
     border: none;
     background: none;
   }
   
   .newsletter-popup .btn-link:hover {
     color: #3d4852;
     text-decoration: underline;
   }
   
   .newsletter-popup.show {
     bottom: 0;
   }
   
   /* Add subtle animation when showing */
   @keyframes subtle-bounce {
     0% { transform: translateY(10px); opacity: 0; }
     100% { transform: translateY(0); opacity: 1; }
   }
   
   .newsletter-popup.show .newsletter-content {
     animation: subtle-bounce 0.5s forwards;
   }
 
 /* =============================================================================
    9. BREADCRUMBS
    ============================================================================= */
 .breadcrumb-container {
     padding: 10px 0;
     margin: 0 auto;
     max-width: 1200px;
     font-size: 14px;
     margin-top:80px;
 }
 
 .breadcrumb-container a {
     color: #0d6efd;
     text-decoration: none;
 }
 
 .breadcrumb-container a:hover {
     text-decoration: underline;
 }
 
 .separator {
     color: #6c757d;
     margin: 0 5px;
 }
 
 .current {
     color: #6c757d;
 }
 
 .breadcrumb-container a {
    color: #1498c3 !important;
 }
 
 /* =============================================================================
    10. DEHUMIDIFIER SECTIONS
    ============================================================================= */
 /* Fix for overlapping dehumidifier sections */
 .dehumidifier-section-1, 
 .dehumidifier-section-2, 
 .dehumidifier-section-3, 
 .dehumidifier-section-4,
 .dehumidifier-section-5, 
 .dehumidifier-section-6,
 .dehumidifier-section-7,
 .dehumidifier-section-8,
 .dehumidifier-section-9 {
     position: relative;
     transition: all 0.3s ease;
     border-radius: 50px;
     padding: 10px;
     overflow: visible;
     cursor: pointer;
     max-width: 1100px;
     margin-left: auto;
     margin-right: auto;
     align-items: center;
     justify-content: center;
     /* Important: Increase spacing between sections */
     margin-bottom: 250px !important; /* Increased from 200px */
     margin-top: 50px !important;     /* Added new margin-top */
 }
 
 /* Specific fix for the first section */
 .dehumidifier-section-1 {
     margin-top: 150px !important;    /* Keep original margin for first section */
 }
 
 /* Fix for Stealth Series heading spacing */
 #stealthSeries {
     padding-top: 40px !important;
     margin-top: 80px !important;
     margin-bottom: 50px !important;
 }
 
 /* Hover effects for each section */
 .dehumidifier-section-1:hover {
     background-color: lightcoral;
 }
 
 .dehumidifier-section-2:hover {
     background-color: #e6f3ff;
 }
 
 .dehumidifier-section-3:hover {
     background-color: lightsalmon;
 }
 
 .dehumidifier-section-4:hover {
     background-color: lightgoldenrodyellow;
 }
  
 .dehumidifier-section-5:hover {
     background-color: lightgreen;
 }
 
 .dehumidifier-section-6:hover {
     background-color: lightseagreen;
 }
 
 .dehumidifier-section-8:hover {
     background-color: lightsteelblue;
 }
 
 .dehumidifier-section-9:hover {
     background-color: darkolivegreen;
 }
  
 .dehumidifier-section-7:hover {
     background-color: blueviolet;
     color: white;
     max-height: 300px;
 }
 
 /* Dehumidifier image styling */
 .dehu-image {
     position: relative;
     z-index: 2;
     display: flex;
     justify-content: center;
 }
 
 .dehu-image-stealth115 {
     position: relative;
     z-index: 2;
     display: flex;
     justify-content: center;
 }
 
  
 
 .dehu-text {
     display: flex;
     align-items: center;
     min-height: 120px;
     padding: 0 20px;
 }
 
 .dehu-text-stealth115 {
     display: flex;
     align-items: center;
     min-height: 120px;
     padding: 0 20px;
     margin-top:-10%;
 }
 
 /* =============================================================================
    11. PRODUCT CARDS & ITEMS
    ============================================================================= */
 .product-item {
     position: relative;
     transition: all 0.3s ease;
     margin-bottom: 30px;
 }
 
 .product-link {
     display: block;
     text-decoration: none;
     text-align: center;
     opacity: 0.8;
     transition: all 0.3s ease;
     position: relative;
 }
 
 .product-link:hover {
     opacity: 1;
     transform: scale(1.1);
 }
 
 .product-img-container {
     position: relative;
     margin-bottom: 10px;
     overflow: hidden;
 }
 
 .product-img {
     max-width: 100%;
     height: auto;
     transition: all 0.3s ease;
 }
 
 .product-name {
     color: #333;
     margin-top: 10px;
    font-weight: 600;
}

.product-pump-info {
    color: #666;
    font-size: 14px;
}

.option-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.product-item:hover .option-buttons {
    opacity: 1;
    pointer-events: auto;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stealth-product {
    position: relative;
}

.stealth-product::before {
    content: 'NEW';
    position: absolute;
    top: 0;
    right: 10px;
    background: #0066cc;
    color: white;
    padding: 3px 8px;
    font-size: 0.75rem;
    border-radius: 3px;
    font-weight: bold;
    z-index: 1;
}

.stealth-product .product-desc {
    color: #0066cc;
    font-weight: 600;
}

.product-img {
    transition: transform 0.3s;
}

.product-link:hover .product-img {
    transform: translateY(-5px);
}

/* Add an overlay that darkens the image when hovering to make buttons more visible */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; 
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

/* Cards and enhanced styles */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* =============================================================================
   12. BLOG ELEMENTS
   ============================================================================= */
.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-content h2, 
.blog-content h3, 
.blog-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem auto; /* Changed from 2rem 0 to 2rem auto */
    border-radius: 5px;
    display: block; /* Added to ensure centering works */
}

.blog-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    font-style: italic;
    margin: 2rem 0;
    color: #6c757d;
}

.blog-content a {
    color: #007bff;
    text-decoration: underline;
}

.blog-content ul, 
.blog-content ol {
    margin-bottom: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-tag-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.blog-tag-container .badge {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Search suggestions dropdown styles */
.search-suggestions {
    position: absolute;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
}

.search-suggestion-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.search-suggestion-item h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

.search-suggestion-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-position-relative {
    position: relative;
}

/* =============================================================================
   13. CONTACT PAGE
   ============================================================================= */
.moisture-bg {
    background: linear-gradient(45deg, #e3f2fd, #bbdefb);
}

.droplet-icon {
    color: #1565c0;
}

.form-control:focus {
    border-color: #1565c0;
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.25);
}

.btn-moisture {
    background-color: #1565c0;
    color: white;
    border: none;
}

.btn-moisture:hover {
    background-color: #0d47a1;
    color: white;
}

/* =============================================================================
   14. FAQ PAGE
   ============================================================================= */
.page-title {
    color: #008080;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
}

.category-title {
    color: #005f73;
    margin: 30px 0 15px;
    font-weight: bold;
}

.faq-container {
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-question {
    background-color: #fff;
    color: #000;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    border: 2px solid #00a3a3;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f1f8f8;
}

.faq-question.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    /* Removed the border-bottom to eliminate separation */
    border-bottom: none;
}

.faq-answer {
    background-color: #fff;
    color: #000;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    /* Use a smoother transition */
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border-left: 2px solid #00a3a3;
    border-right: 2px solid #00a3a3;
    border-bottom: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.faq-answer.active {
    padding: 15px;
    /* Increased max-height to accommodate larger content */
    max-height: 2000px;
    border-bottom: 2px solid #00a3a3;
}

.faq-icon {
    color: #003366;
    font-size: 1.2rem;
    min-width: 20px;
    text-align: center;
    /* Add transition for smoother icon change */
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    /* Slight rotate effect for the icon */
    transform: rotate(0deg);
}

.faq-text {
    flex-grow: 1;
    padding: 0 15px;
}

.faq-answer-content {
    line-height: 1.6;
    /* Add a slight top padding */
    padding-top: 5px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* =============================================================================
   15. GUIDES & LITERATURE PAGE
   ============================================================================= */
/* Base Styles */
.guides-page {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --transition-speed: 0.3s;
    color: var(--dark-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, navy, darkblue);
    padding: 5rem 0;
    text-align: center;
    overflow: hidden;
    margin-bottom: 3rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
}

.water-drop {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    animation: rainAnimation linear infinite;
    z-index: 1;
}

@keyframes rainAnimation {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(500px);
        opacity: 0;
    }
}

@keyframes heroOverlayAnimation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 500px 500px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

.hero-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.search-form .input-group {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.search-form .form-control {
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 50px 0 0 50px;
}

.search-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* Stats Counter */
.guides-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    color: white;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-count {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Filter Section */
.filter-section {
    margin-bottom: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.filter-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: white;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    transition: all var(--transition-speed);
    border-radius: 12px;
}

.filter-toggle-btn:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.filter-toggle-btn .toggle-icon {
    transition: transform var(--transition-speed);
}

.filter-toggle-btn.active .toggle-icon {
    transform: rotate(-180deg);
}

.filter-container {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-speed);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-container.active {
    padding: 1.5rem;
    max-height: 300px;
}

.filter-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Categories Navigation */
.categories-nav-section {
    margin-bottom: 2rem;
}

.categories-slider {
    position: relative;
    display: flex;
    align-items: center;
}

.categories-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.categories-track {
    display: flex;
    transition: transform 0.3s ease;
}

.category-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-width: 120px;
    text-align: center;
    background-color: white;
    margin-right: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.category-item.active {
    background-color: navy;
    color: white;
}

.category-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-name {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.slider-arrow {
    background-color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all var(--transition-speed);
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: white;
}

.prev-arrow {
    margin-right: 10px;
}

.next-arrow {
    margin-left: 10px;
}

/* Guides & Infographics Display */
.guides-display-section, .infographics-display-section {
    margin-bottom: 3rem;
}

.guides-group {
    display: none;
}

.guides-group.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.guide-count {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Guide Tiles */
.guide-tile {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.guide-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.guide-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.guide-image {
    height: 120px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: white; /* Change from #f8f9fa to white to match card background */
}

.guide-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px; /* Add padding inside the container instead of having gray space */
}

.infographic-image {
    height: 180px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: white;
}

.infographic-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.guide-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.guide-category {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 30px;
}

.guide-info {
    flex-grow: 1;
}

.guide-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.guide-product {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.guide-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 1.25rem;
    background-color: #f8f9fa;
}

.guide-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.guide-actions a i {
    margin-right: 0.5rem;
}

.btn-view {
    background-color: navy;
    color: white;
}

.btn-view:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-download {
    background-color: white;
    color: var(--dark-color);
    border: 1px solid #dee2e6;
}

.btn-download:hover {
    background-color: #e9ecef;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 0;
}

.no-results-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.no-results h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.no-results p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Choose Dehumidifier */
.filter-container {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.row {
  display: flex;
  margin: 0 -15px;
}

.col-sm-4 {
  flex: 0 0 33.333333%;
  padding: 0 15px;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; 
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

select, input[type="number"] {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background-color: #fff;
}

.checkbox-wrapper {
  margin-bottom: 1rem;
}

.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

/* Updated filter container styles */
.filter-container {
  border-radius: 10px;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.filter-container label {
  color: #4a5568;
  font-weight: 500;
}

.form-select, .form-control {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.625rem 1rem;
  height: calc(2.5rem + 2px);
  color: #2d3748;
}

.form-select:focus, .form-control:focus {
  border-color: #1498c3;
  box-shadow: 0 0 0 3px rgba(20, 152, 195, 0.15);
}

.form-check-input:checked {
  background-color: #1498c3;
  border-color: #1498c3;
}

/* =============================================================================
   16. RESPONSIVE ADJUSTMENTS
   ============================================================================= */
/* Navigation responsive adjustments */
@media (max-width: 991.98px) {
    /* Make the container flex with proper alignment */
    .navbar > .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Adjust the floating brand to take appropriate space */
    .floating-brand {
        flex: 0 0 auto;
        width: auto;
        max-width: 70%; /* Prevent it from taking too much space */
        order: 1; /* Order matters for mobile layout */
    }
    
    /* Position the navbar toggler button */
    .navbar-toggler {
        flex: 0 0 auto;
        order: 2; /* Place it after the brand */
        margin-left: auto; /* Push it to the right */
    }
    
    /* Make sure the inner container doesn't break the layout */
    .navbar > .container > .container {
        padding: 0;
        margin: 0;
        width: 100%;
        order: 3; /* Place it after both brand and toggler */
    }
    
    /* Collapse container should take full width */
    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        width: 100%;
    }
    
    /* Ensure brand text doesn't overflow */
    .brand-heading {
        font-size: 1.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .navbar.scrolled {
        background-color: #1498c3;
    }
    
    .navbar-collapse {
        background-color: #1498c3;
        padding: 1rem;
    }
    
    .submenu {
        position: static;
        padding-left: 1.5rem;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1.5rem;
    }
    
    .dropdown-item.dropdown-toggle::after {
        transform: rotate(90deg);
        right: 1.5rem;
    }

    /* Remove this duplicate from here if possible */
    body {
        padding-top: 0;
    }
}
/* Comprehensive fix for Stealth 115 section on mobile */
@media (max-width: 767px) {
    /* Reset the container and ensure proper spacing */
    .dehumidifier-section-7 {
        padding: 15px !important;
        overflow: visible !important;
        margin-bottom: 150px !important;
        background-color: transparent !important; /* Reset any background color */
    }
    
    /* Fix the row structure */
    .dehumidifier-section-7 .row {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
    }
    
    /* Fix all columns in this section */
    .dehumidifier-section-7 .col-sm-2,
    .dehumidifier-section-7 .col-sm-3,
    .dehumidifier-section-7 .col-sm-5 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
    }
    
    /* Ensure the image container works correctly */
    .dehumidifier-section-7 .dehu-image-stealth115 {
        width: 100% !important;
        position: relative !important;
        margin: 0 auto 30px auto !important;
        text-align: center !important;
        display: block !important;
        transform: none !important;
    }
    
    
    
    /* Fix the text container */
    .dehumidifier-section-7 .dehu-text-stealth115 {
        width: 100% !important;
        margin-top: 0 !important; /* Remove negative margin */
        padding: 15px !important;
        min-height: auto !important;
        position: relative !important;
        display: block !important;
        clear: both !important;
    }
    
    /* Fix text color when hovering */
    .dehumidifier-section-7:hover .dehu-text-stealth115 {
        color: black !important;
    }
}

@media (max-width: 767px) {    
    /* Enhance visibility of the toggler button */
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .brand-heading {
        font-size: 1.25rem; /* Slightly smaller on mobile devices initially */
    }
    
    .floating-brand.scrolled .brand-heading {
        font-size: 1.75rem; /* Still larger on mobile when scrolled, but not as large as desktop */
    }
    
   

    .dehumidifier-section-7:hover {
        background-color: blueviolet;
        color: black; 
    }
    
    .dehumidifier-section-1, .dehumidifier-section-2, .dehumidifier-section-3, .dehumidifier-section-4, 
    .dehumidifier-section-5, .dehumidifier-section-6, .dehumidifier-section-7,.dehumidifier-section-8,.dehumidifier-section-9 {
        margin-bottom: 100px; /* Reduce bottom margin on mobile */
        padding: 15px;
    }
     
    .dehu-text {
        padding: 15px;
        min-height: auto; /* Let height be determined by content */
    }
    
    /* Make spacing more consistent on mobile */
    .dehumidifier-section-1,
    .dehumidifier-section-2,
    .dehumidifier-section-3,
    .dehumidifier-section-4,
    .dehumidifier-section-5,
    .dehumidifier-section-6,
    .dehumidifier-section-7,
    .dehumidifier-section-8,
    .dehumidifier-section-9 {
        margin-bottom: 150px !important; /* Reduce spacing but still ensure enough space */
        margin-top: 30px !important;     /* Less top spacing on mobile */
        padding: 15px;
    }
    
    #stealthSeries {
        padding-top: 30px !important;
        margin-top: 60px !important;
    }
    
    /* Fix for series-section on mobile */
    .series-section .row {
      display: block; /* Force block layout instead of flex */
    }
    
    .series-section .col-sm-6 {
      width: 100%;
      float: none;
      margin-bottom: 120px; /* Add more space between stacked columns */
      clear: both; /* Ensure nothing tries to float beside it */
    }
    
    .series-section .glow-wrapper {
      width: 100%;
      max-width: 280px; /* Limits the width on small screens */
      margin: 0 auto;
      position: relative; /* Establish positioning context */
      overflow: visible; /* Allow glow effect to show */
    }
    
    .series-section .glow-image,
    .series-section .glow-image-stealth {
      max-width: 100%;
      height: auto;
      display: block;
    }
    
    /* Hide SVG filters on mobile to simplify rendering */
    .series-section svg {
      display: none;
    }
    
    /* Fix for newsletter popup on mobile */
    .newsletter-container {
      width: 100%;
      padding: 0 15px
      padding: 0 15px 15px;
    }
    
    .newsletter-content {
      padding: 25px 20px;
    }
    
    .newsletter-popup h3 {
      font-size: 20px;
    }
    
    .newsletter-popup p {
      font-size: 14px;
      margin-bottom: 20px;
    }
    
    .newsletter-popup .btn {
      padding: 10px 16px;
      font-size: 14px;
    }
    
    /* Stack buttons on mobile */
    .newsletter-popup .btn-link {
      margin-left: 0;
      margin-top: 10px;
      display: inline-block;
    }
    
    /* Lightbox responsive adjustments */
    .lightbox-content {
        max-width: 90%;
        margin: 20px auto;
    }

    .lightbox .nav-button {
        width: 40px;
        height: 40px;
    }

    .lightbox .prev-button {
        left: 15px;
    }

    .lightbox .next-button {
        right: 15px;
    }
    
    .lightbox .nav-button i {
        font-size: 1.5rem;
    }
    /* Hero section responsive */
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .guides-stats {
        gap: 2rem;
    }
    
    .guide-content {
        padding: 1.25rem;
    }
    
    .guide-image {
        height: 100px;
    }
    
    .guide-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .guide-title {
        font-size: 1rem;
    }
    
    /* Filter container responsive */
    .filter-container {
      padding: 1rem !important;
    }
    
    .row.g-4 > div {
      margin-bottom: 1rem;
    }
    
    #products-container .card {
      margin-bottom: 1.5rem;
    }
    
    .img-container {
      height: 180px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* FAQ responsive adjustments */
    .faq-question {
        padding: 12px;
    }
    
    .faq-answer.active {
        padding: 12px;
    }
    
    /* Row responsive adjustments */
    .row {
        flex-direction: column;
    }
      
    .col-sm-4 {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Tablet responsive styles */
@media (min-width: 768px) and (max-width: 991px) {
  
    
    .dehumidifier-section-7:hover {
        background-color: blueviolet;
        color: black; 
    }
    
    .dehumidifier-section-1,
    .dehumidifier-section-2,
    .dehumidifier-section-3,
    .dehumidifier-section-4,
    .dehumidifier-section-5,
    .dehumidifier-section-6,
    .dehumidifier-section-7,
    .dehumidifier-section-8,
    .dehumidifier-section-9 {
        margin-bottom: 200px !important;
        margin-top: 40px !important;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .stat-count {
        font-size: 2rem;
    }
    
    .category-item {
        min-width: 100px;
    }
}

/* For desktop, reset the styles */
@media (min-width: 992px) {
    body {
        padding-top: 0;
    }
    
    /* Add v-shape class styles for desktop only */
    .mega-banner.v-shape {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    }
}

/* Fix for all responsive images */
.glow-wrapper img,
.filter-accessories img, 
.installation-accessories img, 
.remote-accessories img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Additional CSS styles for holiday messages in chat interface */

/* Holiday status message styling */
.status-message.holiday-message {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    color: #856404;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
    position: relative;
    overflow: hidden;
}

.status-message.holiday-message::before {
    content: "🎉";
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    opacity: 0.7;
}

/* Holiday message in chat bubble */
.message.holiday {
    margin: 15px auto;
    max-width: 90%;
}

.message.holiday .message-bubble {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #f