body {
  font-family: 'Spartan', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  color: #333;
}

h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

.hero-section {
  position: relative;
  color: rgb(0, 0, 0);
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

.hero-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.4;
  transition: opacity 2s ease-in-out, filter 2s ease-in-out; 
  filter: sepia(1) saturate(2) hue-rotate(190deg); 
}

.hero-image:hover {
  opacity: 1;
  filter: sepia(1) saturate(2) hue-rotate(190deg); 
}

.hero-content {
  line-height: 1.4;   
  width: 1000px;
  margin-left: 18%;
  position: relative;
  z-index: 2; 
}

.hero-section h1 {
  line-height: 1.2; 
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero-section p {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.8;
  font-weight: 800;
}

.cta-button {
  padding: 15px 40px;
  background-color: white;
  color: #F03729;
  border: 2px solid #F03729;
  font-size: 18px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

.cta-button:hover {
  background-color: #F03729;
  color: white;
}

.mission {
  height: 500px;
  background-color: #f1f1f1;
  padding: 10px;
  text-align: center;
}

.mission-content {
  display: flex;
  align-items: center; 
  justify-content: center;
  gap: 60px; 
}

.mission-image img {
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
}

.mission-text {
  height: 200px;
  align-items: center;
  justify-self: center;
  padding-top: 30px;
  max-width: 600px;
  border: solid #F03729;
  border-radius: 50px;
}

.mission-section h2 {
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.mission-section p {
  font-size: 18px;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.image-gallery {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 50px 150px 50px 150px;
}

.image-gallery div {
  width: 30%;
  margin-bottom: 30px;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.image-gallery div:hover {
  transform: translateY(-10px);
}

.image-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.image-gallery h3 {
  font-size: 22px;
  color: #F03729;
  font-weight: bold;
  margin-bottom: 10px;
}

.image-gallery p {
  font-size: 16px;
  font-weight: 300;
}

.form-section {
  background-color: #e3e7eb;
  color: white;
  padding: 40px 20px;
  text-align: center;
  box-sizing: border-box;
}

.form-section h2 {
  color: #F03729;
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
}

.form-section p {
  width: 500px;
  margin-left: 500px;
  font-weight: bold;
  color: #03035b;
  font-size: 18px;
  margin-bottom: 30px;
}

.form-container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border: solid #03035b;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.form-column {
  width: 48%; 
}

.form-container h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #03035b;
  font-weight: 600;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 12px;
  margin: 0;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 14px;
}

.form-container input:focus,
.form-container textarea:focus {
  border-color: #03035b; 
}

.form-container button {
  padding: 12px 0;
  background-color: #F03729;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.form-container button:hover {
  background-color: #ff5a30;
}

/* For screens with max width of 1380px */
@media (max-width: 1380px) {
  .hero-section {
    padding: 70px 20px;
  }

  .hero-image {
    height: 80vh;
  }

  .hero-content {
    width: 85%;
    margin-left: 10%;
  }

  .mission {
    height: auto;
    padding: 40px 20px;
  }

  .mission-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .mission-image img {
    width: 100%;
    max-width: 500px;
  }

  .mission-text {
    max-width: 90%;
    padding-top: 20px;
    border-radius: 8px;
  }

  .image-gallery {
    margin: 50px 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .image-gallery div {
    width: 30%;
    margin-bottom: 20px;
    padding: 20px;
  }

  .form-section p {
    width: 100%;
    margin-left: 0;
    font-size: 16px;
  }

  .form-container {
    width: 85%;
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-column {
    width: 100%;
  }
}

/* For screens with max width of 1024px */
@media (max-width: 1024px) {
  .hero-section {
    padding: 60px 20px;
  }

  .hero-image {
    height: 60vh;
  }

  .hero-content {
    width: 80%;
    margin-left: 10%;
  }

  .mission {
    height: auto;
    padding: 40px 20px;
  }

  .mission-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .mission-image img {
    width: 100%;
    max-width: 400px;
  }

  .mission-text {
    max-width: 100%;
    padding-top: 20px;
    border-radius: 8px;
  }

  .image-gallery {
    margin: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .image-gallery div {
    width: 80%;
    margin-bottom: 20px;
  }

  .form-section p {
    width: 100%;
    margin-left: 0;
    font-size: 16px;
  }

  .form-container {
    width: 90%;
    padding: 15px;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-column {
    width: 100%;
  }
}

/* For screens with max width of 768px */
@media (max-width: 768px) {
  .hero-section {
    padding: 50px 20px;
  }

  .hero-image {
    height: 60vh;
  }

  .hero-content {
    width: 90%;
    margin-left: 5%;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 36px;
  }

  .hero-section p {
    font-size: 16px;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .mission {
    padding: 30px 20px;
  }

  .mission-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .mission-image img {
    width: 100%;
    max-width: 400px;
  }

  .mission-text {
    width: 90%;
    padding-top: 15px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
  }

  /* Image Gallery for Mobile */
  .image-gallery {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .image-gallery div {
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
  }

  .image-gallery img {
    height: 150px;
  }

  .form-section {
    padding: 20px;
  }

  .form-container {
    width: 100%;
    padding: 15px;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-column {
    width: 100%;
  }

  .form-container button {
    padding: 12px 0;
    font-size: 16px;
  }
}
