


.footer-logo-bottom {
    display: block;
    margin: 20px auto 0;
    max-width: 140px;
  }
  
  /* Only apply these changes when height is short (landscape mode) */
  @media (max-height: 500px) {
    /* Compact layout for landscape orientation */
    .nav-menu {
      gap: 8px !important;
      padding: 50px 15px 40px !important;
      justify-content: flex-start !important;
      overflow-y: auto !important;
    }
  
    .notification-bar p {
      font-size:8px !important;
  }
  
    
    /* Make text and buttons smaller ONLY in landscape */
    .nav-menu .nav-link {
      font-size: 0.9rem !important;
      padding: 3px 0 !important;
    }
    
    .mobile-menu-cta,
    .mobile-menu-cta2 {
      padding: 5px 12px !important;
      font-size: 0.85rem !important;
      margin: 2px auto !important;
    }
    
    .mobile-social-icon {
      width: 30px !important;
      height: 30px !important;
    }
    
    /* Optimize layout for landscape */
    .nav-menu {
      flex-direction: row !important;
      flex-wrap: wrap !important;
      align-items: flex-start !important;
      justify-content: center !important;
    }
    
    .nav-menu .nav-link {
      width: auto !important;
      margin: 0 10px !important;
    }
    
    .nav-menu > div {
      width: 100% !important;
      flex-direction: row !important;
      flex-wrap: wrap !important;
      justify-content: center !important;
    }
  }
  
  /* Very short height (extreme landscape) */
  @media (max-height: 400px) {
    .nav-menu {
      padding: 30px 10px 20px !important;
    }
    
    .nav-menu .nav-link {
      font-size: 0.8rem !important;
    }
    
    .mobile-menu-cta,
    .mobile-menu-cta2 {
      padding: 4px 10px !important;
      font-size: 0.8rem !important;
    }
    
    .mobile-social-icon {
      width: 25px !important;
      height: 25px !important;
    }
  }
  
  /* iOS Safari specific fixes for landscape mode */
  @supports (-webkit-touch-callout: none) {
    @media (max-height: 500px) {
      .mobile-menu-social {
        padding-bottom: 40px !important;
      }
    }
  }
  
  
  /* External link icon styles */
  .logo-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  }
  
  .external-icon {
  font-size: 12px;
  margin-left: 4px;
  color: #999;
  transition: color 0.3s ease;
  }
  
  .other-site:hover .external-icon {
  color: var(--color-purple);
  }
  
  /* Adjust icon size on mobile */
  @media (max-width: 768px) {
  .external-icon {
      font-size: 10px;
      margin-left: 2px;
  }
  }
  /* Notification Bar */
  .notification-bar {
      background: var(--primary-gradient);
      color: var(--color-white);
      padding: 5px 0;
      text-align: center;
      position: relative;
      z-index: 10002; /* Higher than other header elements */
      transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .notification-bar.hidden {
      transform: translateY(-100%);
      opacity: 0;
  }
  
  .notification-bar .container {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0;
     
  }
  
  .notification-bar p {
      margin: 0;
      font-weight: 500;
      font-size: 10px;
      letter-spacing: 0.3px;
  }
  
  .notification-cta {
      font-weight: 700;
      margin-left: 5px;
      text-decoration: underline;
      cursor: pointer;
  }
  
  /* Adjust header spacing when notification is present */
  body.has-notification .header {
      top: 25px!important; /* Height of notification bar */
  }
  
  body.has-notification .hero {
      padding-top: 220px; /* Adjusted for notification bar */
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {        
      body.has-notification .header {
      }
      .notification-bar p {
          font-size: 0.5em;
      }
      
      body.has-notification .hero {
          padding-top: 150px; /* Adjusted for smaller screen */
      }
  }
  
  @media (max-width: 480px) {
      .notification-bar {
          padding: 5px 0;
      }
      
      .notification-cta {
          display: inline;
      }
  }
  
  
  /* iOS Safari Mobile Menu Fix */
  
  /* Fix viewport height issue on iOS */
  @supports (-webkit-touch-callout: none) {
  /* Target iOS devices specifically */
  .nav-menu {
    height: -webkit-fill-available !important; /* Use available height instead of viewport height */
    max-height: -webkit-fill-available !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: scroll !important; /* Ensure scrolling works */
    -webkit-overflow-scrolling: touch !important; /* Smooth scrolling on iOS */
    padding-top: 100px !important; /* More space at top */
    padding-bottom: 120px !important; /* More space at bottom for iOS toolbar */
  }
  
  /* Force proper positioning */
  .nav-menu.active {
    transform: translateY(0) !important;
    visibility: visible !important;
    display: flex !important;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
  
  /* Fix scrolling issues with header */
  .header {
    position: fixed !important;
    z-index: 10002 !important; /* Ensure it's above menu */
  }
  
  /* Increase menu items spacing */
  .nav-menu > a,
  .nav-menu > div {
    margin-bottom: 20px !important;
  }
  
  /* Make menu background more opaque */
  .nav-menu.active {
    background-color: rgba(255, 255, 255, 0.98) !important;
  }
  }
  
  /* Prevent scroll issues for all mobile devices */
  @media (max-width: 1024px) {
  /* Improved mobile menu toggle behavior */
  .nav-menu {
    transition: transform 0.4s ease, opacity 0.3s ease;
    visibility: hidden;
  }
  
  .nav-menu.active {
    visibility: visible;
    z-index: 9999 !important;
  }
  
  /* Ensure mobile logo and toggle button are visible */
  .mobile-toggle,
  .logo img {
    position: relative;
    z-index: 10003 !important;
  }
  }
  
  .header .container, .logo, .mobiledivtoggle, .mobile-toggle {
  z-index: 10001!important;
  }
  
  
  .header .container, .logo, .mobiledivtoggle, .mobile-toggle {
  z-index: 99999 !important;
  
  }
  .brand-nav {
  z-index: 99999 !important;
  }
  
  .nav-menu.active {
    height: 100vh !important;
  }
  
  
  /* Consolidated iOS Safari Menu Fix */
  
  /* Base styles for all devices */
  .nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  padding: 80px 20px;
  width: 100%;
  height: 100vh;
  }
  
  .nav-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  }
  
  /* Universal menu-open body styles */
  body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  }
  
  /* iOS specific fixes */
  html.ios-device .nav-menu {
  height: 100% !important; /* Fallback */
  height: -webkit-fill-available !important;
  max-height: -webkit-fill-available !important;
  padding-bottom: 120px !important; /* Extra padding at bottom for iOS UI elements */
  -webkit-overflow-scrolling: touch !important;
  }
  
  /* Reset any transform animations for iOS devices */
  html.ios-device .nav-menu.active {
  transform: none !important;
  }
  
  /* Ensure menu toggle and header stay above menu */
  html.ios-device .header,
  html.ios-device .mobile-toggle,
  html.ios-device .logo {
  z-index: 10000 !important;
  position: relative !important;
  }
  
  /* Fix for landscape orientation */
  @media (max-height: 500px) {
  .nav-menu {
    padding: 60px 20px 80px !important;
    justify-content: flex-start !important;
  }

  html.ios-device .nav-menu {
    padding-bottom: 150px !important;
  }
  }
  
  /* Prevent any transitions when menu is opening/closing on iOS */
  html.ios-device.menu-open,
  html.ios-device.menu-open .nav-menu,
  html.ios-device.menu-open .nav-menu * {
  transition-property: none !important;
  }/* Universal iOS Safari Mobile Menu Fix */
  
  /* 1. Base styles for the nav menu */
  .nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  padding: 80px 20px;
  width: 100%;
  height: 100vh; /* Default height */
  /* Use stretch for better iOS compatibility */
  height: -webkit-fill-available;
  height: stretch;
  }
  
  /* Active state for the menu */
  .nav-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  height: 100vh; /* Default height */
  /* Use stretch for better iOS compatibility */
  height: -webkit-fill-available;
  height: stretch;
  }
  
  /* 2. iOS specific fixes using feature detection */
  @supports (-webkit-touch-callout: none) {
  /* Target iOS devices specifically */
  .nav-menu {
    height: 100vh !important; /* Standard approach first */
    height: -webkit-fill-available !important; /* iOS specific */
    max-height: -webkit-fill-available !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: scroll !important; /* Ensure scrolling works */
    -webkit-overflow-scrolling: touch !important; /* Smooth scrolling on iOS */
    padding-top: 100px !important; /* More space at top */
    padding-bottom: 120px !important; /* More space at bottom for iOS toolbar */
  }
  
  /* Force proper positioning */
  .nav-menu.active {
    transform: none !important; /* Prevent transform issues */
    visibility: visible !important;
    display: flex !important;
    height: 100vh !important; /* Standard approach first */
    height: -webkit-fill-available !important; /* iOS specific */
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  }
  
  /* 3. Enhanced iOS detection - add to your JavaScript */
  /* This CSS works with the JS that adds 'ios-device' class to html */
  html.ios-device .nav-menu {
  height: 100vh !important;
  height: -webkit-fill-available !important;
  max-height: -webkit-fill-available !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 120px !important;
  -webkit-overflow-scrolling: touch !important;
  }
  
  /* 4. Disable animations in iOS which can cause rendering issues */
  html.ios-device.menu-open,
  html.ios-device.menu-open .nav-menu,
  html.ios-device.menu-open .nav-menu * {
  transition-property: none !important;
  }
  
  /* 5. Add this to ensure the menu is visible on iOS */
  @media screen and (max-width: 1024px) {
  html.ios-device .nav-menu.active {
    min-height: 100vh !important;
    height: -webkit-fill-available !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    display: flex !important;
  }
  }
  
  /* Universal iOS Safari Mobile Menu Fix - MOBILE ONLY */
  
  /* Only apply these fixes to mobile views */
  @media (max-width: 1024px) {
    /* 1. Base styles for the nav menu - MOBILE ONLY */
    .nav-menu {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background-color: #fff;
      transform: translateY(-100%);
      opacity: 0;
      visibility: hidden;
      overflow-y: auto;
      padding: 80px 20px;
      width: 100%;
      height: 100vh; /* Default height */
      /* Use stretch for better iOS compatibility */
      height: -webkit-fill-available;
      height: stretch;
    }
  
    /* Active state for the menu - MOBILE ONLY */
    .nav-menu.active {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
      height: 100vh; /* Default height */
      /* Use stretch for better iOS compatibility */
      height: -webkit-fill-available;
      height: stretch;
    }
  
    /* 2. iOS specific fixes using feature detection - MOBILE ONLY */
    @supports (-webkit-touch-callout: none) {
      /* Target iOS devices specifically */
      .nav-menu {
        height: 100vh !important; /* Standard approach first */
        height: -webkit-fill-available !important; /* iOS specific */
        max-height: -webkit-fill-available !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: scroll !important; /* Ensure scrolling works */
        -webkit-overflow-scrolling: touch !important; /* Smooth scrolling on iOS */
        padding-top: 100px !important; /* More space at top */
        padding-bottom: 120px !important; /* More space at bottom for iOS toolbar */
      }
      
      /* Force proper positioning */
      .nav-menu.active {
        transform: none !important; /* Prevent transform issues */
        visibility: visible !important;
        display: flex !important;
        height: 100vh !important; /* Standard approach first */
        height: -webkit-fill-available !important; /* iOS specific */
      }
      
      /* Prevent body scroll when menu is open */
      body.menu-open {
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
    }
  
    /* 3. Enhanced iOS detection - works with JS that adds 'ios-device' class to html */
    html.ios-device .nav-menu {
      height: 100vh !important;
      height: -webkit-fill-available !important;
      max-height: -webkit-fill-available !important;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      padding-bottom: 120px !important;
      -webkit-overflow-scrolling: touch !important;
    }
  
    /* 4. Disable animations in iOS which can cause rendering issues */
    html.ios-device.menu-open,
    html.ios-device.menu-open .nav-menu,
    html.ios-device.menu-open .nav-menu * {
      transition-property: none !important;
    }
  
    /* 5. Add this to ensure the menu is visible on iOS */
    html.ios-device .nav-menu.active {
      min-height: 100vh !important;
      height: -webkit-fill-available !important;
      visibility: visible !important;
      opacity: 1 !important;
      transform: none !important;
      display: flex !important;
    }
    
    /* Use the custom property in your menu height (works with JS) */
    @supports (-webkit-touch-callout: none) {
      .nav-menu {
        height: calc(var(--vh, 1vh) * 100) !important;
      }
      
      .nav-menu.active {
        height: calc(var(--vh, 1vh) * 100) !important;
      }
    }
  }
  
  /* 6. Preserve desktop menu styles */
  @media (min-width: 1025px) {
    .nav-menu {
      position: relative;
      display: flex;
      flex-direction: row;
      justify-content: flex-end;
      align-items: center;
      visibility: visible;
      opacity: 1;
      transform: none;
      padding: 0;
      height: auto;
      width: auto;
      overflow: visible;
      background-color: transparent;
    }
  }
  
  .brand-nav{
    z-index: 9999!important;
  }
  
  
  .certification-image img {
      width:300px;
  }
  
  .nav-menu.active {
      height: var(--vh, 100vh) !important;
      max-height: var(--vh, 100vh) !important;
      overflow-y: auto !important;
      -webkit-overflow-scrolling: touch !important;
  }
  @media (max-width: 500px) {
    .logo img {
        height: 15px !important;
        margin-top:3px;
    }
}
  .overlay-menu-button{
    position: fixed !important;
    top: 49.3906px !important;
    left: 10px !important;
    width: 18.2031px !important;
    height: 24px !important;
    z-index: 99999 !important;
    cursor: pointer !important;
    background: transparent !important;
  }