/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    color: #333333;
    font-weight: 700;
  }
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Header Section */
  .header {
    background: rgba(0, 0, 0, 0.7);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    z-index: 10;
    padding: 10px 20px;
  }
  .logo-nav {
    display: flex;
    align-items: center;
  }
  .header img {
    max-height: 50px;
    margin-right: 20px;
  }
  .navbar {
    display: flex;
  }
  .navbar a {
    font-family: 'Roboto', sans-serif;
    color: #F0F0F0;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.2rem;
  }

  .navbar a:hover {
    color: #1ab555;
    text-decoration: underline;
}
  
  /* Language Switcher */
  .language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .language-switcher .flag {
    width: 30px;
    height: 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
  }
  .language-switcher .flag:hover {
    transform: scale(1.1);
  }

  /* Hero Section with Slider */
  .hero-section {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
  }
  .slider {
    height: 100%;
    width: 100%;
    position: relative;
  }
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  .slide.active {
    opacity: 1;
  }
  .slide-overlay {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 5px;
  }
  .slide-overlay h2 {
    color: #FFFFFF; /* or any other color you prefer */
    font-family: 'Roboto', sans-serif;
    text-shadow: 3px 3px  rgba(0, 0, 0, 1);
  }
  
  .slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
  }
  .slider-nav span {
    cursor: pointer;
    font-size: 2rem;
    color: #FFFFFF;
    padding: 0 20px;
  }
/* Team Column */
.teambox {
  display: flex;
  justify-content: center; /* Center content vertically */

}
.team {
    flex: 1;
    max-width: 500px;
    background: #afc2ed; /* Light grey background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 15px;
    text-align: center;
}

/* Team Heading */
.team h3 {
    font-size: 1.8rem;
    color: rgb(50, 85, 128);
    font-family: 'Lora', serif;
    margin-bottom: 15px;
}

/* Team Text */
.team p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-machinery-grid {
        flex-direction: column;
        align-items: center;
    }

    .team {
        max-width: 100%;
    }
}
/* Machinery Section Styling */
.machinery-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f4f4f4;
  }
  
  .machinery-text {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
  }
  
  /* Machinery Gallery Grid */
  .machinery-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
  }
  
  /* Machinery Item Styling */
  /* Machinery Item (Default State) */
  .machinery-item {
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  /* Show Items when Scrolled into View */
  .machinery-item.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Makes images cover the space without distortion */
  .machinery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
  }
  
  
  
  .our-work-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    text-align: center;

  }
  .our-work-section .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  .our-work-section h1 {
    margin-bottom: 20px;
  }
  .our-work-section p {
    margin-bottom: 15px;
    color: #333333;
    }
  

  /* Footer Section */
  .footer {
    background-color: #222; /* Dark background for the footer */
    color: white;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h2 {
    font-family: 'Lora', serif; /* Elegant font for the logo */
    font-size: 2rem;
    color: #fff;
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 1rem;
    color: #f1f5f2;
}

.footer-contact p {
    font-size: 1.1rem;
    color: #f1f5f2;
    margin: 5px 0;
}

.footer-contact a {
    color: #377968; 
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline; /* Underline on hover for better user experience */
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px; /* Spacing between icons */
}

.social-icons a {
  color: #377968;
  font-size: 35px; /* Icon size */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row; /* Arrange content horizontally for larger screens */
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-logo {
        text-align: left;
    }

    .footer-contact {
        text-align: right;
    }
}