/* General Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Poppins, sans-serif;
  background-color: rgb(240, 237, 237);
}

#main {
  width: 100%;
  height: auto;
  position: relative;
}

nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: rgb(248, 216, 216);
  box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.02);
  z-index: 1;
  border-bottom-style: solid;
  border-bottom-color: #ca5e5e;
  padding: 0 20px;
}

.logo {
  margin-right: 20px;
}

.logo img {
  height: 65px;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  height: 24px;
  cursor: pointer;
  margin-left: auto;
}

.burger-menu .line {
  width: 30px;
  height: 3px;
  background-color: #ca5e5e;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-right: 20px;
}

.menu li a {
  height: 40px;
  line-height: 40px;
  margin: 2px;
  padding: 0px 15px;
  display: flex;
  font-size: 0.7em;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  color: #ca5e5e;
}

.menu li a.active,
.menu li a:hover {
  background-color: #ca5e5e;
  color: white;
  box-shadow: 5px 10px 30px rgba(24, 139, 119, 0.2);
  transition: all ease 0.2s;
}

a {
  text-decoration: none;
}

.image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-left: 20px;
  margin-right: 20px;
}

.image img {
  max-height: 100%;
  max-width: calc(100% - 60px); /* Considering space for navigation buttons */
  height: auto;
  width: auto;
  object-fit: contain;
}

.icon {
  width: 50px;
  height: 50px;
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-container {
  display: flex;
  justify-content: center;
}

.main-content {
  width: 90%; /* Use full width */
  padding: 20px;
  padding-top: 120px;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #ca5e5e;
  padding-bottom: 20px;
}

.main-text,
.image {
  flex: 1;
}

.main-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px 0 20px;
  text-align: left;
}

.main-text h1 {
  font-size: 2em;
  color: #1c3548;
  margin: 0 0 10px;
  line-height: 1.2;
  display: flex;
  flex-direction: column; /* Change to column for date on top */
  justify-content: space-between;
}

.main-text h1 span {
  font-size: 0.7em;
  color: #1c3548;
  align-self: flex-end;
}

.main-text p {
  color: black;
  text-align: justify;
}

.updates-btn {
  width: 190px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: #ca5e5e;
  border-radius: 20px;
  box-shadow: 5px 10px 30px rgba(24, 139, 119, 0.2);
  text-decoration: none;
}

.updates-btn:hover {
  background-color: #e68383;
  transition: all ease 0.2s;
}

.menu li a:hover {
  background-color: #ca5e5e;
  color: white;
  box-shadow: 5px 10px 30px rgba(24, 139, 119, 0.2);
  transition: all ease 0.2s;
}

.alternate {
  flex-direction: row-reverse;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(240, 237, 237);
  color: #ca5e5e;
  border: none;
  font-size: 2em;
  cursor: pointer;
}

.nav-btn.left {
  left: 0;
  margin-left: -30px;
}

.nav-btn.right {
  right: 0;
  margin-right: -30px;
}

/* Simple page specific styles */
.simple .main-container {
  display: flex;
  justify-content: center;
}

.simple .main-content {
  width: 60%;
  text-align: center;
  display: flex;
  justify-content: space-between;
}

.simple .centered-text {
  width: 70%;
}

.simple .main-text,
.simple .centered-text {
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.simple .main-text h1,
.simple .main-text p,
.simple .centered-text h1,
.simple .centered-text p {
  text-align: center;
}

.simple .quote-image {
  width: 36%;
  margin-left: 20px;
}

.simple .quote-image img {
  width: 100%;
  height: auto;
}

.simple .logo-gallery {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.simple .logo-gallery .smallimage img {
  width: 30%; /* Adjusted size */
  height: auto;
}

.smallimage.simple {
  width: 30%; /* Ensure the image is smaller */
  height: auto;
}

.pdf-icon {
  width: 50px;
  height: auto;
  margin: 10px 0; /* Add some margin */
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
  .menu li {
    margin-right: 10px;
  }

  .main-text,
  .image {
    width: 100%;
    margin-bottom: 20px;
  }

  .content {
    flex-direction: column;
  }

  .main-content {
    padding-top: 100px;
  }

  .simple .main-content {
    width: 80%;
  }
}

@media (max-width: 925px) {
  .burger-menu {
    display: flex;
  }

  .menu {
    display: none; /* Hide menu items */
  }

  .menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: rgb(248, 216, 216);
  }
}

@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  nav {
    flex-direction: row;
    height: auto;
    padding: 10px 20px;
  }

  .logo {
    margin-right: 10px;
  }

  .menu {
    flex-direction: column;
    display: none; /* Hide menu items */
  }

  .menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: rgb(248, 216, 216);
  }

  .menu li {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .main-text h1 {
    font-size: 1.5em;
    flex-direction: column;
  }

  .main-text h1 span {
    margin-top: 5px;
  }

  .main-content {
    padding-top: 150px;
  }

  .banner {
    width: 100%;
    height: auto;
  }

  .simple .main-content {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .updates-btn {
    width: 100%;
    height: auto;
    padding: 10px;
  }

  .simple .main-content {
    flex-direction: column;
  }

  .simple .quote-image {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
  }

  .simple .quote-image img {
    width: 50%;
  }
}
