.egs-lock { overflow: hidden; }

.header__area.sticky {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--bg-white, #fff);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
  .topBar__one {
    padding: 6px 0;
    font-size: 13px;
    line-height: 20px;
  }

  .topBar__one .custom__container,
  .header__area .custom__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topBar__one .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-left: 0;
    margin-right: 0;
  }

  .topBar__one .col-lg-8,
  .topBar__one .col-lg-4 {
    width: auto;
    max-width: none;
    flex: 0 1 auto;
    padding-left: 0;
    padding-right: 0;
  }

  .topBar__one-left.lg-t-center,
  .topBar__one-right.lg-t-center {
    text-align: inherit !important;
  }

  .topBar__one-left {
    text-align: left;
  }

  .topBar__one-right {
    text-align: right;
  }

  .topBar__one-left ul li:last-child {
    display: none;
  }

  .topBar__one-right-social h6 {
    display: none;
  }

  .topBar__one-right-social ul {
    gap: 14px;
  }
}

@media (max-width: 575px) {
  .topBar__one {
    padding: 5px 0;
    font-size: 12px;
    line-height: 18px;
  }

  .topBar__one .custom__container,
  .header__area .custom__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topBar__one-left ul li {
    margin-right: 0;
  }

  .topBar__one-left ul li a i {
    margin-right: 6px;
  }

  .topBar__one-right-social ul {
    gap: 12px;
  }
}

.dark-mode .header__area.sticky {
  background: #1a1a1a;
}

.mode__switch.active span::before {
  opacity: 0.35;
}

.scroll-up {
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  display: block;
  /* border-radius: 50%; */
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.55);
}

@media (max-width: 575px) {
  .whatsapp-float {
    left: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float img {
    width: 52px;
    height: 52px;
  }
}

.egs-form-status {
  display: block !important;
  width: 100%;
  flex: 0 0 100%;
  clear: both;
  margin: 14px 0 0;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  border-radius: 6px;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}

.egs-form-status.is-success {
  color: #1f7a1f;
  background: #e8f7e4;
  border: 1px solid #b7e0ad;
}

.egs-form-status.is-error {
  color: #a32020;
  background: #fdeaea;
  border: 1px solid #f0b8b8;
}

.footer__area-widget-subscribe,
.footer__area-widget-subscribe form {
  overflow: visible !important;
}

.footer__area-widget-subscribe .egs-form-status.is-success {
  color: #e8f7e4;
  background: rgba(87, 179, 62, 0.22);
  border-color: rgba(87, 179, 62, 0.5);
}

.footer__area-widget-subscribe .egs-form-status.is-error {
  color: #ffd6d6;
  background: rgba(214, 69, 69, 0.22);
  border-color: rgba(214, 69, 69, 0.5);
}

.egs-honeypot {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
}

.menu__bar-popup.show { display: block; }

.banner__one.has-contact-form > .swiper {
  position: relative;
  z-index: 1;
}

.banner__one-form {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(480px, 46%);
  z-index: 30;
  display: flex;
  align-items: center;
  padding: 70px 36px 140px 12px;
}

@media (min-width: 1400px) {
  .banner__one-form {
    top: -206px;
    right: 152px;
  }
}

.banner__one-form > .container,
.banner__one-form > .container > .row {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.banner__one-form-col {
  width: 100%;
  position: relative;
  z-index: 31;
}

.banner__one-form-card {
  position: relative;
  z-index: 32;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px 26px 24px;
  box-shadow: 0 28px 64px rgba(12, 28, 16, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.banner__one-form-card,
.banner__one-form-card form,
.banner__one-form-card input,
.banner__one-form-card textarea,
.banner__one-form-card button {
  pointer-events: auto;
}

.banner__one-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--primary-color-1, #57b33e);
}

.banner__one-form-head {
  margin-bottom: 18px;
}

.banner__one-form-head span {
  display: inline-block;
  color: var(--primary-color-1, #57b33e);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.banner__one-form-head h3 {
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.banner__one-form-head p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.72;
}

.banner__one-form-field {
  margin-bottom: 12px;
}

.banner__one-form-field input,
.banner__one-form-field textarea {
  position: relative;
  z-index: 2;
  height: 50px;
  background: #f3f6f3;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  pointer-events: auto;
  touch-action: auto;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.banner__one-form-field textarea {
  height: 86px;
  padding-top: 12px;
  resize: none;
}

.banner__one-form-field input:focus,
.banner__one-form-field textarea:focus {
  background: #fff;
  border-color: var(--primary-color-1, #57b33e);
  box-shadow: 0 0 0 4px rgba(87, 179, 62, 0.16);
}

.banner__one-form-card .btn-one {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.banner__one-form-card .egs-form-status {
  margin-top: 12px;
}

.banner__one.has-contact-form .banner__one-arrow {
  z-index: 6;
}

.dark-mode .banner__one-form-card {
  background: rgba(22, 24, 22, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
}

.dark-mode .banner__one-form-head h3 {
  color: #fff;
}

.dark-mode .banner__one-form-head p {
  color: rgba(255, 255, 255, 0.72);
}

.dark-mode .banner__one-form-field input,
.dark-mode .banner__one-form-field textarea {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .banner__one-form-field input::placeholder,
.dark-mode .banner__one-form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.dark-mode .banner__one-form-field input:focus,
.dark-mode .banner__one-form-field textarea:focus {
  background: rgba(255, 255, 255, 0.09);
}

@media (max-width: 991px) {
  .banner__one-form {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    display: block;
    padding: 0 0 28px;
  }

  .banner__one.has-contact-form .banner__one-content {
    padding-bottom: 40px;
  }

  .banner__one.has-contact-form .banner__one-capacity {
    position: relative;
    background: var(--primary-color-1, #57b33e);
  }

  .banner__one.has-contact-form .banner__one-capacity:after {
    display: none;
  }

  .banner__one.has-contact-form .banner__one-arrow {
    position: relative;
    width: 100%;
    display: flex;
  }

  .banner__one-form-card {
    box-shadow: 0 16px 40px rgba(12, 28, 16, 0.12);
  }
}

@media (max-width: 575px) {
  .banner__one-form-card {
    padding: 22px 18px 18px;
    border-radius: 16px;
  }

  .banner__one-form-head h3 {
    font-size: 22px;
  }
}

/* Project listing */
.egs-projects {
  padding-top: 90px;
  padding-bottom: 90px;
}

.egs-projects-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.egs-projects-head .subtitle-one,
.egs-projects-head .egs-project-kicker {
  display: inline-block;
  color: var(--primary-color-1, #57b33e);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.egs-projects-head h2 {
  margin-bottom: 12px;
}

.egs-projects-head p {
  margin: 0;
  color: var(--body-color, #5d665c);
}

.egs-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.egs-projects-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20, 40, 20, 0.08);
  box-shadow: 0 14px 36px rgba(18, 32, 18, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.egs-projects-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(18, 32, 18, 0.12);
}

.egs-projects-card-media {
  position: relative;
  display: block;
  height: 240px;
  overflow: hidden;
}

.egs-projects-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.egs-projects-card:hover .egs-projects-card-media img {
  transform: scale(1.06);
}

.egs-projects-card-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--primary-color-1, #57b33e);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.egs-projects-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 22px 22px;
}

.egs-projects-card-body h4 {
  margin: 0 0 10px;
  font-size: 22px;
}

.egs-projects-card-body h4 a {
  color: inherit;
}

.egs-projects-card-body p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-color, #5d665c);
}

.egs-projects-card-body .simple-btn,
.egs-projects-card-link {
  margin-top: auto;
  color: var(--primary-color-1, #57b33e);
  font-weight: 700;
}

.dark-mode .egs-projects-card {
  background: #171c17;
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .egs-projects-card-body h4,
.dark-mode .egs-projects-head h2 {
  color: #fff;
}

.dark-mode .egs-projects-card-body p,
.dark-mode .egs-projects-head p {
  color: rgba(255, 255, 255, 0.7);
}

/* Single project pages */
.egs-project {
  padding-top: 80px;
  padding-bottom: 80px;
}

.egs-project-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: start;
}

.egs-project-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 28px;
}

.egs-project-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.egs-project-hero figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(12, 18, 12, 0.72);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.egs-project-kicker {
  display: inline-block;
  color: var(--primary-color-1, #57b33e);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.egs-project-block {
  margin-bottom: 32px;
}

.egs-project-block h3 {
  margin-bottom: 14px;
}

.egs-project-block p {
  margin-bottom: 14px;
}

.egs-project-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.egs-project-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--body-color, #555);
}

.egs-project-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color-1, #57b33e);
  box-shadow: 0 0 0 4px rgba(87, 179, 62, 0.16);
}

.egs-project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 8px 0 36px;
}

.egs-project-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
}

.egs-project-aside {
  position: sticky;
  top: 110px;
}

.egs-project-card {
  background: #f6faf4;
  border: 1px solid rgba(87, 179, 62, 0.16);
  border-radius: 18px;
  padding: 26px 24px;
}

.egs-project-card h5 {
  margin: 0 0 18px;
}

.egs-project-facts {
  margin: 0;
}

.egs-project-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(20, 40, 20, 0.08);
}

.egs-project-facts div:last-child {
  border-bottom: 0;
}

.egs-project-facts dt {
  margin: 0;
  color: #6a7468;
  font-size: 14px;
}

.egs-project-facts dd {
  margin: 0;
  font-weight: 700;
  color: #1f2a1c;
  text-align: right;
}

.egs-project-card .btn-one {
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

.egs-project-related {
  margin-top: 56px;
}

.egs-project-related h3 {
  margin-bottom: 22px;
}

.egs-project-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.egs-project-related a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 210px;
}

.egs-project-related img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.egs-project-related span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 16px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(8, 14, 8, 0.82));
  font-weight: 700;
}

.dark-mode .egs-project-card {
  background: #171c17;
  border-color: rgba(87, 179, 62, 0.24);
}

.dark-mode .egs-project-card h5,
.dark-mode .egs-project-facts dd,
.dark-mode .egs-project-block h3,
.dark-mode .egs-project-related h3 {
  color: #fff;
}

.dark-mode .egs-project-facts dt,
.dark-mode .egs-project-block p,
.dark-mode .egs-project-list li {
  color: rgba(255, 255, 255, 0.72);
}

.dark-mode .egs-project-facts div {
  border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
  .egs-projects-grid,
  .egs-project-wrap,
  .egs-project-related-grid,
  .egs-project-gallery {
    grid-template-columns: 1fr;
  }

  .egs-project-aside {
    position: static;
  }

  .egs-project-hero img,
  .egs-projects-card-media {
    height: 260px;
  }
}

@media (max-width: 575px) {
  .egs-projects,
  .egs-project {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .egs-project-gallery img {
    height: 190px;
  }
}
