
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

header {
  background: /*#004aad;*/#fefeff;
  flex-direction: column;
  align-items: flex-start;
  color: white;
  padding: .1rem 5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
}

.logo {
 /* height: 150px;
  width: 100px;*/

  max-width: 1500px;
  /*padding: 0 15px 0 100px;*/
  height: 150px;
}

.company-name {
  font-size: 2.5rem;
  margin: 0;
}

nav {
  width: 100%;
}

nav ul {
  list-style: none;
  padding: 0;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #5776fff8;/*#ffffff;*/
  border-radius: 5px;
  }


nav ul li {
  margin-left: 1.5rem;
}

nav ul li:first-child {
  margin-left: 0;
}

nav ul li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

nav ul li a:hover,
nav ul li a.active {
  text-decoration: underline;
}

.container {
  max-width: 1830px;
  margin: 1rem auto;
  padding: 1rem;
  background: white;
  border-radius: 5px;
  box-shadow: 0 0 5px #ccc;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #030303;
  border-top: 1px solid #5776fff8;
  margin-top: 10rem;
  background:#5776fff8;
}

/* Responsive styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-container {
    margin-bottom: 1rem;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
  }

  nav ul li {
    margin: 0.5rem 0;
    margin-left: 0;
  }

  nav ul li a {
    font-size: 1.1rem;
  }

  .container {
    margin: 1rem;
    padding: 1rem;
  }


  .slideshow-container {
  
    position: relative;
    max-width: 100%;
    margin: 20px auto;
   
   
  }
  
  .slide {
    display: none;
    
  }
  
  .slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    
  }
  
  .fade {
    animation: fade 1.5s ease-in-out;
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
}
/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  padding: 0;
  list-style: none;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
  min-width: 180px;
}

.dropdown:hover .submenu {
  display: block;
}

.submenu li {
  margin: 0;
}

.submenu li a {
  display: block;
  padding: 10px 15px;
  color: black;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.submenu li a:hover {
  background-color: #eee;
}
.main-layout {
  display: flex;
  flex-direction: row;   /* side by side by default */
  gap: 20px;
  padding: 20px;
}

.main-content {
  flex: 1 1 70%;         /* takes more width */
}

.sidebar {
  flex: 1 1 25%;         /* fixed width on right */
  max-width: 300px;      /* optional: prevents it from being too wide */
}

@media (max-width: 992px) {
  .main-layout {
    flex-direction: column;   /* stack when screen is narrow */
  }
  .sidebar {
    max-width: 100%;          /* sidebar full width on small screens */
  }
}
/* ===== VIDEO TEXT OVERLAY ===== */
.video-slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  z-index: 2;
}

.video-overlay h1 {
  font-size: 42px;
  margin: 0;
  font-weight: bold;
  letter-spacing: 1px;
}

.video-overlay p {
  font-size: 20px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .video-overlay h1 {
    font-size: 26px;
  }
  .video-overlay p {
    font-size: 16px;
  }


/* ================= SAFE HAMBURGER CONTROL ================= */

/* Hide hamburger by default */
.menu-toggle {
  display: none;
  background: #004080;
  color: #fff;
  font-size: 26px;
  border: none;
  padding: 12px 15px;
  cursor: pointer;
  width: 100%;
  text-align: right;
}

/* Default Desktop Nav */
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= MOBILE ONLY ================= */
@media screen and (max-width: 768px) {

  /* Show hamburger */
  .menu-toggle {
    display: block;
  }

  /* Hide nav initially */
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #004080;
  }

  /* Show nav when active */
  nav ul.show {
    display: flex;
  }

}
  
/* ================= FINAL DESKTOP / MOBILE CONTROL ================= */

/* Force Desktop */
@media screen and (min-width: 769px) {

  .menu-toggle {
    display: none !important;
  }

  nav ul {
    display: flex !important;
    flex-direction: row !important;
  }

}

/* Force Mobile */
@media screen and (max-width: 768px) {

  .menu-toggle {
    display: block !important;
  }

  nav ul {
    display: none !important;
    flex-direction: column !important;
    width: 100%;
    background: #004080;
  }

  nav ul.show {
    display: flex !important;
  }

}

}

