/* General Styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f4f4f4;
  position: relative; /* Ensure the header is positioned correctly */
  z-index: 1000; /* Ensure the header is above other elements */
}

.logo {
  display: flex;
  align-items: center; /* Vertically center the logo and text */
}

.logo-text {
  margin-left: 10px; /* Add some space between the logo and text */
  font-size: 24px; /* Adjust the font size as needed */
  font-weight: bold; /* Make the text bold */
  color: #333; /* Set the text color */
}

.logo img {
  height: 40px; /* Adjust the height as needed */
  width: auto; /* Maintain aspect ratio */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none; /* Hide by default on desktop */
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1000; /* Ensure it's above other elements */
}

.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  width: 100%;
  height: 3px;
  background-color: #333; /* Hamburger color */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: '';
  width: 100%;
  height: 3px;
  background-color: #333; /* Hamburger color */
  position: absolute;
  left: 0;
  transition: transform 0.2s ease;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  top: 8px;
}

/* Active State for Hamburger */
.hamburger.active .hamburger-inner {
  transform: rotate(45deg);
}

.hamburger.active .hamburger-inner::before {
  transform: rotate(90deg);
  top: 0;
}

.hamburger.active .hamburger-inner::after {
  transform: rotate(90deg);
  top: 0;
}

/* Navigation Menu Styles */
.nav-menu {
  display: flex;
  z-index: 1001; /* Ensure the nav-menu is above the header and banner */
}

.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Hero Banner */
.hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.banner {
  position: relative;
  z-index: 2;
}

.banner h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.banner p {
  font-size: 18px;
  margin-bottom: 30px;
}

#pointCloudCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, #007bff, #00bfff); /* Fallback background */
}

.cta-button {
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #0056b3;
}

/* Services Section */
.services {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.services h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.card p {
  font-size: 16px;
  color: #666;
}

/* About Section */
.about {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.about h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.about p {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Core Values Section */
.values {
  margin-top: 60px;
}

.values h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #333;
  text-align: center;
}

.value-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.value {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.value h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
}

.value p {
  font-size: 16px;
  color: #666;
}

/* Mission & Vision Section */
.mission-vision {
  margin-top: 60px;
  padding: 40px 20px;
  background: #f0f0f0; /* Light grey background */
  text-align: center;
}

.mission-vision h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #333;
}

.mission, .vision {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

.mission h3, .vision h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
}

.mission p, .vision p {
  font-size: 16px;
  color: #666;
}

/* History Section */
.history {
  margin-top: 60px;
}

.history h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.history ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.history li {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.history li::before {
  content: "•";
  color: #007bff;
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -4px;
}

/* Contact Section */
.contact {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.contact h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.contact p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bff;
  outline: none;
}

.form-group textarea {
  resize: vertical;
}

.cta-button {
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #0056b3;
}

/* CTA Section */
.cta-section {
  margin-top: 60px;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #007bff, #00bfff); /* Matching banner gradient */
  color: #fff;
}

.cta-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-section .cta-button {
  padding: 10px 20px;
  background: #fff;
  color: #007bff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
}

.cta-section .cta-button:hover {
  background: #0056b3;
  color: #fff;
}


/* Products Section */
.products {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.products h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.products p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  font-size: 22px;
  margin: 20px 0 10px;
  color: #333;
}

.product-card p {
  font-size: 16px;
  color: #666;
  padding: 0 20px;
  margin-bottom: 20px;
}

.product-card .cta-button {
  display: inline-block;
  margin: 0 20px 20px;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.product-card .cta-button:hover {
  background: #0056b3;
}

/* Filters */
.filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-button {
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.filter-button.active {
  background: #0056b3;
}

.filter-button:hover {
  background: #0056b3;
}

/* Product Icons */
.product-icon {
  font-size: 32px;
  color: #007bff;
  margin: 20px 0;
}

/* Animations */
.product-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Product Details Section */
.product-details {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.product-details h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.product-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Media Section */
.media-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px; /* Added margin on left and right */
}

.media-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
  text-align: left;
}

/* Media Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.media-item {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Video Thumbnail */
.video-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.video-thumbnail .fa-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 50%;
}

/* Product Info */
.product-info {
  text-align: left;
  max-width: 800px;
  padding: 0 40px; /* Added margin on left and right */
}

.product-info p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.product-info h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
}

.product-info ul {
  list-style: none;
  padding: 0;
}

.product-info ul li {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.product-info ul li::before {
  content: "•";
  color: #007bff;
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -4px;
}

/* Modal */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
  z-index: 1000; /* Ensure it's on top of everything */
}

.modal-content {
  position: relative;
  top: 10%; /* Position 10% from the top */
  left: 10%; /* Position 10% from the left */
  width: 80%; /* Take up 80% of the viewport width */
  max-width: 90%; /* Limit maximum width */
  max-height: 90%; /* Limit maximum height */
  background: #fff; /* White background */
  border-radius: 10px; /* Rounded corners */
  overflow: hidden; /* Ensure content doesn't overflow */
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  padding: 20px; /* Add padding for better spacing */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

.modal-media {
  display: none; /* Hidden by default */
  max-width: 100%; /* Ensure it doesn't overflow */
  max-height: 80vh; /* Limit height */
  border-radius: 10px; /* Rounded corners */
  margin: auto; /* Center the media inside the modal-content */
}

.modal iframe {
  width: 800px; /* Default width for videos */
  height: 450px; /* Default height for videos */
  border: none; /* Remove iframe border */
  max-width: 100%; /* Ensure it's responsive */
  max-height: 80vh; /* Limit height */
}

.close {
  position: absolute;
  top: 10px; /* Position close button at the top-right */
  right: 10px;
  font-size: 30px;
  color: #fff; /* White color for the close button */
  cursor: pointer; /* Pointer cursor on hover */
  z-index: 1001; /* Ensure it's on top of the modal content */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  border-radius: 50%; /* Circular button */
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease; /* Smooth hover effect */
}

.close:hover {
  background: rgba(0, 0, 0, 0.8); /* Darker background on hover */
}


/* Footer */
footer {
  background: #333; /* Dark background */
  color: #fff; /* White text */
  padding: 40px 20px 20px; /* Top, sides, and bottom padding */
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 20px;
  border-bottom: 1px solid #444; /* Divider line */
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-section p {
  font-size: 14px;
  color: #ccc; /* Light gray text */
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc; /* Light gray text */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #007bff; /* Blue color on hover */
}

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

.social-icons a {
  color: #ccc; /* Light gray icons */
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #007bff; /* Blue color on hover */
}

.footer-bottom {
  padding-top: 20px;
  font-size: 14px;
  color: #ccc; /* Light gray text */
}



/* Responsive Styles */
@media (max-width: 768px) {

  
  header {
    padding: 15px 20px; /* Adjust padding for mobile */
  }
 
  .hamburger {
    display: block; /* Show hamburger on mobile */
  }

  .nav-menu {
    display: none; /* Hide nav by default on mobile */
    flex-direction: column;
    width: 100%;
    background: #f4f4f4; /* Match header background */
    position: absolute;
    top: 80px; /* Adjust based on header height */
    left: 0;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex; /* Show nav when active */
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .nav-menu li {
    margin: 0;
  }

  .nav-menu a {
    font-size: 18px;
  }
}