* {
  padding: 0;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}
.logo {
  height: 100px;
  width: 150px;
  object-fit: contain;
}
nav {
  text-align: center;
  background-color: white;
}
.hero {
  height: 60vh;
  background-image: url("./imgi_25_1713989247-rs-2024-sustainedenergy-web_desktop-2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 70vh;
}

.marquee {
  width: 100%;
  overflow: hidden;
  background: black;
  color: white;
  padding: 15px 0;
  position: relative;
  position: sticky;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  font-size: 17px;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
  text-transform: uppercase;
  font-weight: bold;
  font-style: italic;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.hero-heading {
  text-transform: uppercase;
  font-weight: bolder;
  font-style: italic;
  font-size: 40px;
  word-spacing: 5px;
  line-height: 55px;
}

.left {
  width: 50%;
  color: black;

  p {
    font-weight: 400;
    font-size: 18px;
    margin: 20px 0px;
  }

  button {
    padding: 10px 15px;
    font-weight: bold;
    text-transform: uppercase;
    outline: none;
    border: none;
    background-color: black;
    color: white;
    font-size: 17px;
  }
}
.right {
  width: 50%;
  display: flex;
  justify-content: center;
}

.hero-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.hero-img {
  height: 400px;
  width: 400px;
  object-fit: cover;
}

@media (max-width: 765px) {
  .hero-inner {
    flex-direction: column-reverse;
  }
  .hero {
    height: max-content;
    padding: 70px 0px;
  }
  .left {
    width: 100%;
    text-align: left;
  }
  .left p {
  }
  .left h2 {
  }
  .hero-img {
    margin-bottom: 50px;
  }
}

h5 {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  margin: 60px 0px 20px 0px;
  font-size: 25px;
  color: black;
}

.desc {
  line-height: 35px;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 50px;
}

.form-section {
  height: max-content;
  width: 100%;
  background-color: #4b4a44;
  padding: 50px 0px 0px 0px;
}

form {
  background: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  width: 100%;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

input,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.col {
  flex: 1;
  min-width: 200px;
}

.submit-btn {
  display: block;
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.submit-btn:hover {
  background-color: #218838;
}

@media (max-width: 600px) {
  form {
    padding: 20px;
  }
}

.required::after {
  content: " *";
  color: red;
}

.form-hold {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Loading Overlay */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #380911;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* Toast */
#toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 14px;
  position: fixed;
  z-index: 2000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.5s, visibility 0.5s;
}

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

#toast.success {
  background-color: #28a745;
}
#toast.error {
  background-color: #dc3545;
}

.equal-height-row {
  display: flex;
  flex-wrap: wrap;
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio - Square */
  overflow: hidden;
  background-color: #e9ecef;
}

.card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
