body {
  font-family: 'Merriweather', serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

.color-section {
  width: 100%;
  background-color: #00172d;
  background-image: url('/static/images/texture.png');
  background-size: cover;
  background-blend-mode: overlay;
  position: relative;
  margin-top: 20px;
  padding: 200px 0;
  clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
}
@media (max-width: 768px) {
  .color-section {
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    padding: 100px 0px;
  }

  .color-section h2,
  .color-section p {
    text-align: center;
    margin: 0 auto;
  }
}

body::-webkit-scrollbar { 
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb {
  background: #002c58;
  border-radius: 10px;
  border: 2px solid #f4f4f4;
}

body::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

.navbar {
  margin-bottom: 20px;
  background-color: #002c58;
  opacity: 1;
  transition: background-color 0.3s ease;
  padding-left: 15px;
}

.navbar-collapse {
  background-color: #002c58;
  opacity: 1;
}

.navbar-toggler {
  background-color: #002c58;
  border: none;
}

.custom-nav {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0.9;
  background-color: #002c58;
  width: 100%;
  z-index: 1000;
  transition: top 0.5s ease;
  height: 60px;
}

.navbar-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 150px;
  background-size: cover;
  opacity: 0.8;
}

.navbar-brand img {
  height: 80px;
  width: auto;
  display: flex;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 0;
  padding-left: 10px;
  color: white;
  font-size: 1.15rem;
  font-weight: bold;
  text-align: left;
}

.navbar-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.navbar-nav .nav-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.navbar-nav .nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background-color: white;
  opacity: 0.5;
}

.navbar-nav .nav-link {
  color: white;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 0;
  transition: color 0.3s ease;
  text-decoration: none;
}

.navbar-nav .nav-link.active {
  width: fit-content;
  margin: 0 auto;
  border-bottom: 2px solid #940000;
}

.dropdown-menu {
  background-color: #002c58;
  border: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 10px 15px;
  width: auto;
  min-width: 150px;
  z-index: 1050;
}

.dropdown-item {
  color: #ffffff;
  text-align: center;
  display: block;
  padding: 12px 0;
  font-size: 0.9rem;
  opacity: 0.9;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
  background-color: #940000;
  color: #ffffff;
}

.hero-section {
  background-position: bottom;
  position: relative;
  height: 800px !important;
  background-size: cover;
  margin-top: 0;
}

.hero-section:hover .hero-title {
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 61, 134, 0.527) !important;
  z-index: 10;
}

.hero-container {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  border-left: 7px solid white;
  border-right: 7px solid white;
  opacity: 0.8;
  padding: 30px 60px;
  width: 80%;
  max-width: 600px;
  min-width: 300px;
  border-radius: 0px;
  box-sizing: border-box;
  z-index: 20;
  transition: padding 0.3 ease;
}

.hero-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  font-weight: bold;
  color: rgb(255, 255, 255);
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
  margin: 0;
  z-index: 30;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

main {
  position: relative;
  z-index: 1;
  padding-top: 300px;
}

.hero-logo {
  position: absolute;
  top: 60%;
  left: 10px;
  transform: translateY(-50%);
  max-width: 150px;
  height: auto;
  z-index: 20;
  opacity: 1;
}

.hero-logo-left,
.hero-logo-right {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  height: auto;
  z-index: 20;
  opacity: 0.9;
}

.hero-logo-left {
  left: 100px;
  top: 50%;
  max-width: 200px;
  transform: scale(1.5);
  transform: translateY(-50%);
}

.hero-logo-right {
  right: 100px;
  top: 50%;
  max-width: 290px;
  transform: translateY(-50%);
}

@media (max-width: 1024px) {
  .hero-logo-left,
  .hero-logo-right {
    max-width: 100px;
  }
}

@media (max-width: 768px) {
  .hero-logo-left,
  .hero-logo-right {
    max-width: 80px;
  }
}

@media (max-width: 768px) {
  .hero-logo-left,
  .hero-logo-right {
    display: none;
  }
}

.footer {
  background-color: #222;
  color: #fff;
  padding: 50px 0;
  font-size: 18px;
  text-align: center;
  position: relative;
  width: 100% !important;
  margin: 0;
}

.footer a {
  color: #bbb;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

.footer a:hover {
  color: #fff;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(5%, 0%);
    width: 90%;
    background-color: #002c58;
    z-index: 1050;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .header-title {
    display: none;
  }
}
@media (max-width: 768px) {
  .hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.hero-logo-top-right {
  position: absolute;
  top: 20px;
  right: 20px;
  height: 80px;
  width: auto;
  z-index: 10;
}

.short-title {
  display: none;
}

@media (max-width: 768px) {
  .full-title {
    display: none;
  }
  .short-title {
    display: inline;
  }
}
