
/* For sizing, use rem which is a scaled value of the html font size. All else equal default value is 16pxl, but this can be changed by user preferences.*/

/* BOX SIZING */
* {
    box-sizing: border-box;
}

/* LINKS */
a {
  color: black;
  text-decoration: none;
  /* font-weight: bold; */
}

.faq a{
  font-weight: bold;
}

a:hover {
  color: blue;
  text-decoration: none;
}


/* BODY */
body{
    background-color: #ffffff;
    font-family: 'Open Sauce One', sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
}

/* HEADERS */
h1 {
  padding-top: 1rem;
  color:black;
  font-size: 4rem;
  text-align: center;
  line-height: 1.1;
}

/* SUBSEQUENT HEADERS */
h2 {
  background-color: #036981;
  padding: 1.8rem;
  color: white;
  font-size: 1.75rem;
  text-align: center;
  line-height: 1.1;
}

p, h3, h4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* IMAGES */
img{
    max-inline-size: 100%;
}

/* SECTIONS */
section{
    margin-block: 0px;
}

/* UNORDERED LISTS */
ul {
  padding-right: 1rem;
}


ul li { padding: 5px 0px; }

ol li { 
  padding: 5px 0px;
  padding-right: 1rem;
      
}

/* ----------------------------------------------------------------------------------------------------- */
/* HEADER, LOGO AND NAVIGATION  */
header {
  background-color: #F5BE27;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: relative;
  flex-wrap: wrap;
}

.logo img{
  height: 70px;

  @media screen and (min-width: 600px) {
   height: 90px;
}
}

.primary-navigation {
  display: flex;
}

.main-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  text-decoration: none;
  color: black;
  padding: 10px;
  display: block;
  font-weight: normal; 
}

.main-menu a:hover {
  background-color: #F5BE27;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #F5BE27;
  list-style: none;
  min-width: 200px;
  z-index: 10;
}

.dropdown-menu li a {
  padding: 10px 15px;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: black;
  cursor: pointer;
}

/* Desktop hover dropdown */
@media (min-width: 601px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Mobile styles */
@media (max-width: 929px) {
  .primary-navigation {
    width: 100%;
    flex-direction: column;
    display: none;
  }

  .primary-navigation.active {
    display: flex;
  }

  .main-menu {
    flex-direction: column;
    gap: 0;
  }

  .main-menu li {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
  }

  .dropdown-menu li a {
    padding-left: 30px;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .menu-toggle {
    display: block;
  }
}

/* ----------------------------------------------------------------------------------------------------- */
/* * REQUEST BID SECTION */ 

/* Buttons */
.button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem; 
  margin-bottom: 1rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.button-group button {
  padding: 1.5rem 1.5rem;
  font-size: inherit;
  cursor: pointer;
  white-space: nowrap;
}

button{
  justify-content: center;
  background-color: black; 
  border: none;
  border-radius: 10px;
  padding: 3rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: inherit;
  white-space: nowrap;
}

.contact-button a{
  color: white;
  padding: 3rem;
}

.request-bid{
  /* background-color: rgb(191, 224, 243); */
  color: black;
  text-align: center;
  padding-top: 0rem;
  padding-bottom: 1rem;
}

.request-bid p {
  font-size: 1.75rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
  margin: 1rem;
}

/* ----------------------------------------------------------------------------------------------------- */
/* INDEX PAGE */

/* banner image */
.banner img{
  width: 100%;
  height: auto;
  display: block;
}

.main-info {
  margin: 1rem;
  background-color: #dfe7e6;
  /* border: 2px solid black; */
  border-radius: 12px;
  transition: background-color 0.3s ease;
  color: #333;
  overflow: hidden;
}

.business-info{
  margin: 0;
  font-size: 1.5rem;
  color: black;
}

.business-name{
  margin-bottom: 1rem;
  font-size: 3rem;
}

.moveable-content {
  padding: 1rem;
  text-align: left;
}

.moveable-content ul{
  text-align: left;
}

#left-push ul{
  text-align: left;
}

/* MULTI COLUMN LAYOUT */
.two-column-layout, 
.three-column-layout {
  display: block; /* Default for smaller screens */
  margin-left: 2rem;
  margin-right: 2rem;
}

.two-column-layout > div,
.three-column-layout > div {
  margin-bottom: 20px; /* Adjust as needed */
}

/* .photos{
  margin-block: 2rem;
} */

/* #combined {
  display: flex;
  flex-wrap: wrap;        
  gap: 1rem;
  width: 100%;
  align-items: stretch;   
} */

/* #combined > div {
  flex: 1 1 300px;        
  display: flex;
  flex-direction: column;  
  border-radius: 10px;
  overflow: hidden;
} */

/* Images inside divs */
/* #combined img {
  width: 100%;
  flex: 1 0 auto;         
  object-fit: cover;
  display: block;
} */

/* Paragraph styling */
/* #combined p {
  padding: 1rem;
  margin: 0;
  background-color: #d8e7e4;
  color: black;
  flex: 0 0 auto;         
} */

/* On smaller screens, move the "big" div to the top */
/* @media (max-width: 600px) {
  #top-pic {
    order: -1; 
  }
} */

/* .wrapped-img {
  float: left;
  margin: 10px 30px 30px 30px; 
  width: 250px;
} */
/* 
.privacy-overview, 
#join-our-team{
  margin: 0px;
} */

/* INDEX PAGE OVERVIEW */
/* 360 mobile, 666 landscape mobile, 768 tablet, 1024 large tablet, 1300 desktop */

.service-title a{
    text-decoration: none;
    color: #ffffff;
}

/* Shared styles */
/* #descriptive,
#diagnostic,
#predictive,
#prescriptive {
  position: relative;
  width: 100%;
  height: 15rem;
  background-color: lightblue;
  border-radius: 1rem;
  overflow: hidden;
} */
#descriptive,
#diagnostic,
#predictive,
#prescriptive {
  display: flex;
  flex-direction: column;
  background-color: lightblue;
  border-radius: 1rem;
  overflow: hidden;
}

.service-title{
    background-color: #0d608f;
    color: white;
    padding: 10px;
    text-align: center;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

footer {
  background-color: #079e84;
  background-image: linear-gradient(rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.10)), 
    url('../images/desktop/background-image.webp');
  background-position: bottom;
  padding: 1.5rem;
  margin-top: 1rem;
  size: 1rem;

  @media screen and (max-width: 600px) {
    font-size: 15px;
  }
  
}

.footer-text{
    color: white;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;         
    gap: 0.5rem;  
}

@media screen and (max-width: 600px) {
    .footer-text {
      flex-direction: column;
      align-items: center;    /* Optional: center-align on small screens */
      text-align: center;     /* Optional: center text */
    }
  }

.footer a{
  color: white;
}

.footer a:visited { text-decoration: none; color:white; }

/* MEDIA QUERIES */
/* Default = 360 */
/* 666, 768, 1024, 1300 */

/* @media screen and (min-width: 1100px) {
  
  .overview{
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
} */

/* AT 400PX */
@media screen and (min-width: 400px) {
  .two-column-layout{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .three-column-layout{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* AT 1025PX */
@media screen and (min-width: 1025px) {
  
  #services-section .two-column-layout{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
  }

  .service-areas ul{
    column-count: 5;
  }


  #services-section, .about-us, .faq{
    margin: 1rem;
    /* background-color: #e3f3ef; */
    /* background-color: #dfe7e6; */
    /* border: 2px solid black; */
    border-radius: 12px;
    background-color: white;
    /* transition: background-color 0.3s ease; */
    color: #333;
    overflow: hidden; /* ensures rounded corners clip children */
  }
}
  
.faq p{
  font-weight: normal;
}

.moveable-div h2, 
#services-section h2,
/* .service-areas h2, 
.testimonials h2,  */
/* .our-process h2,  */
.faq h2,
.about-us h2 {
    margin: 0rem;
    padding: 1.8rem 2rem;
    background-color: #F5BE27;
    color: black;
  }

  .main-info p {
    text-align: center;
    font-size: 2rem;
  }

@media (max-width: 666px) {
  .main-info p {
    font-size: 1.5rem; /* smaller font size */
  }
}

.responsive-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    margin: 2rem;
  }
  
  /* Default: side-by-side */
  .responsive-box img {
    width: 300px;
    height: auto;
    border-radius: 8px;
  }
  
  .text-content {
    flex: 1;
    min-width: 0;
  }
  
  /* STACK + FULL WIDTH ON SMALL SCREENS */
  @media (max-width: 666px) {
    .responsive-box {
      flex-direction: column;
    }
  
    .responsive-box img,
    .responsive-box .text-content {
      width: 100%;
    }
  }
  
  #request-form{
    text-align: center;
  }
  
  #submit-button{
    background-color: #0d608f;
    color: white;
    padding: 1rem;
  }