body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fff8e1;
  color: #080808;
}

.header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #ffd76f;
  padding: 0px;
  width: 100%;
}

.logo {
  height: 110px;
  width: auto;
  padding-left: 20px;
}

.title {
  font-family: Arial, sans-serif;
  font-size: 2.5rem;
  color: #0c0c0c;
  margin-left: 20px;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}

.intro-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.image-wrapper {
  flex: 1;
  max-width: 600px;
  width: 100%;
}

.contract-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.text-block {
  flex: 2;
  text-align: left;
  font-size: 1.3rem;
  line-height: 1.3;
}

.text-block h1 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #333;
}

.text-block h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #333;
}

.text-block h2 {
  font-size: 1.3rem;
  margin-bottom: 4px;
  margin-top: 6px;
  color: #333;
}

.text-block p {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 4px;
  color: #333;
  text-justify: inter-word;         /* Better spacing between words */
  overflow-wrap: break-word;  /* Modern alternative to word-wrap */
  line-height: 1.5;   /* ✅ 1.6× the font size */ 
}

@media (max-width: 600px) {
  .text-block p {
    text-align: left;   /* Better readability on phones */
  }
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;     /* centers images on all screen sizes */
  gap: 50px;                   /* consistent spacing between images */
  padding: 20px 40px;          /* balanced spacing around the gallery */
}

.gallery-img {
  width: 100%;
  max-width: 180px;             /* ensures it scales on smaller screens */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex: 1 1 180px;             /* allows wrapping and spacing */
}

.contact {
  padding: 40px 20px;
  background-color: #fff3cd;
  text-align: center;
}

.contact h2 {
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: auto;
}

label {
  margin-top: 10px;
  align-self: flex-start;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ffc93c;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #f1c25b;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #ffd76f;
  color: #333;
  line-height: 1.5; 
}

@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
    align-items: center;
  }

  .gallery {
    justify-content: center;
    padding: 20px;
  }

  .gallery-img {
    width: 100%;
    max-width: 300px;
  }

  .title {
    font-size: 1.8rem;
    text-align: center;
    margin: 10px 0;
  }

  .header {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .logo {
    height: 80px;
  }
}



