@charset "UTF-8";
/* Custom styles for EcoPulse website */

/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

header.masthead.ecopulse-corporate {
  background:
    url("../assets/img/header_banner_earth_green_half.png"),
    linear-gradient(to right, #3C786E 0%, #103b49 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 80% auto, cover;
  background-position: left 25%, left top;
  background-attachment: fixed, fixed;
  height: 100vh;
  min-height: 40rem;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-top: 10vh;
  padding-bottom: 0;
}

/* Main title styles */
.masthead .display-4 {
  font-weight: 700 !important;
  font-size: 4rem;
  text-align: right;
  margin-top: 0;
  line-height: 1.3;
  word-wrap: break-word;
  white-space: normal;
  max-width: 100%;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#mainNav.scrolled .header-logo,
#mainNav.menu-open .header-logo {
  background-image: url("../assets/img/EcoPulse-nav-logo-dark.png");
}

/* Partners section */
.partners {
  max-height: 100px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(20%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(90%) contrast(90%);
  transition: filter 0.3s ease;
}

.partner-item:hover .partners {
  filter: brightness(0) saturate(100%) invert(20%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

/* Custom page section styles */
.page-section {
  padding: 6rem 0;
}

.page-section-light-green {
  padding: 6rem 0;
  background-color: #eaf4f4;
  position: relative;
  overflow: hidden;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.button-container {
  text-align: right;
  margin-top: 1.5rem;
}

#value-proposition {
  background:
    url("../assets/img/Baseline-background.png"),
    #103b49;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: 10rem 0;
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
}
 
#value-proposition .container {
  position: relative;
  z-index: 2;
}
 
#value-proposition .row {
  height: 100%;
  display: flex;
  align-items: center;
}
 
.text-value-proposition {
  font-size: 5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0px 0px 100px #103b49;
  margin: 0;
}

.examples-description {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #103b49;
  margin-top: 1.5rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Custom button styles */
.btn-xl {
  padding: 1rem 1.75rem;
  font-size: 1.25rem;
}

.btn-primary {
  background-color: #103b49;
  border-color: #103b49;
  box-shadow: 0 0 50px #ffffffaf;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #3C786E;
  border-color: #3C786E;
  box-shadow: 0 0 25px rgba(60, 120, 110, 0.8);
  transform: translateY(-2px);
}

.btn-primary.loading {
  background-color: #007bff;
  border-color: #007bff;
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.8);
  cursor: wait;
}

/* Custom divider styles */
hr.divider {
  height: 0.2rem;
  max-width: 3.25rem;
  margin: 1.5rem auto;
  background-color: #103b49;
  opacity: 1;
}

hr.divider-light {
  background-color: #ffffff;
}

/* Navigation styles */
#mainNav {
  padding: 1rem 0;
  transition: all 0.3s ease;
  background-color: transparent;
}

#mainNav.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#mainNav.navbar-hidden {
  transform: translateY(-100%);
}

#mainNav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

#mainNav .navbar-brand {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

#mainNav .header-logo {
  background-image: url("../assets/img/EcoPulse-nav-logo-light.png");
  width: 450px;
  height: 150px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: width 0.3s, height 0.3s;
}

#mainNav.scrolled .header-logo {
  background-image: url("../assets/img/EcoPulse-nav-logo-dark.png");
}

#mainNav .navbar-toggler {
  padding: 0.25rem;
  margin: 0;
  border: none;
}

#mainNav .navbar-toggler:focus {
  box-shadow: none;
}

#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(16, 59, 73, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: #fff;
  padding: 1.1rem 1rem !important;
  transition: all 0.3s ease;
  font-size: 1.4rem;
  font-weight: 700;
}

#mainNav.scrolled .navbar-nav .nav-item .nav-link {
  color: #103b49 !important;
}

#mainNav.menu-open .navbar-nav .nav-item .nav-link {
  color: #103b49 !important;
}

#mainNav .navbar-nav .nav-item.dropdown .nav-link {
  padding-right: 1.5rem !important;
}

#mainNav .dropdown-menu {
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

#mainNav .dropdown-item {
  color: #103b49;
  font-size: 1.1rem;
  padding: 0.7rem 1.5rem;
  transition: all 0.3s ease;
}

#mainNav .dropdown-item:hover {
  background-color: rgba(16, 59, 73, 0.1);
  color: #3C786E;
}

#mainNav.scrolled .dropdown-menu {
  background-color: #fff;
}

#mainNav.scrolled .dropdown-item {
  color: #103b49;
}

#mainNav.scrolled .dropdown-item:hover {
  background-color: rgba(16, 59, 73, 0.1);
  color: #3C786E;
}

#contact.page-section.ecopulse-corporate {
  background:
    url("../assets/img/header_banner_earth_green_half.png"),
    linear-gradient(to right, #3C786E 0%, #103b49 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 80% auto, cover;
  background-position: left 25%, left top;
  background-attachment: fixed, fixed;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 30vh 0;
  display: flex;
  align-items: center;
}

#contact .container {
  position: relative;
  z-index: 2;
}

#contact.page-section.ecopulse-corporate h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#contact.page-section.ecopulse-corporate p.text-white {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Partner carrousel styling */
.partner-item {
  padding: 1.5rem;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.partner-item:hover {
  transform: scale(1.05);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 0.8;
}

#partnersCarousel .carousel-inner {
  overflow: hidden;
}

#partnersCarousel .carousel-item {
  transition: transform 0.4s ease-out;
}

#partnersCarousel .carousel-item.active {
  display: block;
}

#partnersCarousel .carousel-item-next:not(.carousel-item-start),
#partnersCarousel .active.carousel-item-end {
  transform: translateX(33.33%);
}

#partnersCarousel .carousel-item-prev:not(.carousel-item-end),
#partnersCarousel .active.carousel-item-start {
  transform: translateX(-33.33%);
}

#partnersCarousel .carousel-item-next,
#partnersCarousel .carousel-item-prev {
  position: absolute;
  top: 0;
  width: 100%;
}

#partnersCarousel .carousel-item-next.carousel-item-start,
#partnersCarousel .active.carousel-item-end {
  transform: translateX(0);
}

#partnersCarousel .carousel-item-prev.carousel-item-end,
#partnersCarousel .active.carousel-item-start {
  transform: translateX(0);
}

/* Add smooth transition for individual logos */
#partnersCarousel .partner-item {
  transition: transform 0.4s ease-out;
}

#partnersCarousel .carousel-item-next .partner-item {
  transform: translateX(100%);
}

#partnersCarousel .carousel-item.active .partner-item {
  transform: translateX(0);
}

#partnersCarousel .carousel-item-prev .partner-item {
  transform: translateX(-100%);
}

/* Ensure logos maintain their position during transition */
#partnersCarousel .carousel-item {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

#partnersCarousel .carousel-item.active {
  position: relative;
  opacity: 1;
}

/* Custom feature styles */
.feature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  font-size: 2rem;
}

/* Custom text colors */
.text-black-75 {
  color: rgba(0, 0, 0, 0.75) !important;
}

/* Bootstrap Icons color override */
.text-primary {
  color: #103b49 !important;
}

/* Map visualization styles */
.map-visualization {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.map-visualization img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    margin-bottom: 1.5rem;
}

.map-visualization:hover img {
    transform: scale(1.05);
}

/* Impact statistics styles */
.impact-item {
  padding: 2rem;
  transition: all 0.3s ease;
}

.impact-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #103b49;
  margin-bottom: 1rem;
  font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.impact-item h3 {
  color: #3C786E;
  margin-bottom: 1rem;
}

.impact-item p {
  font-size: 1.1rem;
}

/* Process flow background */
#hoe-2 {
  position: relative;
  overflow: hidden;
}

#hoe-2 .col-lg-3 {
  position: relative;
}

/* Partner section styling */
.partners {
height: 80px;
object-fit: contain;
margin-bottom: 1.5rem;
}

.partner-item {
display: flex;
flex-direction: column;
height: 100%;
}

.partner-item .partner-content {
flex: 1;
display: flex;
flex-direction: column;
}

/* Drone footage styles */
.drone-footage-container {
  position: relative;
  width: 100%;
  height: 40vh;
  overflow: hidden;
}

.drone-footage-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Downward arrow at bottom center for large screens */
.scroll-down-arrow {
position: fixed;
left: 50%;
bottom: 32px;
transform: translateX(-50%);
z-index: 1000;
opacity: 0.7;
animation: bounce 2s infinite;
pointer-events: none;
}

@keyframes bounce {
0%, 100% { transform: translateX(-50%) translateY(0); }
50% { transform: translateX(-50%) translateY(10px); }
}


/* Contact Form Styles */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(16, 59, 73, 0.8);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-label {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0;
  text-align: left;
  min-width: auto;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #103b49;
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.form-control:focus {
  color: #103b49;
  background-color: #ffffff;
  border-color: #ffffff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.form-control::placeholder {
  color: rgba(16, 59, 73, 0.7);
}

/* Remove the special handling for message textarea since all fields are now stacked */
.form-group:last-of-type {
  flex-direction: column;
  align-items: flex-start;
}

.form-group:last-of-type .form-label {
  text-align: left;
  margin-bottom: 0.5rem;
}

.form-group:last-of-type .form-control {
  width: 100%;
  min-height: 200px;
}

.form-control.is-invalid {
  border-color: #ff4444;
  background-color: rgba(255, 255, 255, 0.9);
  color: #103b49;
}

.form-control.is-invalid:focus {
  border-color: #ff4444;
  background-color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(255, 68, 68, 0.25);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #ff4444;
  font-weight: 500;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

.contact-form .btn-primary {
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.contact-form .btn-primary:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #103b49;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.form-success-message {
  display: none;
  padding: 1rem;
  margin-top: 1rem;
  background-color: #3C786E;
  border-color: #3C786E;
  color: #ffffff;
  border-radius: 4px;
}

.form-error-message {
  display: none;
  padding: 1rem;
  margin-top: 1rem;
  background-color: rgba(255, 68, 68, 0.1);
  border: 1px solid #ff4444;
  color: #ff4444;
  border-radius: 4px;
  font-weight: 500;
}

/* Media Queries */
/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  header.masthead h1,
  header.masthead .h1 {
    font-size: 3.5rem;
  }
  /* header.masthead.ecopulse-corporate {
    background:
      url("../assets/img/header_banner_earth_green_half.png"),
      linear-gradient(to right, #3C786E 0%, #103b49 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: 130vh auto, cover;
    background-position: left 10%, left top;
    background-attachment: fixed, fixed;
    height: 100vh;
    min-height: 40rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 4.5rem;
    padding-bottom: 0; 
  } */
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

  header.masthead p {
    font-size: 1.15rem;
  }

  header.masthead h1,
  header.masthead .h1 {
    font-size: 3rem;
  }

  .masthead .d-flex.justify-content-center {
    justify-content: center !important;
    margin-left: -10rem;
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    color: #fff;
  }

  #mainNav.scrolled .navbar-nav .nav-item .nav-link {
    color: #103b49 !important;
  }

  #mainNav.menu-open .navbar-nav .nav-item .nav-link {
    color: #103b49 !important;
  }
}

/* Medium devices (tablets, 991.98px and down) */
@media (max-width: 991.98px) {
  /* Masthead styles */
  .masthead .col-lg-7 {
    padding-left: 10rem;
  }

  .masthead .display-4 {
    font-size: 3rem;
  }

  /* Navbar styles */
  #mainNav {
    height: auto;
    padding: 0.5rem 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  #mainNav .navbar-brand {
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0;
  }

  #mainNav .header-logo {
    width: 390px;
    height: 150px;
    transition: width 0.3s, height 0.3s;
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 0.5rem 1rem !important;
    font-size: 1.1rem;
  }

  /* Mobile dropdown menu styles */
  #mainNav .dropdown-menu {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: none;
    position: static !important;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }

  #mainNav .dropdown-item {
    color: #103b49;
    padding: 0.5rem 2rem;
    font-size: 1.1rem;
  }

  #mainNav .dropdown-item:hover {
    background-color: rgba(16, 59, 73, 0.1);
  }

  #mainNav .dropdown-toggle::after {
    float: right;
    margin-top: 0.5rem;
  }

  #mainNav .show .dropdown-menu {
    display: block;
  }

  #mainNav.menu-open {
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  #mainNav.menu-open .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(16, 59, 73, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }

  #mainNav.menu-open .navbar-collapse {
    background: #fff;
  }

  #mainNav.menu-open .navbar-nav .nav-link {
    color: #103b49 !important;
  }

  #mainNav.menu-open .dropdown-item {
    color: #103b49;
  }
}

/* Medium devices (tablets, 768px and down) */
@media (max-width: 768px) {
  /* Masthead styles */
  header.masthead.ecopulse-corporate {
    height: 100vh;
    min-height: 40rem;
    padding-top: 4.5rem;
    padding-bottom: 0;
  }

  .masthead .container {
    padding-right: 1.5rem;
  }

  .masthead .display-4 {
    font-size: 3rem;
  }

  .masthead .lead {
    font-size: 1rem;
  }

/* Impact statistics styles */
  .stat-number {
    font-size: 2.5rem;
  }
  
  .impact-item {
    padding: 1.5rem;
  }

/* Mobile styles for impact numbers */
  .stat-number {
      font-size: 2.5rem;
  }
  
  .impact-item {
      padding: 1.5rem;
  }
  .map-visualization {
    margin-bottom: 1rem;
  }

  .stat-number {
      font-size: 2.5rem;
  }

  .impact-item {
      padding: 1.5rem;
  }

  .text-value-proposition {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0px 0px 100px #103b49;
  }
  
  .form-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .form-label {
    text-align: left;
    min-width: auto;
    padding-top: 0;
  }

  .form-control {
    width: 100%;
  }

  #contact.page-section.ecopulse-corporate h2 {
    font-size: 2.5rem;
  }

  #contact.page-section.ecopulse-corporate p.text-white {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}



/* Small devices (phones, 575.98px and down) */
@media (max-width: 575.98px) {
  /* Masthead styles */
  header.masthead.ecopulse-corporate {
    height: 100vh;
    min-height: 40rem;
    padding-top: 4.5rem;
    padding-bottom: 0;
  }

  .masthead .display-4 {
    font-size: 2rem !important;
  }

  .masthead .lead {
    font-size: 1rem;
  }

  /* Navbar styles */
  #mainNav {
    padding: 0.25rem 0;
  }

  #mainNav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
    width: 100%;
    max-width: 100%;
  }

  .navbar-brand {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
  }

  .navbar-toggler {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.15rem;
    position: relative;
    right: 0;
  }

  #mainNav .header-logo {
      width: 300px;
      height: 90px;
    }

  #mainNav .navbar-nav .nav-item .nav-link {
    font-size: 1rem;
  }

  .masthead .title-container,
  .masthead .button-container {
    width: 100%;
    text-align: right;
  }

  .masthead .button-container {
    margin-top: 1.5rem;
  }
  
  .text-value-proposition {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0px 0px 100px #103b49;
  }

  #contact.page-section.ecopulse-corporate h2 {
    font-size: 2rem;
  }

  #contact.page-section.ecopulse-corporate p.text-white {
    font-size: 1.1rem;
  }
}

textarea.form-control {
  min-height: 200px;
  resize: vertical;
}

