/* Root Variables */
:root {
  --primary-color: #ff8c00;
  --secondary-color: #1a1a1a;
  --text-color: #333;
  --background-color: #f4f4f4;
  --light-text-color: #d1d1d1;
  --heading-font-size: 2em;
  --subheading-font-size: 1.5em;
  --paragraph-spacing: 1.5em;
  --line-height: 1.8;
  --icon-background-color: #333333; /* Darker grey background for the icon */
  --separator-color: #e0e0e0; /* Light grey color for section separators */
}

/* General Body Styling */
body {
  font-family: "DM Sans", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  /* background-color: var(--background-color); */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  scroll-behavior: smooth; /* Smooth scrolling */
}

/* Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  background-color: white; /* Always visible */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Visible shadow for definition */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar img {
  height: 50px;
  margin-right: auto;
  max-width: 100%;
}

.nav-links-wrapper {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-end;
  max-width: 100%;
}

.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  margin-left: auto;
  max-width: 100%;
  overflow-x: hidden;
}

.nav-links li {
  max-width: 100%;
}

.nav-links li a {
  text-decoration: none;
  color: black; /* Dark color for visibility */
  font-weight: bold;
  padding: 8px 10px;
  font-size: 1em;
  padding-right: 70px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--primary-color); /* Change color on hover */
}

/* Hamburger Button for Mobile View */
.hamburger-button {
  display: none; /* Hidden by default for larger screens */
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 1.8em;
  cursor: pointer;
  z-index: 1100;
}

@media only screen and (max-width: 600px) {
  .hamburger-button {
      display: flex;
      align-items: center;
      justify-content: center;
      background: white;
      border: none;
      font-size: 1.8em;
      cursor: pointer;
      margin-left: auto;
      padding-right: 60px;
      z-index: 1100;
      
      max-width: 100%;
  }

  .nav-links-wrapper {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Start directly under the navbar */
    background-color: #fff;
    width: 100%;
    position: absolute;
    top: 50px; /* Align directly under the navbar */
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    padding: 0; /* Remove extra padding */
}

.nav-links {
  margin: 5px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the links */
  gap: 20px; /* Space between links */
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  align-items: center;
  text-align: center;
  font-size: 1.2em;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--primary-color);
}


  .nav-links-wrapper.active {
      display: flex;
      background-color: white;
      width: 100%;
      position: absolute;
      align-items: center;
      top: 75px;
      right: 0;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      z-index: 999;
  }

  .nav-links-wrapper.active .nav-links li a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
    color: var(--primary-color);
  }
}

/* Content Section Styling */
.content-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  line-height: var(--line-height);
  font-size: 1.1em;
}

.content-section h2 {
  font-size: var(--heading-font-size);
  margin-top: 40px;
  display: flex;
  align-items: center; /* Align icon and text vertically */
  gap: 10px; /* Space between icon and text */
}

.heading-icon {
  width: 40px; /* Adjust size as needed */
  height: 40px;
  padding: 5px;
  background-color: var(--icon-background-color); /* Darker grey background */
  border-radius: 5px; /* Optional: Rounded corners */
}

.content-section h3 {
  font-size: var(--subheading-font-size);
  margin-top: 30px;
  border-left: 4px solid var(--primary-color); /* Decorative left border */
  padding-left: 10px; /* Space between border and text */
}

.content-section h4 {
  font-size: 1.3em;
  font-style: italic;
  color: var(--secondary-color); /* Use a darker, more neutral color */
}

.content-section p {
  margin-bottom: var(--paragraph-spacing);
  text-align: justify;
}

/* Section Separators */
.content-section + .content-section {
  border-top: 2px solid var(--separator-color); /* Light grey separator between sections */
  padding-top: 30px;
}

.elv-image-container {
  text-align: center;
  margin-bottom: 40px; /* Space below the image */
}

.elv-services-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Back to Top Button */
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: var(--primary-color);
  border: none;
  padding: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
  max-width: 100%;
}

#backToTop svg {
  width: 24px;
  height: 24px;
}

#backToTop:hover {
  background-color: #e67600;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Product Logo Grid Section */
.product-logo-grid-section {
  padding: 60px 20px;
  padding-bottom: 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


.product-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.product-logo-item {
  padding: 0; /* Remove padding to eliminate the box effect */
  background-color: transparent; /* Ensure no background color */
  transition: transform 0.3s ease;
}

.product-logo-item img {
  max-width: 150px; /* Ensure logos are uniform in size */
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto; /* Center the logos */
}


/* General Footer Styling */
.footer {
  background-color: #1a1a1a;
  color: #d3d3d3;
  padding: 50px 15px;
  font-family: "DM Sans", sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}

.footer-left {
  flex: 1;
  text-align: left;
  padding-top: 30px;
}

.footer-left img.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  display: block;
}

.footer-left p {
  max-width: 300px;
  line-height: 1.6;
  color: #bfbfbf;
}

.footer-right {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-quick-links,
.footer-contact-info {
  flex: 1;
  min-width: 220px;
  text-align: right;
  overflow-x: hidden;
}

.footer-quick-links h4,
.footer-contact-info h4 {
  margin-bottom: 10px;
  font-size: 1em;
  color: white;
  font-weight: bold;
}

.footer-quick-links ul,
.footer-contact-info ul {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--primary-color);
  overflow-x: hidden;
}

.footer-quick-links ul li,
.footer-contact-info ul li {
  margin-bottom: 0px;
  overflow-x: hidden;
}

.footer-quick-links ul li a,
.footer-contact-info ul li a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.85em;
  transition: color 0.1s ease;
  overflow-x: hidden;
}

.footer-quick-links ul li a:hover,
.footer-contact-info ul li a:hover {
  color: #d3d3d3;
  text-decoration: underline;
  text-underline-offset: 3.5px;
}

/* Footer Bottom Section */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.85em;
  color: #a6a6a6;
}

.footer-bottom .social-media {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer-bottom .social-media a img {
  width: 30px;
  height: 30px;
  background-color: #000;
  padding: 10px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.footer-bottom .social-media a img:hover {
  background-color: var(--primary-color);
}

/* Responsive Footer Design */
@media (max-width: 600px) {
  .footer-container {
  display: flex;
  flex-direction: column;   /* Stack items vertically */
  align-items: center;      /* Center items horizontally */
  text-align: center;       /* Center text */
  padding: 15px;
  width: 100%;
  box-sizing: border-box;   /* Include padding in width calculation */
}

.footer-left, .footer-right {
  width: 100%;
  margin-bottom: 20px;      /* Add space between sections */
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-left p {
  text-align: center;
  max-width: 300px;
  line-height: 1.6;
  color: #bfbfbf;
}

.footer-right ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;   /* Stack items vertically */
  align-items: center;      /* Center items horizontally */
  gap: 5px;                 /* Space between list items */
}

.footer-right h4, .footer-left h4 {
  text-align: center;
  margin-bottom: 10px;      /* Ensure heading is close to content */
  text-transform: uppercase;/* Optional: Make headings uppercase */
}

.footer-bottom {
  text-align: center;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid #444;
}

.footer-bottom .social-media {
  display: flex;
  justify-content: center;  /* Center align icons */
  gap: 15px;
  width: 100%;              /* Full width to ensure proper alignment */
  margin-bottom: 10px;      /* Add a bit of space below icons */
}

.footer-bottom .social-media a img {
  margin: 0 10px;
}

.footer-bottom .rights {
  margin-top: 5px;
  font-size: 0.85em;
  color: #a6a6a6;
  text-align: center;       /* Center the copyright text */
  width: 100%;
}
}
