/* Reset default margin and padding */
body,
h1,
p {
  margin: 0;
  padding: 0;
}

a {
  background-color: transparent;
}

ul {
  list-style: disc;
}

/* Header styles */
header {
  background-color: white;
  padding: 20px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon {
  width: 9%;
  height: auto;
  margin-left: auto;
  margin-right: 60px;
}

header p {
  font-style: italic;
  font-size: 24px;
  margin-left: 10px;
  color: RGB(24, 150, 228);
  font-weight: bold;
}

/* Hero message styles */
.hero-message {
  text-align: center;
  background-color: #f5f5f5;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-message h1 {
  color: #333;
  font-size: 32px;
  margin-bottom: 10px;
}

.hero-message h3 {
  color: #777;
  font-size: 24px;
  margin-bottom: 20px;
}

.hero-message p {
  color: #555;
  font-size: 18px;
  line-height: 1.5;
}

.hero-message div:first-child {
  margin: 10vh 0;
}

/* Img styles */
img {
  border-style: none;
}

/* Logo */
.logo {
  width: 200px;
  max-width: 100%;
  height: auto;
}

/* CSS for the image section */
.image-section {
  position: relative;
  width: 100%;
  height: 60vh;
}

.image-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-section .image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-size: 24px;
  z-index: 1;
  text-shadow: 2px 2px 4px #000;
}

/* Mission statement styles */
.mission {
  background-color: #e1e1e1;
  padding: 50px;
}

.mission-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

.mission-text {
  flex-basis: 50%;
  margin-top: -50px;
  margin-left: -20%;
  background-color: #f5f5f5;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.mission-text h2 {
  color: #333;
  font-size: 32px;
  margin-bottom: 10px;
}

.mission-text h3 {
  color: #777;
  font-size: 24px;
  margin-bottom: 20px;
}

.mission-text p {
  color: #555;
  font-size: 18px;
  line-height: 1.5;
}

.security-img {
  width: 100%;
  height: auto;
  display: block;
  margin-right: -20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mission-image {
  flex: 0 0 50%;
}

.mission-text h2,
.mission-text h3,
.mission-text p {
  margin-top: 0;
}

/* Grid Styles*/
.grid-section {
  background-color: #f2f2f2;
  padding: 50px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}

.grid-item {
  position: relative;
  background-color: #fff;
}

.blue-square {
  background-color: RGB(28, 161, 241);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.grid-item-content {
  position: absolute;
  top: 30%;
  left: 40%;
  transform: translate(-30%, -20%);
  line-height: 1.6em;
  font-size: 16px;
}

.grid-item img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.grid-item h2,
.grid-item p {
  margin: 0;
  padding: 10px;
}

/* Career statement styles */
.career {
  background-color: #e1e1e1;
  padding: 50px;
}

.career-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

.career-text {
  flex-basis: 50%;
  margin-top: -50px;
  margin-right: -20%;
  background-color: #f5f5f5;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.career-text h2 {
  color: #333;
  font-size: 32px;
  margin-bottom: 10px;
}

.career-text h3 {
  color: #777;
  font-size: 24px;
  margin-bottom: 20px;
}

.career-text p {
  color: #555;
  font-size: 18px;
  line-height: 1.5;
}

.career-img {
  width: 100%;
  height: auto;
  display: block;
  margin-right: -20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.career-image {
  flex: 0 0 50%;
}

.career-text h2,
.career-text h3,
.career-text p {
  margin-top: 0;
}

/* Footer styles */
footer {
  background-color: rgb(84, 74, 218);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

footer .content-wrapper {
  max-width: 82em;
  margin: 0 auto;
  padding: 0 20px;
}

footer p {
  margin-top: 40px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  text-align: center;
}

.footer-logo img {
  margin-right: 10px;
}

.footer-logo p {
  font-style: italic;
  font-size: 20px;
  margin-left: 10px;
  margin-bottom: 30px;
  font-weight: bolder;
}

.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-info .ftr-codes {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer-info .ftr-codes li {
  margin-bottom: 0.5rem;
}

.footer-info .ftr-codes li:last-child {
  margin-bottom: 0;
}

footer .left-col .ftr-codes li:last-child {
  margin-bottom: 1rem;
}

/* Media Queries for Mobile Devices */

@media only screen and (max-width: 768px) {
  /* Header styles */
  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .icon {
    width: 30%;
    margin: 0 auto 20px;
  }

  header p {
    font-size: 18px;
  }

  /* Hero message styles */
  .hero-message {
    padding: 30px;
  }

  .hero-message h1 {
    font-size: 24px;
  }

  .hero-message h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .hero-message p {
    font-size: 16px;
  }

  .image-section img {
    position: static;
    width: 100%;
    height: 60vh;
    object-fit: cover;
  }
  

  .image-section .image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    font-size: 18px;
    z-index: 1;
    text-shadow: 2px 2px 4px #000;
    width: 80%;
  }


  /* Mission statement styles */
  .mission-content {
    flex-direction: column;
    align-items: center;
  }

  .mission-text {
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
    padding: 30px;
    text-align: center;
  }

  .mission-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .mission-text h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .mission-text p {
    font-size: 16px;
    line-height: 1.5;
  }

  .mission-image {
    margin-top: 20px;
    flex: 0 0 100%;
  }

  /* Grid Styles */
  .grid-container {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }

  .grid-item {
    padding: 20px;
  }

  .grid-item-content {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    font-size: 16px;
    text-align: center;
  }

  .grid-item img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .grid-item h2,
  .grid-item p {
    margin: 10px 0;
    padding: 0;
  }

  /* Career statement styles */
  .career-content {
    flex-direction: column;
    align-items: center;
  }

  .career-text {
    margin-top: 20px;
    margin-right: 0;
    padding: 30px;
    text-align: center;
  }

  .career-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .career-text h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .career-text p {
    font-size: 16px;
    line-height: 1.5;
  }

  .career-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .career-image {
    flex: 0 0 100%;
  }

  /* Footer styles */
  footer .content-wrapper {
    padding: 0;
  }

  footer p {
    margin-top: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-logo {
    flex-direction: column;
  }

  .footer-logo img {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .footer-logo p {
    font-size: 18px;
    margin-left: 0;
    margin-bottom: 10px;
  }

  .footer-info {
    margin-top: 20px;
  }
}
