
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  height: auto; /* allow content to grow */
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background image with opacity using ::before */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  #background-image: url('img/image.jpg'); /* Replace with your image path */
  background-color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  #opacity: 0.9; /* Adjust opacity */
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1193px;
  margin: auto;
  padding: 6px 12px;
  
}

.container-bg {
  max-width: 1232px;
  margin: auto;
  padding: 0px 12px;
  background-color: #f5f5f5;
}

.container-bg-other {
  max-width: 1232px;
  margin: auto;
  padding: 0px 12px;
  #background-color: rgba(255, 255, 255, 0.7);
  background-color: #f5f5f5;
}

.container-welcome {
  max-width: 1200px;
  margin: auto;
  padding: 4px 12px;
}

.span-container {
  display: flex;
  justify-content: space-between;
  padding: 0px 4px;
  flex-wrap: wrap;
}

header {
  background: #004080;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  float: left;
}

.large-header {
  background: #004080;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.small-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #004080;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1001;
  font-size: 14px;
}

.large-header.hidden {
  opacity: 0;
  visibility: hidden;
}

.small-header.visible {
  opacity: 1;
  visibility: visible;
}

.large-header h1, .small-header h1 {
  margin: 0;
}

.large-header h1 {
  font-size: 2.0em;
}

.small-header h1 {
  font-size: 1.5em;
}
		
.small-header .logo {
  height: 40px; /* Adjust logo size */
  width: auto;
}

.content {
  margin-top: 0px; /* Space for large header */
  padding: 0px;
}

.left-span, .right-span {
  flex: 1;
  min-width: 150px;
  text-align: center;
}

.left-span {
  text-align: left;
  max-width: 444px;
}

.right-span {
  max-width: 566px;
}

nav {
  float: right;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
}

nav a {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 8px 12px;
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f4f4f4;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 150px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.dropdown-menu li a {
  padding: 10px;
  color: #333;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.nav-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #222;
}

.nav-footer ul {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  justify-content: center;
}

.nav-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-footer ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.text-content, .video-container {
  flex: 1 1 300px;
  text-align: justify;
  background: #e0f0ff;
  padding: 7px;
  #max-height: 328px;
  #min-height: 330px;
}

.text-content-inner {
  flex: 1 1 300px;
  text-align: justify;
  background: #e0f0ff;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-radius: 14px;
}

.video-container {
  position: static;
  width: 100%;
  max-width: 800px;
  margin: auto;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  position: static;
}

.video-container a {
  text-decoration: none;
  color: #808080;
  font-weight: bold;
  #padding: 8px 12px;
  display: block;
  align-items: center;
}

.video-container-about {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.video-container-about video {
  width: 100%;
  height: auto;
  display: block;
}

#USUI {
  background: #e0f0ff;
  padding: 16px 0;
  text-align: center;
  #max-width: 1100px;
}

#about{
  padding: 14px 0;
}

#products, #contact {
  padding: 0px 0;
}

.product-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.box {
  flex: 1 1 10%;
  background: #e0f0ff;
  padding: 8px;
  text-align: center;
  border-radius: 8px;
  min-height: 380px;
  text-align: justify; 
  color: #000000;  
}

.box:hover {
  transform: scale(1.15); /* Slightly enlarge the box */
}

.box a {
  color: #000000;
  text-decoration: none;
}

.box-product-pic {
  flex: 1 1 10%;
  background: #e0f0ff;
  padding: 0px;
  text-align: center;
  border-radius: 0px; 
}

.box-productspage {
  flex: 1 1 10%;
  #background: #e0f0ff;
  padding: 8px;
  #text-align: center;
  border-radius: 0px;
  min-height: 80px;
  #max-width: 220px;
  text-align: center; 
  color: #000000; 
  border: .5px solid #e0e0e0;
}

.box-aboutus-pic {
  flex: 1 1 10%;
  background: #e0f0ff;
  padding: 2px;
  text-align: center;
  border-radius: 1px;
  align-items: flex-start;  
}

.box-aboutus-span {
  display: inline-block; /* allows width/height control */
  max-width: 100%;       /* prevents overflow */
  #font-size: clamp(14px, 2vw, 24px); /* responsive font size */
  padding: 0.5em;
  background-color: #ffffff;
  border-radius: 1px;
  box-sizing: border-box;
  border: .5px solid #00AEEF;
  color: #555555;
  font-weight: bold;
  text-align: left;
  align-items: left;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background: #004080;
  color: #fff;
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

.menu-toggle {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
 }

.menu {
  background: #eeeeee;
  opacity: 0.9;
  padding: 10px;
}

.hidden {
  display: none;
}

html {
  scroll-behavior: smooth;
}

/* Responsive Design Desktop Minimized */
@media (max-width: 1000px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-boxes {
    flex-direction: column;
  }

  header h1, nav {
    float: none;
    text-align: center;
  }

  .menu-toggle {
	display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .nav-menu.show {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}

.hide-on-small {
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 710px) {
  header {
    background: #004080;
    color: #fff;
    padding: 14px 0;
    position: static;
    top: 0;
    z-index: 1000;
  }
  
  .span-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally in column layout */
  }

  .right-span {
    margin-top: 10px;
    text-align: center;
    max-width: 305px;
  }

  .nav-menu {
    flex-direction: column;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
  
  img {
    max-width: 100%;
    height: auto;
    #display: block;
    align-items: center;
  }
  
  .hide-on-small {
		display: none;
    }
  
}

.thin-bar {
  width: 100%;         /* Full width of the container */
  height: 2px;         /* Thin height */
  #background-color: #004080;
  background-color: #00AEEF;
}

.thin-bar-gray {
  width: 100%;         /* Full width of the container */
  height: 4px;         /* Thin height */
  background-color: #e0e0e0;
}

.thin-bar-gray-thin3 {
  width: 100%;         /* Full width of the container */
  height: 3px;         /* Thin height */
  background-color: #e0e0e0;
}

.thin-bar-gray-thin {
  width: 100%;         /* Full width of the container */
  height: 1px;         /* Thin height */
  background-color: #e0e0e0;
}

.thin-bar-darkgray {
  width: 100%;         /* Full width of the container */
  height: 4px;         /* Thin height */
  background-color: #bbbbbb;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 20px;
  padding: 20px;
  text-align: center;
}

@media (max-width: 800px) {
  .map-grid {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 20px;
    padding: 20px;
    width: 100%;
  }
  
}

.map-container {
  width: 100%;
  max-width: 520px;
  height: 520px;
  background-color: #e0e0e0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2 columns */
  grid-template-rows: repeat(2, auto);   /* 3 rows */
  gap: 20px;
  padding: 20px;
}

@media (max-width: 800px) {
  .box-grid {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 20px;
  }
}

.box-recognition-span {
  display: inline-block;
  max-width: 100%;
  padding: 0.5em;
  background-color: #ffffff;
  border-radius: 1px;
  box-sizing: border-box;
  border: 0.5px solid #00AEEF;
  color: #555555;
  font-weight: bold;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.award-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: .5px solid #e0e0e0;
}

.award-image img {
  max-width: 300px;
  height: auto;
  border: 1px solid #000;
}

.award-text {
  flex: 1;
  color: #000;
}

.award-text h2 {
  text-align: center;
  margin-top: 0;
}

.award-text p {
  text-align: justify;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .award-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .award-text p {
    text-align: left;
  }
}

.background-section {
  position: relative;
  background-image: url('img/bkgd.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  overflow: hidden;
}

.background-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
  z-index: 1;
}

.background-section > * {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding-top: 50px;
}

section {
  scroll-margin-top: 360px; /* Matches header height */
}

label {
  scroll-margin-top: 110px;
}

.productstopmenu {
  background: #e0f0ff;
  padding: 8px 0;
  text-align: right;
  position: sticky;
  top: 60px; /* This is essential for sticky to work */
 /* z-index: 1000; /* Ensures it stays above other content */
  /*scroll-margin-top: 300px;*/
}

.container-productselection {
  max-width: 1200px;
  margin: auto;
  padding: 1px 3px;
}

select {
      width: 250px;
      padding: 8px;
      font-size: 14px;
      border: 1px solid #e0f0ff;
      border-radius: 5px;
      background-color: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

