:root {
      --header-bg: #0B3D91;
      --header-fg: #fff;
      --nav-bg: #0B3D91;
      --nav-hover: #91989C;
      --top-bg: #2B5FA8;
      --page-bg: #1B2A4B;
      --card-bg: #ffffff;
    }

/*
:root {
      --header-bg: #222;
      --header-fg: #fff;
      --nav-bg: #222;
      --nav-hover: #333;
      --page-bg: #363737;
      --card-bg: #ffffff;
    }
*/

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: var(--page-bg);
      color: #111;
      font-size: 16px;
      line-height: 1.5;
    }
    /* Overall container */
main {
  max-width: 1200px;   /* maximum width */
  margin: 0 auto;      /* center horizontally */
  padding: 0 0.2rem;     /* optional side padding */
  box-sizing: border-box;
}

	header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--header-bg);
    color: var(--header-fg);
    }

    .logo {
      font-weight: bold;
      font-size: 1.6rem;
      text-align: center;
      margin-bottom: 0.5rem;
      
      /* Add square image */
  background: url("/logo.png") no-repeat left center;
  background-size: 24px 24px;  /* control size */
  padding-left: 32px;          /* leave space for image */
    }
    
    .logo a {
    text-decoration: none;
    color:white;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: 0;
      color: var(--header-fg);
      font-size: 1.8rem;
      cursor: pointer;
    }

    nav {
      width: 100%;
    }

    nav .menu {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.25rem;
    }

    nav .menu li {
      position: relative;
    }

    nav a {
      display: block;
      padding: 0.7rem 1rem;
      color: var(--header-fg);
      text-decoration: none;
      font-size: 1rem;
    }

    nav a:hover {
      background: var(--nav-hover);
    }

    /* Submenus */
    .sub-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: var(--nav-bg);
      min-width: 220px;
      flex-direction: column;
      z-index: 1000;
    }

    .sub-menu a {
      padding: 0.65rem 1rem;
    }

    .sub-menu .sub-menu {
      top: 0;
      left: 100%;
    }

    /* Arrows */
    .has-children > a::after {
      content: " ▼";
      font-size: 0.75em;
    }

    .sub-menu .has-children > a::after {
      content: " ►";
      font-size: 0.75em;
    }

    /* Show submenu when open (works for both touch + desktop JS) */
    .has-children.open > .sub-menu {
      display: flex;
      flex-direction: column;
    }
/* ---------- Desktop Dropdown Animation ---------- */
nav .sub-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

nav .has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
    /* ---------- Mobile Styles ---------- */
@media (max-width: 768px) {
  body {
    font-size: 18px;
  }

  h2 {
    font-size: 1.4rem;
  }

  .logo {
    font-size: 2rem;
  }

  nav a {
    font-size: 1.2rem;
    padding: 0.9rem 1.2rem;
  }

  .menu-toggle {
    display: block;
    align-self: flex-end;
    margin-bottom: 0.5rem;
  }

  nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    width: 100%;
  }

  nav.show-nav {
    max-height: 1000px; /* large enough for menu */
  }

  nav .menu {
    flex-direction: column;
    align-items: stretch;
  }

  nav .menu li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Submenu with animation */
  .sub-menu {
    position: static;
    background: rgba(0, 0, 0, 0.05);
    box-shadow: none;
    padding-left: 1rem;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    flex-direction: column;
  }

  .sub-menu a {
    font-size: 1.2rem;
    padding: 1rem 1.2rem;
  }

  .sub-menu li + li {
    margin-top: 0.25rem;
  }

  .has-children.open > .sub-menu {
    max-height: 600px; /* adjust to fit submenu */
  }

  /* Arrows */
  .has-children > a::after {
    content: " ▸";
    transition: transform 0.3s ease;
  }
  .has-children.open > a::after {
    content: " ▾";
  }
}

    /* ---------- Page Layout ---------- */
    .top-section,
    .one-column {
      background: var(--top-bg);
      padding: 1.5rem;
      text-align: center;
      margin: 1rem;
      border-radius: 8px;
      box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    }
    
     .top-section,
    .one-column, h1 {
      font-size: 1.8rem;
      font-weight: bold;
      margin: 0.5rem 0 1rem;
      text-align: left;
      color: #fff;
    }
    
    .top-section,
    .one-column, p .slogan {
      font-size: 1.5rem;
      font-weight: bold;
      margin: 0.5rem 0 1rem;
      text-align: left;
      color: #fff;
    }
    
    .top-section,
    .one-column table {
    background: #FFFFFF;
    color: #000;
    }
    
    .bottom-section {
      background: var(--card-bg);
      padding: 1.5rem;
      text-align: center;
      margin: 1rem;
      border-radius: 8px;
      box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    }
    
/* ---------- Column Layouts ---------- */

.two-columns,
.three-columns {
  display: grid;
  gap: 1rem;
  margin: 0rem;
  color:#fff;
}

/* Equal-width columns */
.two-columns {
  grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
}

.three-columns {
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
}

/* Column box styling */
.two-columns > section  {
  background: var(--card-bg);
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  color:#000;
}

.three-columns > section {
  background: var(--page-bg);
  padding: 0px;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  color:#fff;
  text-align: center;
}

/* Make images fill column width */
.one-column img,
.two-columns img,
.three-columns img {
  width: 100%;  /* scale image to full column width */
  height: auto; /* keep aspect ratio */
  display: block;
}

.three-columns h2 {
font-size: 1.3rem;
padding: 0.2rem;
}

.three-columns p {
font-size: 0.9rem;
padding: 0.2rem;
}

/* Hidden by default */
.mobile-only {
  display: none;
}

/* Show only on smartphones */
@media (max-width: 600px) {
  .mobile-only {
    display: block;   /* single column */
    margin: 1rem;
  }

  .mobile-only > section {
    background: var(--card-bg);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem; /* spacing between sections */
  }

  .mobile-only img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* Visible by default */
.desktop-only {
  display: block;
}

/* Hide only on smartphones */
@media (max-width: 600px) {
  .desktop-only {
    display: none;
  }
  .desktop-only img {
  width: 100%;  /* scale image to full column width */
  height: auto; /* keep aspect ratio */
  display: block;
	}
}

    /* Desktop / default: show full 16:9 */
    .video-wrapper {
      position: relative;
      width: 100%;
      padding-top: 56.25%; /* 16:9 aspect ratio */
      overflow: hidden;
      margin: 1rem 0;
    }

    .video-wrapper video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    @media (max-width: 768px) {
      .top-section,
      .one-column, h1 {
        font-size: 1.4rem;
      }
      
      .top-section,
      .one-column, p .slogan {
        font-size: 1rem;
      }
      /* Mobile: crop to 1:1 square from center */
      .video-wrapper {
        padding-top: 100%; /* 1:1 square */
      }
      .video-wrapper video {
        top: 50%;
        left: 50%;
        width: auto;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%);
        object-fit: cover;
      }
      .two-columns,
      .three-columns {
        grid-template-columns: 1fr;
      }
      .three-columns h2 {
		font-size: 1.2rem;
		}

		.three-columns p {
		font-size: 1.0rem;
		}
    }
    
    footer {
  padding: 1rem;
  background: var(--page-bg);
  color: #fff;
  text-align: center;
}

.print-button-d {
      background-color: #FF474D;      /* Red background */
      color: white;               /* White text */
      padding: 10px 20px;         /* Spacing */
      border: none;               /* Remove default border */
      border-radius: 6px;         /* Rounded corners */
      cursor: pointer;            /* Pointer on hover */
      font-size: 16px;            /* Text size */
    }

.print-button-d:hover {
      background-color: #930005;  /* Darker red on hover */
    }

.print-button-u {
      background-color: #80EF80;      /* Red background */
      color: white;               /* White text */
      padding: 10px 20px;         /* Spacing */
      border: none;               /* Remove default border */
      border-radius: 6px;         /* Rounded corners */
      cursor: pointer;            /* Pointer on hover */
      font-size: 16px;            /* Text size */
    }

.print-button-u:hover {
      background-color: #108210;  /* Darker red on hover */
    }
    

