/* Basic Reset & Body Style */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

#site-wrapper {
  max-width: 1100px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Navigation */
#main-navigation {
  background-color: #333;
  color: #fff;
  padding: 0;
  margin-bottom: 20px;
}

#main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* For horizontal menu */
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
}

#main-navigation ul li {
  position: relative; /* For submenu positioning */
}

#main-navigation ul li a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

#main-navigation ul li a:hover {
  background-color: #555;
}

/* Sub-navigation */
#main-navigation ul ul {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%; /* Position below parent */
  left: 0;
  background-color: #444;
  min-width: 200px; /* Give submenu some width */
  z-index: 1000;
  flex-direction: column; /* Stack submenu items vertically */
}

#main-navigation ul li:hover > ul,
#main-navigation ul li.active > ul { /* Show on hover or if active class is present (for JS click) */
  display: block;
}

#main-navigation ul ul li a {
  padding: 10px 15px;
  color: #eee;
}

#main-navigation ul ul li a:hover {
  background-color: #666;
}


/* Header Section (Welcome text and logo) */
.main-header {
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  position: relative; /* For logo positioning if needed */
}
.main-header ul { /* Styling the odd ul wrapping h1/p */
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.main-header h1 {
  color: #2c3e50;
  margin-top: 0;
}
.main-header p {
  font-size: 1.1em;
  color: #555;
}
.main-header .site-logo {
  display: block;
  margin: 10px auto; /* Center logo */
}

/* Awards Section */
#awards-section {
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
  background-color: #e9e9e9;
  border-radius: 5px;
}

.awards-controls {
  margin-bottom: 15px;
}

.awards-controls a {
  display: inline-block;
  padding: 5px 10px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  margin: 0 5px;
  cursor: pointer;
  user-select: none; /* Prevent text selection on click */
}
.awards-controls a:hover {
  background-color: #555;
}
.awards-controls a img { /* Style for the pause/play image button */
    vertical-align: middle;
}


.awards-slider {
  position: relative;
  height: 80px; /* Adjust based on max height of award images */
  display: flex;
  justify-content: center;
  align-items: center;
}

.award-slide {
  display: none; /* Hide all slides by default */
  margin: 0 10px; /* Spacing between potential multiple visible items if desired */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.award-slide.active {
  display: inline-block; /* Show active slide */
  opacity: 1;
}
.award-slide img {
  max-width: 100%;
  max-height: 70px; /* Consistent height */
  vertical-align: middle;
}


/* Footer */
.site-footer {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  border-top: 1px solid #eee;
  font-size: 0.9em;
  color: #666;
}
.site-footer p {
    margin-bottom: 15px;
}
.site-footer a {
  color: #007bff;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer strong {
    color: #333;
}
.social-and-partners img {
  margin: 0 10px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.social-and-partners img:hover {
  opacity: 1;
}

/* Utility for JS */
.hidden {
  display: none !important;
}