/* General Styles */
body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
}

header {
  background-color: #fff;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 60px;
  width: auto;
  padding-left: 40px;
  transform:scale(1.5);
}

.nav-links {
  display: flex;
  align-items: center;
}

nav a {
  color: #4CAF50;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #3e8e41;
}

.hamburger-menu {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1000;
  }

  .nav-links a {
    margin: 10px 0;
    text-align: center;
  }

  .hamburger-menu {
    display: block;
  }

  .nav-links.active {
    display: flex;
  }
}


main {
  padding: 40px;
}

/* Hero section */
.page-title {
  display: flex;
  flex-direction: row;
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: 45px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 40px;
}
.hero-video {
  width: max-content;
}
.btn {
  display: inline-block;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #3e8e41;
}

/* About section */
.about {
  padding: 60px 0px;
  text-align: center;
}

.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.services {
  margin-top: 0;
}
.services-content {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.about-text {
  max-width: 1500px;
  margin-right: 80px;
  text-align: center;
  padding-bottom: 30px;
  padding-left: 80px;
}

#about-text2 {
  margin-top: 30px;
  padding-top: 20px;
}
.about-us-head {
  margin-bottom: 20px;
}
.services-text {
  margin-bottom: 20px;
}

.card-title-2 {
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.card {
  width: 22%;
  height: 350px;
  perspective: 1000px;
  position: relative;
  flex-basis: calc(25% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: #f68920;
  text-align: center;
  padding-bottom: 10px;
}

.card-inner {
  width: 100%;
  height: calc(100% - 40px);
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
}

.card-back {
  background-color: #f8f8f8;
  transform: rotateY(180deg);
}

.card-text-rear {
  color: black;
  font-size: 12px;
  text-align: left;
  font-weight: bold;
}

.card-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.card-list {
  font-size: 12px;
  max-height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.span-txt {
  color: white;
}

.container {
  max-width: 1200px;
  width: 95%;
}

.slider-wrapper .image-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(10, fr);
}
.slider-wrapper .image-list .image-item {
  width: 100px;
  height: 150px;
  object-fit: cover;
}
.slideshow {
  max-width: 500px;
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
  position: relative;
}

.slide img {
  max-width: 100%;
  height: auto;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slide-nav:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
.about-us-hero {
  display: flex;
  flex-direction: row;
}
.about-us-images {
  width: 200px;
  height: 200px;
  padding-right: 32px;
}
.about-img {
  width: 200px;
  height: 200px;
}
.about-service-img {
  display: flex;
  flex-direction: row;
}
.core-values-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.core-values,
.about-statements {
  width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

.mission-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.core-values-text,
.statement-text {
  font-size: 16px;
  line-height: 1.5;
  padding: 0 20px;
  text-align: left;
}

.about-statements {
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 768px) {
  .about-statements {
    flex-direction: column;
    gap: 40px;
  }
  .about-text {
    margin: 0 20px;
    padding-left: 20px;
  }
  .services-content {
    flex-direction: column;
    gap: 20px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    width: 90%;
    margin: 0 auto;
  }
  .about-us-hero,
  .about-service-img {
    flex-direction: column;
  }
  .about-us-images,
  .about-img,
  .about-img-left {
    width: 100%;
    height: auto;
  }
}
.about-img-left {
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
.about-txt {
  padding-top: 50px;
}
.contact-main {
  background-image: url(/images/ContactPageDemoImg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.contact-h1 {
  text-align: center;
  text-transform: uppercase;
  color: black;
}

form {
  margin: 40px 70px;
  padding: 55px 90px;
  border-radius: 20px;
  background-color: rgba(128, 128, 128, 0.47);
}
form h2 {
  margin-top: 0;
  text-transform: capitalize;
  margin-bottom: 10px;
  font-weight: bolder;
  font-size: 30px;
  color: black;
}
form label {
  margin-top: 15px;
  font-weight: bold;
  font-size: 18px;
  color: black;
}
.phone-number {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-number label {
  margin-right: 5px;
}

.phone-number select {
  padding: 5px 8px 0px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
  height: 35px;
  width: 60px;
}

.phone-number input {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

input[type=text], input[type=email] {
  width: 100%;
  padding: 16px 20px;
  margin: 10px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 15px;
}
#contact-form button {
  width: 100%;
  display: block;
  margin: 0 auto;
  margin-top: 15px;
  background-color: #3e8e41;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  border: #3e8e41 1px solid;
  border-radius: 12px;
  color: white;
  box-shadow: 0 9px 7px rgba(0, 0, 0, 0.323);
}
#contact-form button:hover {
  background-color: black;
  color: white;
  cursor: pointer;
  border: 1px solid black;
}

/* Footer */
footer {
  background-color: #f68920;
  color: white;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
}

.contact h3, .social h3 {
  margin-bottom: 20px;
}

.social-icons a {
  color: white;
  font-size: 24px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #4CAF50;
}

footer p {
  text-align: center;
}

form {
  max-width: 600px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

label {
  color: #4CAF50;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

input[type="submit"] {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 5px;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

.about-us-images {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.about-us-images img {
  width: 30%;
  height: auto;
}

.services-list {
  margin-bottom: 20px;
}

.color-bar {
  background-color: #f68920;
  height: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.more-images-text {
  margin-bottom: 20px;
}

.google-map {
  padding-bottom: 50%;
  position: relative;
}

.google-map iframe {
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;
}
