/* General Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  max-width: 100%;
  overflow-x: hidden;
}

.footer-container p {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0.5rem;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0.5rem;
}

.container p {
  font-size: 1.2rem;
}

.contact-container {
  display: flex;
  flex-direction: column;
  margin: 5rem;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  
}

.contact-container p {
  font-size: 1.4rem;
  background-color: #073a34;
  padding: 2rem;
  margin-top: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  text-align: center;
  max-width: 700px;
  width: 100%;
  align-items: center;
  justify-content: center;
  color: #f2f2f2;
}

.contact-container a {
  color: aliceblue;
}


.call-to-action-prequal-form-section {
  background-color: #212121;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 3rem;

}

.call-to-action-prequal-form-section h2 {
  color: #f2f2f2;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-style: italic;
}

.call-to-action-prequal-form-section h3 {
  color: #cccccc;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.prequal-form-link {
  background-color: #212121;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: row;
}

.prequal-link-section {
  padding-top: 2rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.prequal-link-div {
  padding: 2rem;
  background-color: #073a34;
  border-radius: 11px;
  transition:5ms;
  text-decoration: none;
}

.prequal-link-div:hover {
  padding: 2rem;
  background-color: #073a34;
  border-radius: 11px;
  transform: scale(1.05);
}

.prequal-link-div p {
  color: #f2f2f2;
  font-size: 1.5rem;
  font-weight: bold;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.prequal-link-div a {
  color: #f2f2f2;
  font-size: 1.5rem;
  font-weight: bold;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
}





/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: #ffffff;
  color: #fff;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  transition: 5ms;
  width: 100%;
  z-index: 100;
}
.logo-section:hover {
  transform: scale(1.005);
}

.logo {
  display: flex;
  align-items: center;
  transition: 5ms;
  width: 100%;
  transform: scale(1.03);
}


.logo a {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  width: 100%;
}

.logo-img {
  height: 50px; /* Adjust as needed */
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

.logo-text {
  font-size: 1.7rem;
  font-weight: bold;
}
/* Wrap logo and toggle in same row */
.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}
nav a {
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}
nav a:hover {
  color: #5da342;
  text-decoration: none;
  white-space: nowrap;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hero Section */
#hero {
  background-color: #073a34;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  max-width: 100%;
}
#hero h2 {
  font-size: 1.42rem;
  margin-bottom: 1rem;
}
#hero p {
  font-size: 0.8rem;
}


#hero2 {
  background-color: #073a34;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  position: relative;
  max-width: 100%;
}
#hero2 h2 {
  font-size: 1.42rem;
  margin-bottom: 1rem;
}
#hero2 p {
  font-size: 0.8rem;
}



/* Sections */
.section {
  padding: 3rem 0;
  gap: 3rem;
  background-color: #f5f3f3;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  gap: 3rem;
}

/* Services List */
.services-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  color: #f2f2f2;
}

.services-list li {
  background-color: #073a34;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Contact */
#contact a {
  color: #073a34;
  text-decoration: none;
}

.contact-section {
  text-align: center;
}

.contact-box {
  background-color: #073a34;
  padding: 2rem;
  margin-top: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: inline-block;
  max-width: 500px;
  width: 100%;
}

.contact-box p {
  margin: 0;
  font-size: 1.2rem;
  color: #f2f2f2;
}

.contact-box a {
  color: #6cc24a;
  font-weight: bold;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}


.hero-image {
  position: relative;
  background-image: url('assets/jwr.png');
  background-size: cover;
  background-position: center;
  
  max-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
  padding: 2rem;
  width: 100%;
  max-width: 50px;
}

.hero-image h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  max-width: 50px;
}

.hero-image p {
  font-size: 1.2rem;
  max-width: 50px;
}

.hero-split {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1rem;
  gap: 3rem;
  flex-wrap: wrap;
  background-color: #f2f2f2;
  
  margin: 0 auto;
  width: 100%;
}

.hero-text p {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  /*justify-content: center;*/
  
  background-color: #f2f2f2;
  max-width: 800px;
}

.hero-text {
  flex: 1 1 300px;
  text-align: center;
  padding: 1rem; /* ← add padding to text */
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  
}

.hero-text p {
  font-size: 1.4rem;
  color: #444;
  
}

.hero-img {
  flex: 1 1 300px;
  max-width: 500px;
  text-align: center;
  padding: 2rem; /* ← add padding around the image container */
  
}

.hero-img img {
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: none;
  background-color: transparent;
}




.features-section {
  background-color: #fff;
  padding: 3rem 1rem;
  gap: 3rem;
}

.features-section h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #222;
  gap: 3rem;
}

.features-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: #f2f2f2;
}

.features-list li {
  background-color: #073a34;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.features-contact {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.features-contact a {
  color: #6cc24a;
  font-weight: bold;
  text-decoration: none;
}

.features-contact a:hover {
  text-decoration: underline;
}

.features-contact-box {
  margin-top: 8rem;
}



/* Footer */
footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* Base Styles */
.nav-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  z-index: 100;
}




@media (min-width: 769px) {
  .hero-mobile {
  display: none;
}
  .hero-new-form-mobile {
    display: none;
  }
}




/* Mobile Styles */
@media (max-width: 768px) {

  body {
    max-width: 100%;
    overflow-x: hidden;
    background-color: #f8f8f8;
    
  }

  html {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav-toggle {
    display: block;
  }

  nav {
    width: 100%;
    z-index: 100;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }

  .hero-mobile {
  display: flex;
  padding: 11px;
  width: 100%;
}
  .hero-new-form-mobile {
    display: flex;
    padding: 11px;
    width: 100%;
  }

  /* Hero Section */
  .hero-new-form {
    display: flex;
    padding: 11px;
    width: 100%;
  }

  .loadingText {
    position: relative;
    top: 1px;
  }


  #hero2 {
  background-color: #073a34;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  position: relative;
  padding: 11px;
  max-width: 100%;
  }
  #hero2 h2 {
  font-size: 1.42rem;
  margin-bottom: 1rem;
  }
  #hero2 p {
  font-size: 0.8rem;
  }

 

  #hero-mobile {
  background-color: #073a34;
  color: #fff;
  padding: 0.2rem;
  text-align: center;
  padding-bottom: 3rem;
  max-width: 100%;
  }
  #hero-mobile h2 {
  font-size: 1.42rem;
  margin-bottom: 1rem;
}
  #hero-mobile p {
  font-size: 0.8rem;
}
  #hero h2 {
  padding: 0;
}
#hero p {
  padding: 0;
}

  header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    margin-bottom: 0;
  }

.contact-container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  background-color: #f2f2f2;
  
}

.contact-container p {
  font-size: 1rem;
  background-color: #073a34;
  padding: 2rem;
  margin-top: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  text-align: center;
  color: #f2f2f2;
  width: 90%;
  align-items: center;
  justify-content: center;
}


}

/* Contact Page Form Styles */
.contact-form {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
  min-width: 200px;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #6cc24a;
  outline: none;
}

.contact-form button {
  background-color: #073a34;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #073a34;
}



.image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
  padding: 0 1rem;
  max-width: 1200px;
}

.image-grid-item {
  flex: 0 1 200px;
  text-align: center;
}

.image-grid img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}





