/* Layout container grid */
.parent1 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(6, auto);
  grid-column-gap: 0;
  grid-row-gap: 0;
}

/* Div area assignment */
.div11 { grid-area: 5 / 1 / 9 / 5; }
.div22 { grid-area: 1 / 1 / 4 / 5; }
.div33 { grid-area: 4 / 1 / 5 / 5; }
.div44 { 
  grid-area: 1 / 5 / 7 / 9;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0rem 0rem;
  box-sizing: border-box;
}

/* Ensure div4 form never overflows */
.div44 > form {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}

/* Heading */
.form-heading {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Styled form */
.styled-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.styled-form input,
.styled-form select,
.styled-form textarea {
  width: 100%;
  padding: 2.13rem 0;
  font-size: 1rem;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  outline: none;
    padding-left: 20px;
}

.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
  border-bottom: 1px solid #ec5d24;

}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.45;
  margin-bottom: 0.1rem;
  max-width: 100%;
  padding-left: 10px;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 5px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.checkbox-label span {
  display: inline-block;
  width: calc(100% - 30px);
}

/* Submit button */
.submit-enquiry {
  background-color: #ec5d24;
  color: #fff;
  font-weight: bold;
  padding: 16px 24px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-enquiry span {
  font-size: 1.3rem;
  margin-left: 8px;
}

.submit-enquiry:hover {
  background-color: #cf4e1a;
}

@media screen and (max-width: 991px) {
  .parent1 {
    display: flex;
    flex-direction: column;
  }

  .div22 {
    order: 1;
    background-color: rgba(91, 31, 22, 1);
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .div44 {
    order: 2;
    padding: 2rem 1.5rem;
  }

  .div33 {
    order: 3; /* "Our valued clients include:" */
    padding: 0 1.5rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
  }

  .div11 {
    order: 4; /* Logos at bottom */
    padding: 1rem 1rem 2rem;
  }

  
  .logo-pair {
    width: 50%;
    padding: 0.5rem;
    text-align: center;
    border: none !important;
  }

  .logo-pair img {
    max-width: 80px;
    max-height: 40px;
    object-fit: contain;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media screen and (max-width: 576px) {
  .logo-pair img {
    max-width: 70px;
    max-height: 35px;
  }
}



@media screen and (max-width: 576px) {
  .div2 h2 {
    font-size: 1.6rem;
  }

  .styled-form input,
  .styled-form select,
  .styled-form textarea {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .checkbox-label {
    font-size: 0.85rem;
  }

  .submit-enquiry {
    font-size: 0.95rem;
  }

  .submit-enquiry span {
    font-size: 1.1rem;
  }
}


@media screen and (max-width: 1280px) {
  .styled-form input,
.styled-form select,
.styled-form textarea {
  width: 100%;
  padding: 1.6rem 0;
  font-size: 1rem;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  outline: none;
}
}
@media screen and (max-width: 1366px) {
  .styled-form input,
.styled-form select,
.styled-form textarea {
  width: 100%;
  padding: 2.4rem 0  ;
  font-size: 1rem;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  outline: none;
}
}
.main-contain-form{
  max-width: 1366px;
}
.div22{
display: flex;
  justify-content: center; /* horizontal centering */
  align-items: center;  
  background-color: rgba(91, 31, 22, 1);
  padding: 5%;
}
.div22 h2{
  font-size: 48px;
  color: white;
  font-weight: 700;
}
.div22 p{
  color: rgba(239, 233, 232, 1);
}
.contact-details{
  font-size: 32px !important;
  font-weight: 500;
}

.container1 {
  display: flex;

  height: auto;
}

.left-panel {
  width: 40%;
  padding: 3rem;
  background: #ffffff;
  box-sizing: border-box;
}

.left-panel h2 {
  color: rgba(81, 37, 32, 1);
}

.location-option {
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  background: #fff;
  border-radius: 0;
}

.location-option.active {
  background: rgba(239, 233, 232, 1);
}

.map-panel {
  width: 60%;
  height: 600px;
  position: relative;
  background-size: cover;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.custom-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  position: relative;
}

.custom-radio input[type="radio"] {
  opacity: 0;
  position: absolute;
}

.radio-mark {
  width: 20px;
  height: 20px;
  border: 2px solid #911d1d;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.custom-radio input[type="radio"]:checked + .radio-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: #911d1d;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* 🔄 Responsive Breakpoints */
@media (max-width: 991px) {
  .container1 {
    flex-direction: column;
  }

  .left-panel,
  .map-panel {
    width: 100%;
    height: auto;
  }

  .map-panel {
    height: 300px; /* Adjust map height on smaller devices */
  }

  .left-panel {
    padding: 2rem;
  }
  .engineering-section1{
    margin-top: 300px;
  }
  .div11, .div22  , .div44{
    border: 0px !important;
  }
  .div3{
    padding-top: 50px;
    padding-bottom: 0px;

  }
.container1{
  padding-left: 10px !important;
  padding-right: 10px;
}
.contact-details{
  font-size: 24px !important;
}
.lets-build-first-div h2{
  font-size: 32px !important;
  margin: 5px;
}
}

@media (max-width: 576px) {
  .left-panel {
    padding: 1.5rem 1rem;
  }
 .engineering-section1{
    margin-top: 50px;
  }
  .left-panel h2 {
    font-size: 1.5rem;
  }

  .location-option p {
    font-size: 0.9rem;
  }
}


/* accordian */
/* Remove Bootstrap's default arrow completely */
.accordion-button::after {
  background-image: none !important;
  content: "+" !important;
  font-size: 20px;
  font-weight: bold;
  transform: none !important;
  margin-left: auto;
  border: 0px;
   color: rgba(81, 37, 32, 1);
}


.accordion-button:not(.collapsed)::after {
  content: "−" !important;
  font-size: 20px;
  font-weight: bold;
   color: rgba(81, 37, 32, 1);
}

.accordion-button {
  font-weight: 500;
  font-size: 16px;
   color: rgba(81, 37, 32, 1);
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: #000;
  box-shadow: none;
}

.accordion-button::after {
  content: "+";
  font-size: 20px;
  transform: none !important;
}

.accordion-button:not(.collapsed)::after {
  content: "−";
  font-size: 20px;
}

.accordion-body {
    border: 0px;
  font-size: 14px;
}
.faq-section{
  padding-top: 100px;
  padding-bottom: 100px;
}
.accordion-header{
  color: rgba(81, 37, 32, 1);
}
.accordion{
  color: rgba(81, 37, 32, 1);
}
.img2 {

  max-width: 80px;
}
.img1 {
  max-width: 80px;
  margin-bottom: 0%;
  padding-bottom: 0%;
}

.logo-pair {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  /* border: none !important; */
  aspect-ratio: 3 / 2;
}


.logo-pair img {
  position: absolute;
  transition: opacity 0.8s ease-in-out;
  max-width: 190px;
  height: auto;
  padding: 5px;
}

.logo-pair .img1 {
  opacity: 1;
  z-index: 1;
}

.logo-pair .img2 {
  opacity: 0;
  z-index: 2;
}
.div11 {
  /* padding: 0 1rem;  */
  margin-bottom: 0 !important;
}

.div11 > .row {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* Fix spacing for the logo row */
.div11 > .row {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.logo-pair img.img1,
.logo-pair img.img2 {
  width: 80%;
  max-height: 60px;
}
.choices__inner {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  padding: 20px 0;
  font-size: 1rem;
  background-color: transparent;
}

.choices[data-type*=select-multiple] .choices__button {
  color: #ec5d24 !important;
  margin-left: 5px;
}

.choices__list--multiple .choices__item {
  background-color: rgba(253, 239, 233, 1) !important;
  border: 1px solid #ccc;
  color: #333;
  padding: 5px 8px;
  margin: 4px 4px 0 0;
  font-size: 0.9rem;
  border-radius: 3px;
}
