/* =========================
   GENERAL RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================
   BODY AND TEXT
========================= */
body {
    text-align: center;
    background-color: #00468b; /* light blue background for dark text */
    color: #0d1b33; /* all text dark */
    line-height: 1.6;
    font-size: 16px;
    padding: 10px;
}

/* =========================
   HEADINGS
========================= */
h1, h2, h3, h4 {
    margin-bottom: 10px;
    line-height: 1.2;
    color: #0d1b33; /* dark headings */
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* =========================
   LINKS
========================= */
a {
    color: #0055aa; /* readable blue links */
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: #003366;
    text-decoration: underline;
}

/* =========================
   HEADER & NAVIGATION
========================= */
.site-header img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.nav-bar {
    background: #003366;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-bar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

.nav-bar ul li {
    margin: 5px 10px;
}

.nav-bar ul li a {
    color: #ffffff;
    padding: 10px 18px;
    display: block;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
}

.nav-bar ul li a:hover {
    background: #0055aa;
    transform: scale(1.05);
}

/* =========================
   CONTAINER & COLUMNS
========================= */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.side-col {
    flex: 1 1 300px;
    max-width: 350px;
    background: #dddddd; /* grey column */
    color: #0d1b33; /* dark text */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.side-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.center-col {
    flex: 2 1 600px;
    max-width: 800px;
    background: #dddddd;
    color: #0d1b33;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: 500;
}

/* =========================
   AWARD CARDS
========================= */
.award-card {
    margin-bottom: 25px;
    padding: 15px;
    background: #eeeeee;
    border-left: 6px solid #0077cc;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #0d1b33;
    font-weight: 500;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.award-image img {
    max-width: 100%;
    height: auto;
    margin: 10px auto;
    border-radius: 8px;
    border: 2px solid #0077cc;
}

.award-name h2,
.award-points h3,
.award-date h3,
.award-location h3 {
    margin: 5px 0;
    color: #0d1b33;
}

/* =========================
   TABLES
========================= */
table.top-ten {
    width: 100%;
    border-collapse: collapse;
    margin: 10px auto;
    text-align: center;
    background: #eeeeee;
    border-radius: 8px;
    overflow: hidden;
}

table.top-ten td {
    border-bottom: 1px solid #ccc;
    padding: 10px 5px;
    color: #0d1b33;
    font-weight: 500;
}

table.top-ten tr:nth-child(even) {
    background: #dddddd;
}

table.top-ten tr:hover {
    background: #cccccc;
}

/* =========================
   IMAGES
========================= */
img {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    height: auto;
}

/* =========================
   OFFICER ROWS
========================= */
.officer-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.officer-row img {
    width: 180px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.officer-row img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* =========================
   SUPPORTERS
========================= */
.supporters-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.supporters-logos img {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.supporters-logos img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* =========================
   PARAGRAPH READABILITY
========================= */
p {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    text-align: center;
    color: #0d1b33; /* all text dark */
}

/* =========================
   SECTION SPACING
========================= */
section {
    margin-bottom: 30px;
}

/* =========================
   NAVIGATION MENU
========================= */
#top-nav {
  text-align: center;
  background-color: #2c3e50;
  padding: 0;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

#top-nav ul.menu {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

#top-nav ul.menu > li {
  position: relative;
  margin: 0 5px;
}

#top-nav ul.menu > li > a {
  display: block;
  padding: 12px 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

#top-nav ul.menu > li:hover > a {
  background-color: #34495e;
}

ul.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #34495e;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 180px;
  z-index: 1000;
}

ul.submenu li a {
  display: block;
  padding: 10px 16px;
  color: white;
  text-decoration: none;
}

ul.submenu li a:hover {
  background-color: #1abc9c;
}

#top-nav li:hover > ul.submenu {
  display: block;
}

ul.submenu li { position: relative; }

ul.submenu li ul.submenu {
  top: 0;
  left: 100%;
}

@media (max-width: 768px) {
  #top-nav ul.menu { display: block; }
  #top-nav ul.menu > li { display: block; margin: 0; }
  ul.submenu { position: relative; left: 0; top: 0; }
}

