/********************** General styles **********************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  overflow-x: hidden;
  background-color: #f5f5f5;
}

header {
  position: fixed;
  width: 100%;
  background-color: rgba(0, 0, 0, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  z-index: 1000;
}

.logo {
  color: white;
  font-size: 28px;
  font-weight: bold;
}

.small-logo {
  height: 50px; /* Adjust as needed */
  width: auto; /* Keeps aspect ratio */
  margin-right: 10px; /* Space between logo and text */
  vertical-align: middle; /* Aligns with text */
}


nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ff8c00;
}

@media (max-width: 809px) {
  nav {
    display: none;
  }
}

.cta-button {
  background-color: #ff8c00;
  color: white;
  padding: 10px 20px;
  border: none;
  text-decoration: none;
  font-size: 16px;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e67e00;
}

/********************** Video Section **********************/
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures it fills the container while maintaining aspect ratio */
  max-width: 100vw; /* Ensures it doesn’t exceed the browser width */
  max-height: 100vh; /* Ensures it doesn’t exceed the viewport height */
}


.hero-text {
  position: relative;
  z-index: 2; /* Ensure text is on top */
}

.dot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5) url('dots.png') repeat;
  z-index: 1; /* Ensure overlay stays behind text */
}


.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 30px;
}

/********************** About us Section **********************/
.about-section {
  display: flex;
  padding: 100px 50px;
  background-color: #f5f5f5;
}

.about-content {
  flex: 1;
  padding-right: 50px;
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.6;
}

.about-content a {
	text-decoration:none
}

.about-image {
  flex: 1;
  text-align:center
}

.about-image img {
  width: 534px;
  max-width: 50vw;
  height: auto; /* Maintains aspect ratio */
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 809px) { /* Adjust based on layout */
  .about-image  {
    display: none; /* Limits width to at most 50% of the viewport width */
  }
}


/* Services Section */
.services-section {
  padding: 100px 50px;
  background-color: #fff;
}

.services-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.services-container {
  display: flex;
  justify-content: space-between;
}

.service {
  flex: 1;
  padding: 20px;
  text-align: center;
  background-color: #f9f9f9;
  margin: 0 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
}

.service h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.service p {
  font-size: 16px;
  line-height: 1.5;
}

/* Case Studies Section */
.case-studies-section {
  padding: 100px 50px;
  background: linear-gradient(to bottom, #333, #222);
  color: white;
}

.case-studies-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
}

.case-study {
  background-color: #444;
  padding: 20px;
  border-radius: 5px;
  min-width: 0; /* Prevents flex item overflow */
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden; /* Ensures internal overflow doesn't cause scroll */
  flex: 1 0 0%; /* Allows shrinking below 300px */
}


.case-study h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.case-study p {
  font-size: 16px;
  margin-bottom: 20px;
}

.case-study a {
  color: #ff8c00;
  text-decoration: none;
}

.case-study a:hover {
  text-decoration: underline;
}

.product-preview {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
}

/* Contact Section */
.contact-section {
  padding: 100px 50px;
  position: relative;
  overflow: hidden;
  color: white;
  background: url("media/Pioneer10-plaque.jpg") no-repeat center center;
  background-size: cover; /* Ensures the image fills the width */
  background-position: center 0px;
  background-repeat: no-repeat;
}



.contact-content {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 50px;
  border-radius: 5px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
}

.contact-content form {
  display: flex;
  flex-direction: column;
}

.contact-content form input,
.contact-content form textarea {
  padding: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  border: none;
  border-radius: 3px;
  resize: vertical; /* Restricts resizing to only vertical direction */
  width: 100%; /* Ensures it doesn't expand beyond its container */
  max-width: 100%; /* Prevents unintended horizontal growth */
}


.contact-content form button {
  padding: 10px;
  background-color: #ff8c00;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-content form button:hover {
  background-color: #e67e00;
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  padding: 40px 50px;
  font-size: 14px;
}

footer .company-info {
  color: #ccc;
  font-size: 14px;
  line-height: 1.2;
}

footer .company-info p {
  margin: 0;
}

footer .company-info a {
  color: #ccc; /* Makes the email stand out */
  text-decoration:none
}

footer .company-info a:hover {
  color: #ff8c00;
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
}


footer .quick-links a,
footer .social-icons a {
  color: #ccc;
  text-decoration: none;
  margin-right: 15px;
  transition: color 0.3s ease;
}

footer .quick-links a:hover,
footer .social-icons a:hover {
  color: #ff8c00;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
}


.footer-bottom p {
  font-size: 12px;
}

.footer-left,
.footer-center {
  flex: 1 1 100%;
  text-align: center;
  color: #777;
  padding: 0px 10px;
}


/* Media Queries */
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
  }
  .service {
    margin: 20px 0;
  }
}
