/* Reset */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Montserrat", "Proxima Nova", sans-serif;
}

/* Hero section */
.hero {
  background: url("images/Bridge_path3.jpg") no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  position: relative;
}

/* Overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
}

/* Content block */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 60px;
  text-align: left;
}

/* Logo */
.logo {
  max-width: 220px;
  margin-bottom: 5px;
}

/* Headline */
.hero-content h1 {
  font-size: 2.4em;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Sub-headline */
.hero-content p {
  font-size: 1.2em;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 30px;
}

/* CTA button */
.cta-button {
  display: inline-block;
  background-color: #212121; /* flat dark background */
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border: none;              /* remove bevel/border */
  border-radius: 0;          /* square corners */
  font-weight: 600;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #f57c00; /* orange accent on hover */
}

.cta-button:hover {
  background-color: #f57c00; /* orange accent */
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  position: relative;       /* anchor for the close button */
  background-color: #D2DEE9;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 75vh;
  overflow-y: auto;
  color: #212121;
  font-family: "Montserrat", "Proxima Nova", sans-serif;
}

.modal-content .cta-button {
  display: inline-block;
  background-color: #f57c00;   /* orange accent */
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-content .cta-button:hover {
  background-color: #e65100;   /* darker orange on hover */
}
/* Smaller headings */
.modal-content h2 {
  margin-top: 0;
  font-size: 1.4em;           /* smaller than before */
  font-weight: 600;
  margin-bottom: 15px;
}

.modal-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.modal-content li {
  margin-bottom: 15px;
}
/* Close button for modal */
.close {
  position: absolute;       /* now relative to modal-content */
  top: 10px;
  right: 12px;
  font-size: 32px;
  font-weight: bold;
  color: #212121;           /* change this to any color you like */
  cursor: pointer;
}

.close:hover {
  color: #f57c00;           /* accent on hover */
}
/* Contact form layout */
.contact-form .row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.contact-form .field {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-right: 12px;
}

.contact-form .field.full {
  flex: 100%;
  margin-right: 0;
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  padding: 6px;               /* smaller input padding */
  border: 1px solid #ccc;
  font-family: "Montserrat", "Proxima Nova", sans-serif;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}

/* Reduce textarea height */
.contact-form textarea {
  resize: vertical;
  min-height: 80px;           /* smaller default height */
  max-height: 150px;          /* prevent it from growing too tall */
}

/* Submit button aligned right */
.submit-row {
  justify-content: flex-end;
  display: flex;
}

/* Submit button aligned right */
.submit-row {
  justify-content: flex-end;
  display: flex;
}

.submit-row .cta-button {
  background-color: #212121;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 0;
  font-weight: 600;
  cursor: pointer;
}

.submit-row .cta-button:hover {
  background-color: #f57c00;
}


/* Responsive layout */
@media (max-width: 768px) {
  .hero {
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    max-width: 90%;
    padding: 30px;
  }

  .logo {
    margin: 0 auto 20px;
  }

  .hero-content h1 {
    font-size: 1.8em;
  }

  .hero-content p {
    font-size: 1em;
  }
}
