body {
    font-family: Georgia, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 24px;
    background-color: #000000;
    background-image: url('bg-image.jpg');
    background-size: cover; /* Position the background for readability */
    color: #fff;
}


header {
    background-image: url('header-bg.png');
    background-size: contain ;
    background-position: center;
    position: fixed;
    top: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}
header.shrink {
    padding: 10px;
    background-color: #0000009f;
}

header .logo img {
    width: 400px; /* Large size */
    height: auto;
    margin-left: 8em;
    transition: width 0.3s ease;
    }

header .logo img:hover {
    box-shadow: 0 2px 2px rgba(78, 78, 78, 0.1)
}

header.shrink .logo img {
    width: 200px; 
    margin-left: 8em;
    height: auto;/* Small size */
}

header nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
    margin-right: 8em;
    list-style-type: none;
    font-size: x-large;
    padding: 0;
    transition: all 0.3s ease;
}

header nav ul li {
    margin: 0;
}

header nav ul li a {
    color: #ff4f00; /* Orange color for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
header nav ul.shrink {
    margin-right: 8em;
    font-size: small;
}
header nav ul li a:hover {
    color: #ff9900; /* Slightly lighter orange on hover */
}

.logo img {
    height: 40px;
    margin-right: 15%;
}

.logo h1 {
    display: inline;
    color: #ff4f00;
}

/* Initially hide the navbar links when screen is small */
.navbar {
    display: flex; /* or use block, based on your design */
    flex-direction: column; /* Change this to column for mobile if necessary */
    justify-content: flex-end;
    align-items: center;
    width: auto; /* No need to adjust width for large screens */
    list-style: none;
    font-size: x-large;
    color: #ff4f00;
  }
   
  .icon {
    display: none; /* Hide the burger icon on larger screens */
  }
  
  /* Media query for smaller screens */
  @media screen and (max-width: 1200px) {
    .navbar {
      display: none; /* Hide the navbar initially */
      flex-direction: column; /* Stack the links vertically */
      align-items: flex-end;
      width: 100%; /* Full-width navbar for mobile */
    }
  @media screen and (max-width: 600px) {
    .logo {
        display: none;
    }
}

    .navbar.active {
      display: flex;
      flex-direction: column; /* Show the navbar when the 'active' class is toggled */
    }
  
    /* Display the hamburger icon */
    .icon {
      display: block;
      position: absolute;
      right: 1px;
      top: 35px;
      font-size: 30px;
      margin-right: 2em;
      color: #ff4f00;
      cursor: pointer;
    }
  
    /* Ensure the links in the navbar look good on mobile */
    .navbar a {
      display: flex;
      font-size: small;
      text-align: left; /* Center or left-align depending on your design */
      color: #ff4f00; /* Adjust text color for readability */
      padding: 10px 0; /
    }
  
    .navbar a:hover {
    display: flex;
    color: #ff9900;
    }
  }
  

.main {
    margin-top: 100px; /* Ensure content is below the fixed header */
    padding: 20px;
}

.homepage-title {
    height: 100vh;
    background: url('3d-printer.jpg') no-repeat center center/cover;
    margin-top: 125px;
    display: flex;
    justify-content: center;
    animation: fadeIn 2s ease-in-out;
    align-items: center;
    font-size: 100px;
    text-align: center;
    color: #ff4f00;
    padding-top: 60px; /* Space for fixed header */
}

.homepage-title h2 {
    font-size: 2.5rem;
    padding: 20px 0px 0px;
}
.homepage-title h2 {
    align-items: center;
}

.link {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
}

.link:nth-child(odd) {
    background-color: #444;
}

.link:nth-child(even) {
    background-color: #555;
}

.link-content {
    max-width: 800px;
    margin: 0 auto;
}

.link-content img {
    height: 80px;
    margin-bottom: 20px;
}

.link-content h3 a {
    color: #ff4f00;
    text-decoration: none;
    font-size: 1.5em;
}

.link-content p {
    font-size: 1.1em;
}

footer {
    background-image: url('footer-bg.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: x-large;
    background-color: #0000009f;
}
footer a {
    color: #ff4f00;
    text-decoration: none;
}

footer p {
    margin: 10px 0;
}

footer nav ul {
    list-style: none;
    padding: 0;
}

footer nav ul li {
    display: inline;
    margin: 0 10px;
}

footer nav ul li a {
    color: #ff4f00;
    text-decoration: none;
}
footer nav ul li a:hover {
    color: #ff9900; /* Slightly lighter orange on hover */
}
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;    
    background-color: #000000a1;
    background-position-y: bottom;
    min-height: calc(100vh - 90px); /* Make the container take full viewport height */
    padding-top: 120px;
    padding-left: 20px;
    padding-right: 20px;
}

.about-text, .about-image {
    flex: 1;
    margin: 20px;
    padding: 20px;
    transition: all 0.3s ease; /* Smooth transition for all properties */
}

.about-text:hover, .about-image:hover {
    transform: scale(1.02); /* Scale up slightly on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 1); /* Increase shadow on hover */
}

.about-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Center the text horizontally */
    font-size: 24px; /* Adjust font size */
    color: #ffffff; /* Dark grey color for readability */
    opacity: 0; /* Start with opacity 0 */
    animation: fadeIn 1s ease-in-out forwards; /* Fade in animation */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-text h2 {
    font-size: 40px; /* Larger font size for heading */
    margin-bottom: 20px;
    color: #ff4f00; /* Orange color for the heading */
}

.about-image img {
    max-width: 100%;
    border-radius: 8px; /* Rounded corners for the image */
}

.services-page {
    padding-top: 60px; /* Space for fixed header */
    background-color: #000000cb;
}

.service-section {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 20px;
    padding-right: 40%;
    background-color: #000000cb;
    border-bottom: 1px solid #ccc;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative; /* Add relative positioning for hover text */
}

.service-section:hover {
    background-color: #111111; /* Light grey background on hover */
    transform: scale(1.02); /* Scale up effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Box shadow effect */
}

.service-info {
    position: absolute; /* Position hover text absolutely */
    right: 20px; /* Adjust position as needed */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Center vertically */
    display: none; /* Initially hide the info text */
    padding: 20px;
    font-size: 24px;
    background-color: rgba(114, 114, 114, 0); /* Dark background for hover text */
    border-radius: 8px; /* Rounded corners */
    opacity: 0; /* Start hidden */
    transition: opacity 2s ease-in-out; /* Smooth fade-in effect */
}

.service-section:hover .service-info {
    display: block; /* Display info text on hover */
    opacity: 1 ; /* Fade in */
}

.service-info p {
    margin: 0;
    color: #ff4f00; /* Orange color for hover text */
}

.service-image {
    width: 250px; /* Adjust the size as needed */
    height: auto;
    margin-right: 20px;
    margin-left: 50px; /* Offset by 50px */
}

.service-content h2 {
    color: #ff4f00; /* Orange color for section titles */
    font-size: 40px;
}

.materials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 150px; /* Padding to account for fixed header */
    box-sizing: border-box;
}

.material-box {
    background-color: #000000a8; /* Slightly lighter grey for boxes */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.material-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background-color: #2c2c2c; /* Highlight color */
}

.material-box h3 {
    color: #ff4f00;
    margin: 0;
    font-size: 40px;
}

.material-box .short-desc {
    margin: 10px 0;
    font-size: 24px;
}

.material-box .long-desc {
    color: #00000000; /* Slightly lighter grey for boxes */
    font-size: 0.7em;
    font-style: italic;
}

.material-box:hover .long-desc {
    display: block;
    color: #fff;
    animation: fadeIn 0.5s ease-in-out;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.disclaimer {
    font-size: small;
    display: none;
    padding : 20px;
    text-align: left;
    color: #ff9900;
}
.faq a {
    color: #ff4f00;
    font-style: oblique;
    font: bold;
}
.faq h1 {
    color: #ff4f00;
    font-size: 40px;
}
.faq-cookies {
    display: flex;
    justify-content: space-around;
    padding: 60px 20px;
    margin-top: 80px;
}

.faq, .cookies {
    width: 45%;
    padding: 20px;
    background-color: #444;
    text-indent: 20px;
    border-radius: 8px;
    color: #fff;
}

.faq h2, .cookies h2 {
    color: #ff4f00;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.sections-content:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}
html {
    scroll-behavior: smooth;
}
.sections-container {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
}
.sections {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    margin: 0 10px; /* Space between sections */
    padding: 20px;
}

.sections-content {
    text-align: center;
    
}
.sections a {
    color: #ffffff; /* Ensure text color is white */
    text-decoration: none; /* Remove underline */
    display: block; /* Make the link fill the section */
}
.sections-content img {
    width: 200px; /* Icon size */
    height: 200px; /* Icon size */
    margin-bottom: 7px; /* Space below icon */
}

.sections h2 {
    margin: 10px 0;
    color: #ff4f00; /* Change text color to orange */
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}
.fade-out {
    animation: fadeOut 0.2s ease-in-out;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Banner Section */
.banner-section {
    display: block;
    justify-content: center;
    align-items: center; /* This centers the images vertically */
    width: 100%;
}
    
    .banner-image img {
        height: max-content;
        object-fit: cover;
        width: 33%;
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
}

.about-video {
    flex: 1;
}

.banner-image video {
    width: 100%;
    object-fit: cover;
    height: 350px;
}

.about-text {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.about-text h2 {
    color: #ff4f00;
}

.about-text p {
    margin: 10px 0;
}

.about-text a {
    color: #ff4f00;
    text-decoration: none;
    font-weight: bold;
}

.about-text a:hover {
    text-decoration: underline;
}

/* Services Section */
.services-section {
    display: flex;
    align-items: center;
    padding: 50px 20px;
}

.services-text {
    flex: 1;
    padding: 20px;
}

.services-text h2 {
    color: #ff4f00;
}

.services-text p {
    margin: 10px 0;
}

.services-text a {
    color: #ff4f00;
    text-decoration: none;
    font-weight: bold;
}

.services-text a:hover {
    text-decoration: underline;
}

.services-image {
    flex: 1;
}

.services-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

#mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    color: black;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 9999; /* Ensure it stays above all other elements */
}

#mobile-overlay p {
    font-size: 2em;
    font-weight: bold;
}
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 30px 30px;
    padding-top: 80px;
    background-color: #000000a8;
}


.contact-form {
    padding: 30px 400px 0px 250px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    align-items: center;
    text-align: center;
}

.contact-container h2 {
    margin-bottom: 20px;
    color: #ff4f00;
    font-size: 40px;
}

.contact-form label {
    display: block;
    margin: 10px 0 5px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
}

.contact-container button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: large;
}

.contact-form button:hover {
    background-color: #e55e00;
}

.Infoletter-section {
    padding: 40px 40px;
}

.Infoletter-section h2 {
    margin-bottom: 20px;
    color: #ff4f00;
    font-size: 40px;
}

.quote-download {
    text-align: center;

}

.quote-download h2 {
    margin-bottom: 20px;
    color: #ff4f00;
    font-size: 40px;
}

.quote-download button {
    padding: 15px 40px;
    font-size: 16px;
    background-color:  #ff6600 ;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.quote-download button:hover {
    background-color:#e55e00;
}
/* Right: Stacked Sections */
.right-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 20px;
    padding: 0px 300px 0px 00px;
    text-align: center;
}

/* Infoletter Section */
.Infoletter-section {
    flex: 1;
    background-color: transparent;
}

/* Quote Section */
.quote-section {
    text-align: center;
}

.download-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.download-btn:hover {
    background-color: #e55e00;
}