
body { 
    font-family: sans-serif; 
    background-color: #f9f9f9; 
    margin: 0; display: flex; 
    flex-direction: column; 
    min-height: 100vh; }
#About{
    padding: 80px 0;
    color: #ababab;
    height: auto;
    margin-top: 0;
    margin-bottom: 10px;
}
.display-pic{
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    background-position: center;
    align-items: center;
    justify-content: center;
    background-size: cover;
    height: 350px; /* Adjust height as needed */
    overflow: hidden;
    position: relative;
    z-index: -1;
}
#heading {
    position: absolute;
    top: 35%; left: 50%; 
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 45px;
    color: whitesmoke;
    font-weight: 600;
}
.home-text {
    position: absolute;
    top: 60%; left: 50%; 
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 30px;
    color: red;
}
.display-pic img{
    background-position: center;
    height: auto;

}
#content{
    margin-top: 10%;
    margin-bottom: 15%;
    margin-left: auto;
    max-width: 1200px;
    max-height: 400px;
    height: auto;
    background-color: #f9f9f9;
}

#content h2 {
    text-align: center;
    font-size: 24px;
    margin: 20px;
    color: #333;
}
.industry {
    margin-bottom: 10px;
    height: auto;
}
.industry h3 {
    font-size: 50px;
    margin-bottom: 20px;
    margin-left: 35%;
    color: #0056b3;
    align-items: center;
    justify-content: centers;

}
.industry li {
    font-size: 20px;
    justify-content: center;
    align-items: center;
}
.industry p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}
   /**************services***********************/
   .servic {
    padding: 80px;
    height: 80vh;
    width: 100%;
    box-sizing: border-box;
    background-image: url(images/all\ industries.jpg);
    justify-content: center;
    align-items: center; /* Changed for centering */
    background-attachment: fixed;
    background-size: cover;
    display: flex; /* Added for centering */
    flex-direction: column; /* Ensures children are stacked vertically */
    z-index: 1; /* Lower z-index than the nav bar */ 
    margin-top: 50px;
    margin-bottom: -500px;
}

.servic .contain {
    margin: 5px;
    margin-bottom: 150px;
    margin-left: 5px;
    width: 100%;
    height: auto; /* Removed fixed height for flexibility */
    margin-top: 150px;
    display: flex; /* For centering */
    align-items: center;
    flex-direction: column; /* Ensures children are stacked vertically */
}
.sub-title2 {
    font-size: 24px;
    text-align: center;
    justify-content: center;
    color: white;
}
.footer-section{
    width: 100%;
    height: auto;
    margin-top: 500px;
    margin-bottom: -100px;
    background:rgb(58, 136, 129);
    color: #fff;
    padding: 5px 0 40px;
    border-top-left-radius: 125px;
    font-size: 16px;
    line-height: 20px;
}
.contactus{
background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer; 
  margin-top: -85px;
}
.contactus a{
    text-decoration: none;
}
.contactus:hover{
    background-color: rgb(58, 136, 129);
}
@media screen and (max-width: 600px) {
  .menu-bar {
    height: 13vh;
    flex-direction: column;
    padding: 10px;
}

.logo {
    width: 100%;
    text-align: left;
    margin: 10px 0;
}

.logo h1 {
    width: 100%;
    height: auto;
    margin: 0;
}

.menu-bar ul {
    position: fixed;
    background: rgb(58, 136, 129);
    top: 0;
    right: 0;
    width: 250px;
    height: 44vh;
    padding-top: 50px;
    z-index: 2;
    transition: right 0.5s;
    flex-direction: column;
    align-items: flex-start;
}

.menu-bar ul li {
    width: 100%;
    margin: 0;
    padding: 10px;
    border-bottom: 1px dotted #fff;
}

.menu-bar ul li a {
    display: block;
    width: 100%;
}

.sub-menu-1 {
    position: static;
    display: none;
    margin: 0;
    width: 100%;
}

.menu-bar ul li:hover .sub-menu-1
{
    display: block;
    position: absolute;
    background: rgb(58, 136, 129);
    margin-top: 15px;
    margin-left: -25px;
}
.menu-bar ul li:hover .sub-menu-1 ul
{
    display: block;
    margin: 10px;
}

.sub-menu-2 {
    position: static;
    display: none;
    margin: 0;
    width: 100%;
}

.hover-me:hover .sub-menu-2 {
    position: static;
    margin: 0;
    margin-left: -10px; /* Shift content to the left */
}

.fa-angle-down,
.fa-angle-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    float: none;
}

/* Mobile Menu Toggle */
.fas.fa-bars,
.fas.fa-times {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 27px;
    cursor: pointer;
    z-index: 3;
    color: white;
}

.fas.fa-times {
    right: 200px;
}

/* Accessibility and Interaction Enhancements */
.menu-bar ul li a:hover {
    color: violet;
}
.menu-bar ul li:hover .sub-menu-1,
.hover-me:hover .sub-menu-2 {
    position: static;
    margin: 0;
}
    #About {
      padding: 20px 10px;
      
    }
  
    .display-pic {
      height: 50vh; 
      width: 100%;/* Adjust height as needed */
    }
  
    #heading {
      font-size: 28px;
      margin-top: 7%;
    }
  
    .home-text {
      font-size: 18px;
    }
  
    #content {
      max-width: 100%; /* Adjust max-width as needed */
      height: auto;
    }
  
    #content h2 {
      font-size: 18px;
    }
  
    .industry h3 {
      font-size: 28px;
      margin-left: -5%;
      text-align: center;
    }
  
    .industry li, .industry p {
      font-size: 16px;
    }
    .industry{
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        max-height: 40vh;
    }
  
    .servic {
      padding: 50px;
      height: auto; /* Remove fixed height */
    }
  
    .servic .contain {
      margin: 10px;
      margin-bottom: 50px;
      margin-top: 50px;
    }
  
    .sub-title2 {
      font-size: 20px;
    }
    .contactus{
        margin-top: 5%;
    }
    .rows{
        margin: 12px;
    }
    .footer-section {
      height: 162vh;
      width: 100%;
    }
  }