@font-face {
  font-family: "Eliot Lord";
  src: url(Fonts/Eliothand-Regular.otf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body::-webkit-scrollbar {
  width: 1em round;
  overflow: scroll;
  background-color: #fff;
}
body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px #fff;
}
body::-webkit-scrollbar-thumb {
  background-color: #1e4cad;
  outline: #1e4cad solid 1px;
}
body::-webkit-scrollbar-thumb:hover {
  cursor: url("img/background/Pointer.svg");
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #e8e8e8;
  color: #333;
  cursor: url(img/background/cursors/Cursor.svg), auto;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
}

a,
button,
.hamburger {
  cursor: url(img/background/Pointer.svg), pointer !important;
}

img {
  -webkit-user-drag: none;
}

a:hover,
button:hover,
.hamburger:hover {
  cursor: url(img/background/Pointer.svg), pointer !important;
}

/* Main container */
.page-container {
  max-width: 1004px;
  margin: 0 auto;
  background-color: #fff;
}

/* Top Bar */
.top-bar {
  background: white;
  padding: 6px 0;
  font-size: 11px;
  color: black;
}

.top-bar-content {
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-bar-left a {
  color: black;
  text-decoration: none;
  font-size: 11px;
}

.top-bar-left a:hover {
  text-decoration: underline;
}

.top-bar-right {
  color: black;
  font-size: 11px;
}

/* Header */
header {
  background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
  border-bottom: 3px solid #1e4cad;
  padding: 15px 0 10px 0;
}

.header-content {
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section img {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-bottom: 5px;
}

.logo-section .home-updated {
  font-size: 10px;
  font-family: Arial, sans-serif;
  font-weight: normal;
  margin-top: 4px;
  color: #666;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.subscribe-btn {
  background: linear-gradient(to bottom, #1e5ba8 0%, #165295 100%);
  color: white;
  padding: 8px 18px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  border: 1px solid #0d4a85;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.subscribe-btn:hover {
  background: linear-gradient(to bottom, #165295 0%, #0d4a85 100%);
}

.mail-plus {
  font-style: italic;
}

/* Primary Navigation */
.primary-nav {
  background: #ffffff;
  border-bottom: 1px solid #d0d0d0;
}

.primary-nav-content {
  display: flex;
  padding: 0;
  overflow-x: auto;
}

.primary-nav a {
  color: #000;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  transition: all 0.2s;
  white-space: nowrap;
  border-right: 1px solid #e0e0e0;
}

.primary-nav a:nth-child(1):hover {
  color: #1976d2;
}

.primary-nav a:nth-child(2):hover {
  color: #c2185b;
}

.primary-nav a:nth-child(3):hover {
  color: #7b1fa2;
}

.primary-nav a:nth-child(4):hover {
  color: #388e3c;
}

.primary-nav a:nth-child(5):hover {
  color: #f57c00;
}

.primary-nav a:nth-child(6):hover {
  color: #e91e63;
}

.primary-nav a:nth-child(7):hover {
  color: #f9a825;
}

.primary-nav a:nth-child(8):hover {
  color: #00897b;
}

.primary-nav a:nth-child(9):hover {
  color: #3949ab;
}

.primary-nav a:nth-child(10):hover {
  color: #0277bd;
}

.primary-nav a:nth-child(11):hover {
  color: #5e35b1;
}

.primary-nav a:nth-child(12):hover {
  color: #ff6f00;
}

.primary-nav a:nth-child(13):hover {
  color: #d32f2f;
}

.primary-nav a.active {
  background: #1e4cad;
  color: white;
  border-right: 1px solid #0d4a85;
}

/* Secondary Navigation */
.secondary-nav {
  background: #1e4cad;
  border-bottom: 2px solid #0d4a85;
}

.secondary-nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 32px;
}

.secondary-nav-links {
  display: flex;
  overflow-x: auto;
  flex: 1;
}

.secondary-nav a {
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.2s;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.login-btn {
  background-color: white;
  color: #0d5aa8;
  padding: 5px 16px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  margin-right: 10px;
  white-space: nowrap;
}

.login-btn:hover {
  background-color: #f0f0f0;
}

/* Main Content */
.main-content {
  margin: 15px 0;
  padding: 0 10px;
}

.content-box {
  background-color: #fff;
  padding: 25px;
  margin-bottom: 15px;
  font-family: "Eliot Lord", Arial, sans-serif;
  font-size: 2dvw;
  line-height: 1.7;
}

.content-box i {
  display: block;
  margin: 20px 30px;
  padding: 18px;
  background-color: #f7f7f7;
  border-left: 3px solid #0d5aa8;
  font-size: 2.5dvw;
  color: #555;
  font-style: italic;
}

.content-box img {
  display: block;
  margin: 20px auto;
}

.cta-box {
  background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
  border: 2px solid #0d5aa8;
  padding: 20px;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cta-box a {
  color: #0d5aa8;
  text-decoration: none;
  font-weight: bold;
}

.cta-box a:hover {
  text-decoration: underline;
}

/* Back to Top */
.back-to-top {
  background: linear-gradient(to bottom, #1e5ba8 0%, #165295 100%);
  color: white;
  padding: 10px 25px;
  border: 1px solid #0d4a85;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: block;
  margin: 20px auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
  background: linear-gradient(to bottom, #165295 0%, #0d4a85 100%);
}

/* Footer Navigation */
.footer-nav {
  background-color: #f5f5f5;
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
  padding: 12px 0;
}

.footer-nav-content {
  padding: 0 10px;
  text-align: center;
}

.footer-nav a {
  color: #000;
  text-decoration: none;
  padding: 0 10px;
  font-size: 12px;
  font-weight: bold;
  border-right: 1px solid #bbb;
  display: inline;
}

.footer-nav a:last-child {
  border-right: none;
}

.footer-nav a:hover {
  color: #0d5aa8;
  text-decoration: underline;
}

/* Footer Links */
.footer-links {
  background-color: #fff;
  padding: 15px 0;
}

.footer-links-content {
  padding: 0 10px;
  text-align: center;
  font-size: 11px;
}

.footer-links a {
  color: #0d5aa8;
  text-decoration: none;
  padding: 0 6px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
  background-color: #f5f5f5;
  padding: 20px 0;
  text-align: center;
  font-size: 11px;
  color: #666;
  border-top: 1px solid #d0d0d0;
}

.footer-bottom-content {
  padding: 0 10px;
}

.footer-company {
  margin-bottom: 8px;
  font-weight: bold;
  color: #000;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: white;
  margin: 5px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -5px);
}

/* Side Panel */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.overlay.active {
  display: block;
}

.side-panel {
  position: fixed;
  right: -100%;
  top: 0;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background-color: #1a1a1a;
  z-index: 1000;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.side-panel.active {
  right: 0;
}

.side-panel-header {
  padding: 15px;
  background: linear-gradient(to bottom, #1e5ba8 0%, #165295 100%);
  color: white;
  font-size: 13px;
  font-weight: bold;
}

.side-panel-menu {
  list-style: none;
}

.side-panel-menu li {
  border-bottom: 1px solid #2a2a2a;
}

.side-panel-menu a {
  color: white;
  text-decoration: none;
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.side-panel-menu a:hover {
  background-color: #2a2a2a;
}

.side-panel-menu a.highlighted {
  background: linear-gradient(to right, #1e5ba8 0%, #165295 100%);
  font-weight: bold;
}

.side-panel-menu .arrow {
  color: #888;
}

/* Responsive */
@media (max-width: 1004px) {
  .page-container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .logo-section img {
    max-width: 300px;
  }

  .header-right {
    gap: 6px;
  }

  .subscribe-btn {
    font-size: 11px;
    padding: 6px 14px;
  }

  .content-box {
    padding: 18px;
    font-size: 16px;
  }

  .content-box i {
    margin: 15px 15px;
    padding: 15px;
  }
}

@media (max-width: 700px) {
  .primary-nav-content a:not(.active),
  .secondary-nav-links a {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .secondary-nav-content {
    justify-content: flex-end;
  }

  .login-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .top-bar-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .logo-section img {
    max-width: 250px;
  }

  .side-panel {
    width: 100%;
    max-width: 100%;
  }

  .primary-nav a {
    font-size: 12px;
    padding: 9px 13px;
  }
}

#date {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}
