/* Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}

/* Header Section */
#header {
    text-align: center;
    padding: 10rem 1rem; /* Adjusted for fixed navbar */
    background: url('assets/company.jpg') no-repeat center center/cover;
    color: #fff;
  }
  
  #header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  #header p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  #header .btn {
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  #header .btn:hover {
    background: #0056b3;
  }
  
/* Navbar Styling */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #007bff, #6610f2);
  position: fixed; /* Keeps navbar fixed at the top */
  width: 100%;
  top: 0;
  z-index: 1000;
  color: #fff;
}

.navbar .logo a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.navbar .logo a i {
  margin-right: 0.5rem;
}

  .navbar .menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
  }
  
  .navbar .nav-list {
    list-style-type: none;
    display: flex;
    align-items: center;
  }
  
  .navbar .nav-list li {
    margin: 0 1rem;
  }
  
  .navbar .nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    transition: color 0.3s;
  }
  
  .navbar .nav-list li a i {
    margin-right: 0.5rem;
  }
  
  .navbar .nav-list li a i {
    margin-right: 0.5rem;
  }
  
  .navbar .nav-list li a:hover {
    color: #ffd700;
  }
  

  /* Responsive Styles navbar and header */
@media (max-width: 768px) {
    .navbar .menu-toggle {
      display: block;
    }
  
    .navbar .nav-list {
      display: none;
      flex-direction: column;
      background: #2e82f0;
      position: absolute;
      top: 100%;
      right: 0;
      width: 100%;
      text-align: center;
    }
  
    .navbar .nav-list.active {
      display: flex;
    }
  
    .navbar .nav-list li {
      margin: 0.5rem 0;
    }
  
    #header {
      padding: 7rem 1rem; /* Adjusted for smaller screens */
      }
}

/* Sections */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.section p {
    font-size: 1rem;
    max-width: 600px;
    margin: auto;
    line-height: 1.6;
}

.section img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 5px;
}

/* about us */

#about-us {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  .about-section {
    text-align: center;
    padding: 40px 20px;
  }

  .about-section h1 {
    font-size: 2.5rem;
    color: #007BFF;
    margin-bottom: 20px;
  }

  .about-section p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.8;
  }

  .capabilities , .segments-served {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }

  .capabilities-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
  }

  .capabilities-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #007BFF;
  }

  .images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
  }

  .images img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  @media (max-width: 768px) {
    .about-section h1 {
      font-size: 2rem;
    }

    .capabilities-item h3 {
      font-size: 1rem;
    }
  }
  /*Certificate Display  */
  .achievements-container {
    text-align: center;
  }
  .title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  .certificates {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .certificate-card {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  .certificate-card:hover {
    transform: scale(1.05);
  }
  .certificate-card img {
    width: 100%;
    height: auto;
  }
  .certificate-title {
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    background-color: #eee;
  }

  /* Responsive certificate adjustments */
  @media (max-width: 768px) {
    .certificate-card {
      width: 90%;
    }
  }
/* our customers */
  main {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    padding: 20px;
}

.customers-container {
    width: 100%;
    max-width: 1200px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    /* color: #f9f9f9; */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid #f9f9f9;
    display: inline-block;
    padding-bottom: 5px;
}

.customer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.customer-item {
    flex: 1 1 200px;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.customer-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.customer-item img {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.customer-item:hover img {
    transform: scale(1.1);
}

.customer-item p {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.customer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 128, 255, 0.1), rgba(255, 0, 128, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.customer-item:hover::before {
    opacity: 1;
}

/* Responsive Design customer */
@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }

    .customer-item {
        flex: 1 1 45%; /* Display two items per row */
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.25rem;
    }
    .customer-item {
        flex: 1 1 100%; /* Display one item per row on small screens */
    }

    .customer-item p {
        font-size: 0.9rem;
    }
}

/* machines */
 .machine-container {
    max-width: 1200px;
    margin: auto;
    background: #d1e3ef;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
} 

 th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    color: #090202;
}

th {
    background-color: #007bff;
    color: #090202;
}

tr:nth-child(even) {
    background-color: #f4eeee;
}

tr:hover {
    background-color: #f1f1f1;
}

.section-title {
    font-size: 18px;
    margin-top: 20px;
    text-align: left;
    color: #444;
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
} */


/* measurement */
.Measurement-container ,{
    max-width: 1200px;
    margin: auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

th {
    background-color: #007bff;
    color: #fff;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Product Gallery Section */
#product {
    padding: 2rem;
    text-align: center;
    background: #fff;
}

#product h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

/* Product Container */
.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

/* Product Item */
.product-item {
    flex: 1 1 calc(20% - 1.5rem); /* 5 items per row */
    max-width: calc(20% - 1.5rem);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Product Image */
.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Product Details */
.product-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}


/* Responsive Design product */
@media (max-width: 1024px) {
    .product-item {
        flex: 1 1 calc(25% - 1.5rem); /* 4 items per row */
        max-width: calc(25% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .product-item {
        flex: 1 1 calc(33.33% - 1.5rem); /* 3 items per row */
        max-width: calc(33.33% - 1.5rem);
    }
}

@media (max-width: 480px) {
    .product-item {
        flex: 1 1 calc(50% - 1.5rem); /* 2 items per row */
        max-width: calc(50% - 1.5rem);
    }
}

/* Backup Power Section */
#backup-power {
    background: #f9f9f9;
    padding: 2rem;
    text-align: center;
}

#backup-power h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Container Layout */
.power-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

/* Image Styling */
.power-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Power Details Styling */
.power-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.power-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    width: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.power-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.power-box i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.power-box h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.power-box p {
    font-size: 1rem;
    color: #666;
}

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

    .power-details {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .power-box {
        width: 100%;
    }
}

/* footer */

footer {
    background-color: #05509c;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: auto;

}

.footer-about, .footer-links,.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-about p {
    margin: 10px 0;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin: 5px 0;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;

}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    font-size: 14px;
}
button {
    background-color: #007BFF;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
  }
  button:hover {
    background-color: #0056b3;
  }
  

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
}
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn:hover {
    background-color: #ff6600;
}

/* Media Queries */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2rem;
    }
    .header-content p {
        font-size: 1rem;
    }
    
    
        .menu-toggle {
            display: block;
        }
    }
/* net worth */
/* Wrapper to center the content */
.net-worth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px; /* Full screen height */
  width: 100%;
  background: linear-gradient(135deg, #2a9d8f, #264653);
  margin: 0;
}

/* Counter container styling */
.net-worth-container {
  text-align: center;
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 80%;
  animation: fadeIn 1s ease-in-out;
}

 /* Fade-in animation */
 @keyframes fadeIn {
  from {
      opacity: 0;
      transform: scale(0.9);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

/* Heading and amount styling */
.net-worth-container h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
}

.net-worth-container .net-worth {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2a9d8f;
  margin: 0;
}


 /* Responsive adjustments */
 @media (max-width: 768px) {
  .net-worth-container {
      padding: 20px;
  }

  .net-worth-container h2 {
      font-size: 1.8rem;
  }

  .net-worth-container .net-worth {
      font-size: 2rem;
  }
}


/*  */
/*  */

/* Body Background */
body {
  background: linear-gradient(135deg, #002b5c, #0056b3, #0088d1); /* Gradient background */
  background-attachment: fixed; /* Creates a parallax-like effect */
  background-size: cover;
  color: white; /* Ensures text is visible */
  font-family: 'Arial', sans-serif;
}

/* Header Section */
.header {
  background: rgba(0, 43, 92, 0.9); /* Slightly transparent dark overlay */
  color: white;
  text-align: center;
  padding: 80px 20px;
  font-size: 36px;
  text-transform: uppercase;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Adds depth */
}

/* Section Backgrounds */
.section {
  background: white; /* Contrast background */
  padding: 40px;
  margin: 20px 10px;
  border-radius: 10px; /* Rounded edges */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  color: #002b5c; /* Professional dark blue */
  text-align: justify;
}

/* Alternating Section Colors */
.section:nth-child(odd) {
  background: #f4f8fc; /* Light blue */
}
.section:nth-child(even) {
  background: #e3eefb; /* Slightly darker blue */
}

/* Button Styling (for Call-to-Action) */
.button {
  background: #0056b3;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  transition: background 0.3s ease;
}
.button:hover {
  background: #ffc107; /* Change to gold on hover */
  cursor: pointer;
}
