/* Base styles */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}


body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}



/* Headings */
h1 {
  font-size: 2.5em;
  margin-top: 0;
  color: #0d224d;
}


h2 {
  font-size: 2em;
  margin-top: 0;
  color: #0d224d;
}

h3 {
  font-size: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 0;
  color: #0d224d;
}

h4 {
  font-size: 1.2em;
  margin-top: 1em;
  color: #333;
}

h2 + p, h3 + p { margin-top: 5px}




/* Links */
a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}





/* Layout */
.container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 20%;
  max-width:300px;
  background-color: #0d224d;
  padding: 2rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: inset -1px 0 0 #ccc;
}



.logo {
	display: block;
	width: 100%;
	max-width:250px;
    margin: 0px auto;
	text-align:center;
}

.menu { list-style: none; padding: 0; }
.menu li { margin-bottom: 1rem; }
.menu a {
  padding: 10px 0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 1rem; 

}

.menu a:hover, .menu a.active {
  color: #d6c089;
  text-decoration: none;
}


.menu a::after {
    content: '›';
    font-size: 2.5rem;
    margin-left: 7px;
    color: #d6c089;
    transition: margin-left 0.2s ease;
    display: inline-block;
    vertical-align: middle;
    margin-top: -6px;
	line-height: 1em;
}

.menu a:hover::after {
	margin-left: 14px;
}




/* Content */
.content {
  width: 80%;
  padding: 2rem;
  background-color: #fff;
}

.content > * {max-width: 900px}
section + hr {margin:60px 0}









/* Main wrapper to control layout */
.home-page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Centering content */
.home-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d224d; 
  text-align: center;
}

.home-img img {
  max-width: 100%;
  height: auto;
  max-height: 60vh; 
}






/* Footer */
.footer {
  background-color: #0d224d;
  color: #d6c089;
  text-align: left;
  padding: 1rem;
  font-size: 13px;
  line-height: 140%;
}

.footer a {
  color: #d6c089;
  text-decoration: underline;
}


.footer a:hover {
  color: #fff;
  text-decoration: underline;
}



.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
}

.footer-left {
  flex: 1 1 60%;
  min-width: 200px;
}

.footer-right {
  display: flex;
  gap: 1rem;
  flex: 1 1 40%;
  justify-content: flex-end;
  min-width: 150px;
}

.footer-badge {
  height: 60px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.footer-badge:hover {
  filter: brightness(0) invert(0.5); 
  opacity: 0.8;
}






@media screen and (min-width: 769px) {

	.footer {
		position: fixed;
		bottom: 0;
		width: calc(100% - 2rem);
	}
}


@media screen and (max-width: 768px) {

  .container {
    flex-direction: column;
	width:100%;
  }

  .content {width:auto;}

  .sidebar {
    width: 100%;
	max-width:100%;
    height: auto;
    position: relative;
    top: auto;
    box-shadow: none;
    padding: 0;
    border-bottom: 1px solid #ccc;
  }

  .menu {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0;
        list-style: none;
        max-width: 90%;
        justify-content: center;
  }

  .menu li {
    margin-bottom: 0;
  }

  .menu a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }


  .footer-right, .footer-left {flex-basis: 100%;}
  .footer-left {margin-bottom: 30px;}
  .footer-right {justify-content: center;}


}


