url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

.full-screen,
.image-gallery,
.video-section,
.logo-section,
.render-section,
.about-section {
  width: 100vw;
  height: 100vh; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* overflow: hidden; */
  overflow: auto; // Adds scrollbars if content overflows
}

.full-screen-renders {
  width: 100vw;
  height: 100vh;
}

* {
  box-sizing: border-box;  // Ensures padding and border are included in width/height calculations
}

@media (max-width: 1000px) {
  /* Apply a larger font size to all text within these sections */
  .video-section, .logo-container, .render-container, .text-container, .about-section {
    font-size: 2rem; /* Larger font size in rem */
    overflow: hidden;
  }

  /* Specific adjustments for more prominent elements */
  h2.logo {
    font-size: 2.5rem; /* Even larger for the logo */
    color: red; /* Change color for visibility */
  }

  .align-left h2 {
    font-size: 2.5rem; /* Slightly larger for main headings */
    color: green; /* Change color for visibility */
  }

  .copyright p {
    text-decoration: underline; /* Underline for visibility */
  }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  height: 100%;
  width: 100%;
  max-width: 100vw;
  /* overflow: hidden; Hide horizontal overflow */
}

.text {
  position: relative;
  z-index: 10;
  max-width: 700px; /* Restrict maximum width for better readability */
  margin-left: 100px; /* Adjust as needed for left alignment */
  color: #fff;
}

/* Ensure h2, p, and a within .text are aligned to the left */
.text h2, .text p, .text a {
  text-align: left;
}

/* hide run by engineers */
.hide-text {
  display: none;
}

.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures video covers the entire section */
  position: absolute;
  top: 0;
  left: 0;
  overflow: auto;
}

.video-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay color */
  overflow: auto;
}

.video-section header, .video-section .text {
  position: absolute;
  width: 100%;
  z-index: 10;
  overflow: auto;
}

.video-section header {
  top: 0;
  left: 0;
  padding: 40px 100px;
}

.video-section .text {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: #fff;
  padding: 0 40px; /* Adjust padding as needed */
}

/* Additional Styles for Text Elements */
.text h2 {
  font-size: 5rem;
  font-weight: 800;
  color: red;
  line-height: 1em;
  text-transform: uppercase;
}

.text p {
  font-size: 1.1rem;
  margin: 20px 0;
  font-weight: 400;
  color: #fff;
}

.text a {
  display: inline-block;
  background: #fff;
  padding: 10px 30px;
  text-decoration: none;
  font-weight: 500;
  color: #111;
  letter-spacing: 2px;
  transition: 0.2s;
}

/* Responsive Design Adjustments */
@media (max-width: 991px) {
  .video-section header {
    padding: 40px;
  }
  .text h2 {
    font-size: 3rem;
  }
  .text p {
    font-size: 1rem;
  }
}

/* Logo and Image Gallery Sections */

.logo-container, .image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px; /* Adjust as needed */
  gap: 10px;
  padding: 20px;
  box-sizing: border-box;
  margin: auto;
}

.image-item {
  flex: 0 0 calc(33.330% - 40px); /* Adjust the width for 2 items per row */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}

.image-item img {
  width: 40%; /* Adjust to use full width of .image-item */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain;
}

/* Mobile layout adjustments for container1 */
/* Responsive Design Adjustments */
@media (max-width: 991px) {
  .logo-container .image-gallery .image-item {
    flex: 0 0 calc(50% - 100px); /* Adjust the width for 2 items per row */
  }
}

/* --------- Render Gallery Styles --------- */

/* Style for the slideshow container */
.slideshow-container {
  position: relative;
  max-height: 100vh; /* Maximum width of the container */
  max-width: 100vw; /* Maximum heights of the container */
  margin: auto; /* Center the container */
}

/* Style for images */
.fade-image {
  width: 100%; /* Make images fill the container */
  position: absolute;
  opacity: .1; 
  transition: opacity 1.7s ease-in-out; /* Transition for the fade effect */
}

/* Initial visible image */
.fade-image:first-of-type {
  opacity: 1;
  position: relative;
}

/* --------- render gallery --------- */

.text-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 90%;
  gap: 15px;
  box-sizing: border-box;
}

.text-item {
  flex: 1 1 calc(33.33% - 10px); /* Flex grow, shrink, and basis */
  /* margin: 6px; */
  box-sizing: border-box;
  max-width: calc(33.33% - 10px); /* Limit max width */
}

/* media query for services section */

@media (max-width: 1000px) {
  .text-container {
    display: flex;          /* Makes .text-container a flex container */
    flex-direction: column; /* Arranges children in a column */
    align-items: center;    /* Centers children horizontally in the column */
    justify-content: space-evenly; /* Distributes space evenly between children */
    /* height: 100vh;          Adjust the height as needed */
  }

  .text-item {
    display: flex;          /* Makes .text-item a flex container */
    flex-wrap: wrap;        /* Allows children to wrap to a new line */
    justify-content: center; /* Centers text horizontally */
    align-items: center;     /* Centers text vertically */
    text-align: center;      /* Centers text if it wraps to a new line */
    width: 100%;             /* Takes full width of the container */
    margin: 80px 0;          /* Adds vertical space between items */
  }
}

.address-info p {
  line-height: 1.8em;
  font-size: 16px;
  letter-spacing: 0.04em;
  padding-be: 30px 0;
  /* Other styles */
}

.social-links {
  display: flex; /* Aligns items in a row */
  justify-content: center; /* Center align items horizontally */
  gap: 10px; /* Space between each item */
}

.social-media-logo {
  width: 20px;      /* sets the width of the image */
  height: 20px;     /* sets the height of the image */
  object-fit: cover; /* this ensures the image covers the area without stretching */
}

.flex-column-contact, .flex-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 20%;
}

.flex-column div, .flex-column-contact div {
  margin-bottom: 20px; /* Adds vertical space between items */
}

/* media query for contact section */
@media (max-width: 1000px) {
  .social-links {
    display: flex; /* Aligns items in a row */
    justify-content: center; /* Center align items horizontally */
    gap: 5px; /* Space between each item */
  }
  
  .social-media-logo {
    width: 50px;      /* sets the width of the image */
    height: 50px;     /* sets the height of the image */
    object-fit: cover; /* this ensures the image covers the area without stretching */
  }
  
  .copyright, .social-links {
    margin-top: 300px; /* Adjusts the space above these elements */
  }
  
  .flex-container-contact {
    display: flex;
    justify-content: space-between;
      flex-wrap: wrap; /* Allows items to wrap onto multiple lines */
  }
  
  .flex-column-contact, .flex-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 5%;
  }
  }

    form {
    max-width: 400px;
    margin: 2rem auto;
    font-family: sans-serif;
  }

  label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #333;
  }

  input,
  textarea {
    display: block;
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
  }

  button {
    background-color: #007BFF;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
  }

  button:hover {
    background-color: #0056b3;
  }