* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

h1 {
  font-size: 4em;
  font-family: "Poppins", sans-serif;
  font-weight: 650;
}

h2 {
  font-size: 2em;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 5.12px;
  color: #2947ae;
}

h3 {
  font-size: 1.75em;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  letter-spacing: 4px;
  color: #2947ae;
}

h4 {
  font-size: 1.5em;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  letter-spacing: 2.80px;
  color: #050622;
}

p {
  font-size: 1em;
  font-family: Inter, sans-serif;
  font-weight: 300;
}

/* nav */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 10px 20px;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border-bottom: solid 1px #2947ae;
}
.logo{
  margin-left: 3%;
}

.logo img {
  width: 200px;
  height: auto;
}

nav {
  display: flex;
  gap: 2rem;
  margin-right: 5%;
}

nav a {
  color: black;
  text-decoration: none;
  padding: 8px 16px;
  transition: 0.3s ease-in;
  border-radius: 8px;
}

nav a:hover {
  background-color: #2947ae;
  color: white;
  border: solid 1px black;
}

/* Hamburger menu */
.menu-button {
  display: none;
  cursor: pointer;
}

.menu-button img {
  width: 25px;
  height: auto; 
}

/* Responsive styles */
@media (max-width: 1440px) {
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    position: absolute;
    top: 60px;
    left: 0;
    align-items: center;
    z-index: 100;
  }

  nav a {
    color: #333;
    padding: 10px;
    width: 100%;
    text-align: center;
  }

  .menu-button {
    display: block;
  }

  .logo img {
    margin-left: 1rem;
  }
}

/* Active state */
.nav-active {
  display: flex !important;
}

/* Hero Homepage */
.hero {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding-left: 7.5%;
  background-image: url('/assets/HeroImage.png');
  background-size: cover;
  z-index: -2;
}

.hero-content {
  color: white;
  max-width: 50%;
}

.hero-title {
  line-height: 5rem;
  opacity: 0;
  transform: translateX(-100%);
  animation: slide-in 1.3s forwards;
}

@keyframes slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content p {
  margin: 3rem 0;
  line-height: 1.5rem;
  opacity: 0;
  transform: translateX(-100%);
  animation: slide-in 1.7s forwards;
}

.hero-content button {
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background-color: #ede35a;
  color: black;
  border-radius: 8px;
  transition: 0.3s ease-in;
}

.hero-content button:hover {
  background-color: black;
  color: white;
  border: solid 1px white;
}



/* About homepage */
.company-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px;
  margin: 4rem auto;
  box-sizing: border-box;
}

.info-text {
  border: solid 1px rgb(0, 34, 170);
  background-color: #fff;
  border-radius: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 5rem;
  flex: 1 1 50%;
  box-sizing: border-box;
  max-width: 100%;
}

.info-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  max-width: 500px;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
}

.info-image img {
  max-width: 100%;
  height: auto;
  border-radius: 2rem;
}



/* Services Homepage */
.services-container {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  margin: 4rem 0;
  border: solid 1px #2a45f4;
  border-left: none;
  border-right: none;
}

.services-left {
  flex: 1;
  min-width: 30%;
  padding: 1rem;
  margin-left: 2rem;
  margin-top: 10rem;
}

.services-left h2 {
  margin-bottom: 2rem;
}

.services-right {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 2rem;
  margin: 7rem;
}

.service-item {
  flex: 1 1 calc(33.333% - 40px);
  background: white;
  border: solid 1px #2a45f4;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: scale(1.1);
}

.service-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.service-item img {
  max-width: 40px;
  margin-bottom: 10px;
}

.service-item h3 {
  font-size: 1.2em;
  margin: 0;
}




/* Training Homepage */
.training-home {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 12rem 2rem;
}

.overview-box, .features-box {
  border: solid 1px rgb(0, 34, 170);
  padding: 5rem;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  flex: 1;
}

.overview-box h3 {
  margin-bottom: 2rem;
}

.features-box h3 {
  margin-bottom: 2rem;
}


/* Hiring Homepage */
.hiring-section {
  margin: 7rem auto;
  padding: 5rem 0;
  border-top: solid 1px #2947ae;
  border-bottom: solid 1px #2947ae;
  max-width: 70%;
}

.hiring-title {
  border-bottom: solid 1px #2947ae;
  margin-bottom: 2rem;
}


/* Contact Homepage */
.contact-section {
  background-image: url('/assets/contact-background.jpeg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 12rem 0;
  margin: 15rem 0;
}

.contact-bottom,
.content-section {
  max-width: 90%;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 4rem;
  border-radius: 2rem;
}

.contact-section h2 {
  font-size: 36px;
  margin-bottom: 2rem;
}

.contact-section p {
  font-size: 18px;
  margin-bottom: 2rem;
}

.cta-button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background-color: #ede35a;
  color: #050622;
  border-radius: 8px;
  cursor: pointer;
  margin: 2rem 0;
  transition: 0.3s ease-in;
}

.cta-button:hover {
  background-color: white;
  color: #2947ae;
  border: 1px solid #0c2ad1;
  box-shadow: rgba(0, 0, 0, 0.8);
}


/* Footer Styling */
footer {
  background-color: #1339b7;
  opacity: 0.8;
  color: white;
  padding: 20px 0;
  text-align: center;
  margin-top: 7rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 2rem 10rem;
}

.footer-logo img {
  max-width: 150px;
}

.footer-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.footer-social a img {
  width: 40px;
  height: 40px;
}

.footer-sitemap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-sitemap a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-family: Inter, sans-serif;
}

.footer-sitemap a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding: 0 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
}

/* alt hero */
.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  padding: 2rem;
  margin: 10rem 2rem;
  height: auto; 
}

.intro-content {
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem; 
}

.intro-text {
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: solid 1px #2947ae;
}

.intro-text, .intro-image {
  flex: 1;
  min-width: 300px;
  border-radius: 2rem;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
}

.intro-title {
  font-size: 3em;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-100%);
  animation: slide-in 1.7s forwards;
}

@keyframes slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.intro-text {
  opacity: 0;
  transform: translateX(-100%);
  animation: slide-in 1.3s forwards;
}

@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
    align-items: center;
    margin: 1rem;
  }

  .intro-text, .intro-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .intro-title {
    text-align: center;
    font-size: 24px;
  }
  }


/* Services Page */
.list-of-services {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-section {
  background: white;
  border: solid 1px #2a45f4;
  padding: 4rem;
  border-radius: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 1rem 5rem;
  transition: transform 0.3s ease;
}

.service-section:hover {
  transform: scale(1.07);
}

.service-section h3 {
  margin-bottom: 10px;
  border-bottom: solid 1px #2947ae;
}

.service-section p {
  margin-bottom: 15px;
}

.key-features h4 {
  margin-bottom: 10px;
  color: #2947ae;
}

.key-features ul {
  list-style-type: disc;
  padding-left: 20px;
}

.key-feature-text {
  font-family: "Inter", sans-serif;
}

@media (max-width: 768px) {
  .service-section {
    margin: 1rem;
  }
}

.section {
  margin: 0 auto;
  max-width: 1200px;
  padding: 2rem 1rem;
}
/* Training Page*/
.training-container {
  margin: 2rem 5rem;
  padding: 2rem;
  background: #fff;
  border: solid 1px #2a45f4;
  border-radius: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.training-section h2{
  text-align: center;
}

.training-container h3 {
  margin: 2rem auto;
  border-bottom: solid 1px #2947ae;
}

.training-container p,
.training-container ul {
  margin-bottom: 1.5rem;
}

.training-container ul {
  list-style-type: disc;
  padding-left: 20px;
}

.training-container .divider {
  margin: 1rem 0;
}

.outro {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .training-container{
    margin: 1rem;
  }
}

/* About page */
.who-we-are {
  background-color: white;
  padding: 2rem;
  border: solid 1px #2947ae;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  margin: 7rem;
}

.who-we-are-title {
  color: #2947ae;
  margin-bottom: 10px;
}

.who-we-are-text {
  color: #666;
  font-size: 20px;
  line-height: 1.6;
}

.what-we-do {
  background-color: white;
  padding: 2rem;
  border: solid 1px #2947ae;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  margin: 7rem;
}

.what-we-do-title {
  color: #2947ae;
  margin-bottom: 10px;
}

.what-we-do-text {
  color: #666;
  font-size: 20px;
  line-height: 1.6;
}

.future {
  background-color: white;
  padding: 2rem;
  border: solid 1px #2947ae;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  margin: 7rem;
}

.future-title {
  color: #2947ae;
  margin-bottom: 10px;
}

.future-text {
  color: #666;
  font-size: 20px;
  line-height: 1.6;
}

@media (max-width: 768px){
  .what-we-do, .who-we-are, .future{
    margin: 2rem 1rem;
  }
  .what-we-do p, .who-we-are p, .future p{
    font-size: 18px;
  }
}


/* contact form */
.contact-form {
  max-width: 50%;
  margin: 7rem auto;
}

.contact h3{
  color:#0056b3;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact form{
  width: 100%;
  text-align: center;
}
.input-box .input-field{
  width: 100%
}


.field .item {
  width: 100%;
  padding: 18px;
  background: transparent;
  border: 2px solid #0056b3;
  outline: none;
  border-radius: 6px;
  font-size: 16px;
  color:#0056b3;
  margin: 12px 0;
}

.field .error-text{
  font-size: 14.5px;
  color: red;
  text-align: left;
  margin: -5px 0 10px;
  display: none;
}

form .textarea-field .item{
  resize: none;
}

form .textarea-field .error-text{
  margin-top: -10px;
}

form button{
  padding: 12px 32px;
  background: #ede35a;
  border: none;
  outline: none;
  border-radius: 8px;
  font-size: 16px;
  color: #080f3a;
  letter-spacing: 1px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 20px;
  transition: .5s
}
 form button:hover{
  background-color: white;
  color:#2947ae;
  border: solid 1px #2947ae;
 }
 @media (max-width: 768px){
  .contact-form{
    max-width: 80%;
  }
 }

/* pop up */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 30% auto;
  padding: 2rem;
  border: 1px solid #2947ae;
  border-radius: 2rem;
  width: 80%;
}

.close {
  color: #2947ae;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Jobs Page */
.work-with-us{
  margin: 5rem;
  padding: 5rem;
  border: solid 1px #2947ae;
  border-radius: 2rem;
}

.work-with-us h3{
  margin: 2rem 0;
  padding: 1rem;
  border-bottom: solid 1px #2947ae;
}
.work-intro{
  margin: 3rem;
}
.why{
  margin: 3rem;
  line-height: 1.5rem;
}
.skills{
  margin: 3rem;
  line-height: 1.5rem;
}
.how{
  margin: 3rem;
}

.application{
  max-width: 50%;
  margin: 7rem auto;
  
}

input[type="file"].item {
  display: none;
}

.custom-file-upload {
  display: inline-block;
  padding: 10px 20px;
  cursor: pointer;
  background-color: #2947ae;
  color: white;
  border: 1px solid white;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
  transition: background-color 0.3s, border-color 0.3s;
}

.custom-file-upload:hover {
  background-color: white;
  border-color: #2947ae;
  color: #2947ae
}

.custom-file-upload i {
  margin-right: 5px;
}

.input-field.field input[type="checkbox"] {
  margin: 20px;
}
.application h3{
  font-weight: 600;
}

button {
  padding: 10px 20px;
  background-color: #2947ae;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: white;
  color: #2947ae
}

@media (max-width: 768px) {
  .work-with-us{
    margin: 1rem;
    padding: 1rem;
  }
  .application{
    margin: 2rem;
  }
}