@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

navbar {
  background-color: #333;
  color: #fff;
  padding: 1em 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  overflow: visible; /* Make sure the header allows overflow */
}

nav {
  width: 90%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

nav ul {
  list-style-type: none;
  display: flex;
}

nav ul li {
  margin: 0 1em;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

main {
  padding: 5em 5px;
  width: 100%;
  min-height: 100vh;
}

.background-clip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100vh;
  width: 100vw;
  object-fit: cover;
}

.hero-title {
  position: absolute;
  text-align: center;
  color: aliceblue;
  top: 53%;
}



.hero-title h1 {
  font-size: 4rem;
}

.hero-title p {
  font-size: 1.5rem;
  letter-spacing: 5px;
}

#brand {
  font-weight: 700;
  font-size: larger;
  color: #0000CD;
}

.home {
  transition: text-decoration-color 2s 20ms ease;
}
.home:hover {
  text-decoration: underline;
  text-decoration-color: #007bff;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.active {
  text-decoration: underline;
  color: #007bff;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  font-weight: bold;
}

.company-operations {
  padding-left: 20px;
  padding-right: 20px;
  text-align: justify; /* Justify text alignment */
}

#company-title {
  font-size: 20px;
  color: #4169E1;
  padding: 2px;
  font-weight: bold; /* Set to bold */
  font-family: "Arial Black", Arial, sans-serif; /* Changed to Arial Black */
  text-transform: uppercase;
  letter-spacing: 4px;
}

.carousal {
  width: 80%;
  height: 50vh;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
}
.card {
  position: absolute;
  border-radius: 15px;
  left: 0;
  top: 0;
  object-fit: cover;
  transition: 2000ms ease;
}

/* Menu Styles */
.menu {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  background-color: rgba(211, 211, 211, 0.6);
  z-index: 20;
}

.menu ul {
  width: fit-content;
  background-color: rgba(255, 255, 255);
  padding: 2rem 5rem;
  text-align: center;
  position: absolute;
  justify-content: center;
  z-index: 100;
  border-radius: 10px;
}

.menu ul a {
  text-align: center;
  color: rgb(0, 0, 0);
}

.menu ul li {
  margin-top: 10px;
}

.menu-icon {
  display: none;
}

.section-2 {
  text-align: center;
}

/* Carousel */
.carousal {
  width: 80%;
  height: 50vh;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
}

.card {
  position: absolute;
  border-radius: 15px;
  left: 0;
  top: 0;
  object-fit: cover;
  transition: 2000ms ease;
}

/* Contact Form */
form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

form label {
  display: block;
  margin: 0.5em 0 0.2em;
}

form input,
form textarea {
  width: 100%;
  padding: 0.5em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  padding: 0.7em 1.5em;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background-color: #555;
}


/* Address and Map Section */
.address-map {
  display: flex;
  flex-wrap: wrap; /* Wrap columns on smaller screens */
  gap: 20px; /* Add spacing between columns */
  padding: 20px;
  background: rgba(255, 255, 255, 0.8); /* Optional: background for better readability */
  border-radius: 8px;
}

.address {
  flex: 1; /* Take up available space */
  padding: 20px;
  text-align: left; /* Align text to left on larger screens */
}

.map {
  flex: 1; /* Take up available space */
  padding: 20px;
}

.map iframe {
  border: none;
  border-radius: 8px;
  width: 100%;
  height: 500px; /* Adjust height for desktop */
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .menu-icon {
    display: block;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
  }

  .hero-title {
    top: 20%;
  }

  .hero-title h1 {
    font-size: 3rem;
  }

  .hero-title p {
    font-size: 1.2rem;
    letter-spacing: 3px;
  }

  .carousal {
    width: 90%;
    height: 40vh;
  }

  .card {
    width: 100%;
  }


  .address-map {
    flex-direction: column; /* Ensure vertical stacking on tablets */
  }

  .map iframe {
    height: 500px; /* Adjust iframe height on tablets */
  }
}

@media (max-width: 500px) {
  #company-title {
    font-size: 16px;
  }

  .hero-title {
    top: 25%;
  }

  .hero-title h1 {
    font-size: 2.5rem;
  }

  .hero-title p {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .carousal {
    width: 100%;
    height: 30vh;
  }

  .menu ul {
    padding: 1rem 3rem;
  }

  #company-title {
    font-size: 1.2rem;
  }

  .menu ul li {
    margin-top: 8px;
  }

  .menu ul a {
    font-size: 1.2rem;
  }

  .address-map {
    padding: 10px; /* Reduced padding for mobile screens */
  }

  .map iframe {
    height: 500px; /* Adjust iframe height for mobile screens */
  }
}

/* Ensure the video is positioned behind everything */
.background-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Behind all other content */
}

/* Content Overlay */
.content-overlay {
  position: relative;
  z-index: 1; /* Above the video */
  padding: 20px;
  color: white;
  background: rgba(0, 0, 0, 0.5); /* Optional: semi-transparent background for readability */
}

#servies-bg{
  margin: 10px 0;
  width: 100vw;
}

.service-images-combo{
  margin: 2vw 0;
  display: flex;
}

/* Style for the scroll-to-top button */
#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollToTopBtn svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

