.font-raleway {
  font-family: "Raleway", sans-serif;
}

.font-saira {
  font-family: "Saira", sans-serif;
}

@media (max-width: 479px) {
  #about_us_section div h2 {
    font-size: 1.5rem; /* Reduce size on smaller mobiles */
    line-height: 1.3; /* Adjust line height for better readability */
    word-wrap: break-word;
  }
  #contact_us_section h2 {
    font-size: 1.5rem; /* Make text more readable */
    line-height: 1.3;
    /* padding-top: 50px */
    padding-top: 0 !important;
  }
  .application-bullet-section {
    margin-left: -100px;
  }
  .heading-content {
    margin-top: 80px;
  }
  #home_overlay_text {
    font-size: 20px !important;
  }
  #first_container {
    font-size: 30px !important;
  }
  #second_container {
    font-size: 30px !important;
  }
  #third_container {
    font-size: 30px !important;
  }
  /* #home_container {
    margin-top: -30px;
  } */
  #home_limited_access {
    margin: 0 auto;
  }
  #home_constrained_sites {
    margin: 0 auto;
  }
  #home_limited_overhead {
    margin: 0 auto;
  }
  #home_adjacent_structures {
    margin: 0 auto;
  }
  .home_site_advantages {
    width: 300px !important;
  }
  #navbar-name {
    height: 40px; 
  }
}

@media (min-width: 480px) {
  #about_us_section div h2 {
    font-size: 1.5rem; /* Reduce size on smaller mobiles */
    line-height: 1.3; /* Adjust line height for better readability */
    word-wrap: break-word;
  }
  #contact_us_section h2 {
    font-size: 1.5rem; /* Make text more readable */
    line-height: 1.3;
    /* padding-top: 50px */
    padding-top: 0 !important;
  }
  .application-bullet-section {
    margin-left: -100px;
  }
  .heading-content {
    margin-top: 80px;
  }
  #home_overlay_text {
    font-size: 20px !important;
  }
  #first_container {
    font-size: 30px !important;
  }
  #second_container {
    font-size: 30px !important;
  }
  #third_container {
    font-size: 30px !important;
  }
  /* #home_container {
    margin-top: -30px;
  } */
  .home_site_advantages {
    width: 300px !important;
  }
    #navbar-name {
    height: 40px;
  }
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .container {
    flex-direction: column; /* Stack items on small screens */
    text-align: center; /* Center text */
  }
  .container img {
    width: 200px; /* Reduce image size for small screens */
    margin: 0 auto 10px; /* Center image */
  }
  .container .text {
    min-width: 100%; /* Ensure text takes full width */
  }
  .application-bullet-section {
    margin-left: -100px;
  }
  .heading-content {
    margin-top: 80px;
  }
  #home_overlay_text {
    font-size: 20px !important;
  }
  #first_container {
    font-size: 30px !important;
  }
  #second_container {
    font-size: 30px !important;
  }
  #third_container {
    font-size: 30px !important;
  }
  /* #home_container {
    margin-top: -30px;
  } */
   .home_site_advantages {
    width: 300px !important;
  }
    #navbar-name {
    height: 40px;
  }
}

/* Responsive font sizes */
@media (min-width: 768px) {
  /* Tablet (md:px-12 equivalent) */
  #home_overlay_text {
    font-size: 20px;
  }
  .navbar-logo {
    height: 100px;
  }
  /* Tablet (md:px-12 → 48px) */
  .custom_form {
    padding-left: 3rem; /* 48px */
    padding-right: 3rem; /* 48px */
  }
  .application-bullet-section {
    margin-left: -100px;
  }
  #about_us_section div h2 {
    font-size: 1.75rem; /* Reduce size on tablets */
  }
  #contact_us_section {
    padding-block: calc(var(--spacing) * 25); /* Reduce padding for tablets */
  }
  #contact_us_section h2 {
    font-size: 1.75rem; /* Reduce heading size */
  }
  .section_body {
    padding-left: 3rem; /* md:px-12 (48px) */
    padding-right: 3rem; /* md:px-12 (48px) */
  }
  #home_overlay_text {
    font-size: 40px !important;
  }
  #first_container {
    font-size: 30px !important;
  }
  #second_container {
    font-size: 30px !important;
  }
  #third_container {
    font-size: 30px !important;
  }
  /* #home_container {
    margin-top: -30px;
  } */
  .home_site_advantages {
    width: 450px !important;
  }
    #navbar-name {
    height: 48px;
  }
}

@media (min-width: 1024px){
  /* Laptop/Desktop */
  .custom_form {
    max-width: calc(100% - 600px); /* Keeps content centered */
    padding-left: 0; /* Remove padding on large screens */
    padding-right: 0;
  }
  #home_overlay_text {
    font-size: 3rem;
  }
  .section_body {
    padding-left: 300px;
    padding-right: 300px;
  }
  .responsive-left-adjust {
    margin-left: -50px;
  }
  .pile-design-variant-content {
    margin-left: -50px;
  }
  .li-span {
    margin-left: -15px;
  }
  #submit_form_button {
    width: 400px;
  }
  .nav-item {
    margin-right: 12px;
    padding-right: 4px;
  }
  .nav-list .nav-item:nth-last-child(2) {
    margin-right: -50px;
  }
  #first_container {
    font-size: 60px !important;
  }
  #second_container {
    font-size: 50px !important;
  }
  #third_container {
    font-size: 50px !important;
  }
  #cast-iron {
    margin-top: -20px;
  }
    #navbar-name {
    height: 55px;
  }
}

/* Apply -70px left margin on xl screens and up (1280px+) */
@media (min-width: 1280px) {
  .responsive-left-adjust {
    margin-left: -50px;
  }
  .pile-design-variant-content {
    margin-left: -50px;
  }
  #submit_form_button {
    width: 400px;
  }
  .nav-item {
    margin-right: 12px;
    padding-right: 4px;
  }
  .nav-list .nav-item:nth-last-child(2) {
    margin-right: -50px;
  }
  #first_container {
    font-size: 60px !important;
  }
  #second_container {
    font-size: 50px !important;
  }
  #third_container {
    font-size: 50px !important;
  }
  #cast-iron {
    margin-top: -20px;
  }
    #navbar-name {
    height: 55px;
  }
}

body {
  font-family: "Work Sans", sans-serif;
}

.semi-bold-text {
  font-weight: 500; /* SemiBold */
}

#header {
  background-color: #ffffff;
  color: black;
}

.footer-background {
  background-image: url("../img/footer_bg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%; /* keep natural width, fit vertically */
  background-color: #b3b3b3; /* fallback */
}

#navbar-cta {
  margin-top: 15px;
}

#header_menu {
  background-color: #ffffff;
}

.navbar-logo {
  height: 110px; /* smaller logo */
  object-fit: contain;
}

#navbar-name {
  margin-top: 20px;
}

a.flex.items-center img {
  vertical-align: middle; /* fallback */
  display: block;
}

#home_section {
  padding-block: calc(var(--spacing) * 10);
}

#home_section div h2 {
  color: #223d3c;
}

#home_container {
  width: 95%;
  max-width: 1257px;
}

#first_container {
  font-size: 60px;
  text-align: center;
  color: #f97316;
  font-weight: bold;
}

#second_container {
  text-align: center;
  color: #f97316;
  font-weight: bold;
}

#third_container {
  text-align: center;
  color: #f97316;
  font-weight: bold;
}

#inquire_home_button {
  border: 2px solid #7b1315;
  font-size: 25px;
  text-align: center;
  background-color: #f97316;
  font-weight: 600;
  width: 400px;
}

#inquire_about_button {
  font-size: 35px;
  text-align: center;
  background-color: #7b1315;
  font-weight: 600;
  width: 400px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.keypoint {
  font-size: 30px;
  text-align: center;
  color: #7b1315;
  font-weight: bold;
  background-color: #d9d9d9;
  padding: 10px;
}

.custom-list {
  list-style-type: square;
}

.custom-list li {
  line-height: 1.6;
}

.custom-list li::marker {
  color: #f97316;
  font-size: 1.5rem;
}

.custom-list li span {
  color: #f97316;
  font-weight: 600;
}

.custom-list li p.home_list {
  color: black !important;
  font-weight: normal;
  text-align: justify;
  display: inline;
}

#home_overlay_text {
  font-weight: bold;
  font-family: "Work Sans", sans-serif;
  font-size: 3rem; /* smaller default for mobile */
  background-color: rgba(246, 146, 30, 0.9);
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  white-space: normal; /* allow wrapping */
  box-sizing: border-box;
  max-width: 90%;
  text-align: center;
}

.faded {
  opacity: 0.7;
}

#whole_container {
  width: 95%;
  max-width: 1200px;
  /* border: 1px solid #f97316; */
  background-color: white;
}

.orange-container {
  background-color: #f6921e;
  margin-top: -65px;
  /* max-width: 1000px; */
  width: 100%;
  text-align: center;
  font-size: 40px;
}

/* Default: no left margin */
.responsive-left-adjust {
  margin-left: 0;
}

.container {
  display: flex; /* Flexbox for layout */
  align-items: center; /* Vertically align image and text */
  background-color: white;
  padding: 10px;
  max-width: 800px; /* Limits width for better readability */
  margin: 10px auto;
  border-radius: 8px;
  flex-wrap: wrap; /* Allows items to wrap on small screens */
}

/* Left Side: Image */
.container img {
  width: 210px; /* Default image width */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Ensure image looks good */
  margin-right: 20px; /* Spacing between image and text */
}

/* Right Side: Text */
.container .text {
  flex: 1; /* Takes remaining space */
  font-size: 15px;
  color: #333;
  min-width: 50%; /* Ensures text doesn't shrink too much */
}

#about_us_summary {
  font-size: 15px;
}

#home_contact_us {
  background-color: #426b1f; /* Dark green color */
  color: white; /* Text color */
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#home_contact_us:hover {
  background-color: #365a13; /* Darker green on hover */
}

#footer_website {
  background-color: #223d3c;
  color: white;
}

#dropdownNavbar ul li a {
  color: #223d3c;
  font-weight: 600;
}

.section_body {
  padding-left: 1.5rem; /* Default: px-6 (24px) */
  padding-right: 1.5rem; /* Default: px-6 (24px) */
  font-family: "Quicksand", sans-serif;
}

#about_us_section {
  padding-block: calc(var(--spacing) * 40);
}

#about_us_section div h2 {
  font-size: 2rem; /* Default font size */
  font-weight: bold;
  color: #223d3c; /* Dark gray */
  margin-bottom: 10px;
}

#contact_us_section {
  /* padding-block: calc(var(--spacing)* 30); */
  /* padding-block: 0 !important; */
}

#contact_us_section div h2 {
  color: #223d3c;
}

.custom_form {
  width: 100%; /* Ensure full width */
  max-width: 100%; /* Prevents overflow */
}

.required {
  color: red;
}

textarea {
  resize: none;
}

label {
  font-weight: bold;
}

#submit_form_button {
  background-color: #7b1315 !important; /* Ensure it overrides Tailwind */
  padding: 10px;
}

#submit_form_button:hover {
  background-color: #7b1315; /* Darker green on hover */
}

#contact_us_navbar_btn {
  align-items: center;
  justify-content: center;
  height: 22px; /* Match height with other items */
  padding: 6.5px 10px; /* Adjust spacing */
  background-color: #426b1f; /* Green background */
  color: white; /* Text color */
  border-radius: 6px; /* Rounded corners */
  text-decoration: none; /* Remove default underline */
  transition: background-color 0.2s ease-in-out;
}

#contact_us_navbar_btn:hover {
  background-color: #365417; /* Darker green on hover */
  text-decoration: underline; /* Underline effect */
}

.application-list {
  list-style-type: square;
  padding-left: 1.5rem; /* optional: aligns bullets cleanly */
}

.application-list li::marker {
  color: #f97316; /* orange marker */
  font-size: 1.5rem;
}

.application-list li div span {
  color: black;
  font-weight: 600;
}

.application-list li {
  margin-bottom: -2px;
}

.application-list li div {
  font-size: 15px;
}

.text-outline-orange {
  color: white;
  -webkit-text-stroke: 1px #f97316;
  text-shadow: 0 0 1px #f97316;
}

.list-with-plus li p {
  margin-left: 40px;
}

