/* Header */
.header-DAM {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 6px 0;
  transition: all 0.3s ease;
}

.header-DAM .header-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.header-DAM .navbar-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-DAM .nav-item {
  display: flex;
  align-items: center;
}

.header-DAM .nav-link {
  color: #001c4e !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
  padding: 6px 10px !important;
  transition: color 0.25s ease;
}

.header-DAM .nav-link:hover {
  color: #209b24 !important;
}

.header-DAM .search-icon-btn {
  font-size: 15px;
  color: #001c4e !important;
  padding: 6px 10px !important;
  cursor: pointer;
}

.header-DAM .search-icon-btn:hover {
  color: #209b24 !important;
}

@media (max-width: 991px) {
  .header-DAM .navbar-collapse {
    background: #ffffff;
    padding: 15px 12px;
    border-top: 1px solid #eee;
    margin-top: 8px;
  }
  .header-DAM .navbar-nav {
    gap: 0;
    align-items: flex-start !important;
  }
  .header-DAM .nav-link {
    text-align: left;
    padding: 10px 12px !important;
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
  }
  .header-DAM .search-icon-btn {
    padding: 10px 12px !important;
  }
}

/* Chuẩn hóa Tiêu đề các Section bằng nhau */
.big-title,
.section-three-DAM .big-title,
.section-four-DAM .big-title,
.section-five-DAM .big-title,
.section-six-DAM .big-title,
.section-nine-DAM .big-title,
.awards-box .big-title {
  color: #001C4E !important;
  font-size: clamp(24px, 3.2vw, 32px) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.banner-text-content {
  position: absolute;
  top: 70%;
  left: 15px;
  z-index: 10;
  color: white;
}

.text-secondary-gray{
  color: #293c5e74;
}

.banner-text {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 15px;
  position: relative;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.banner-subtext {
  font-size: 40px;
  font-weight: 700;
  background-color: #e51d20;
  display: block;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  padding: 8px 15px;
  margin-top: 0%;
  gap: 15px;
}

.btn-red {
  background-color: #e51d20;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s;
}
.btn-red:hover {
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.btn-green {
  background-color: #179c33;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s;
}
.btn-green:hover {
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.video-mobile {
  display: none;
}
.mobile-calc-toggle {
  display: none;
}
.mobile-calc-close {
  display: none;
}


.big-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}

.desc-content-title {
  font-size: 25px;
  padding: 5px 0;
  text-align: center;
}

.desc-content {
  font-size: 18px;
  text-align: center;
  margin: 0px 0;
}

.section-two-DAM {
  background-color: #F2F4F6;
  padding: 18px 20px 40px;
  color: #001C4E;
  text-align: center;
}

.solar-benefits-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-two-DAM h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

.solar-benefits-intro {
  margin: 0 auto;
  font-size: clamp(12px, 1.4vw, 18px);
  line-height: 1.3;
}

.solar-benefits-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 66vw);
  max-width: 800px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
}

.solar-benefit img {
  display: block;
  width: clamp(54px, 6.2vw, 80px);
  height: auto;
  margin: 0 auto 8px;
}

.solar-benefit p {
  margin: 0;
  font-size: clamp(12px, 1.4vw, 18px);
  line-height: 1.3;
}

@media (max-width: 575px) {
  .section-two-DAM {
    padding: 28px 16px 32px;
  }

  .solar-benefits-break {
    display: none;
  }

  .solar-benefits-list {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    margin-top: 24px;
  }

  .solar-benefits-intro,
  .solar-benefit p {
    font-size: 14px;
  }

  .solar-benefit img {
    width: 64px;
    margin-bottom: 12px;
  }
}
.stat-box {
  padding: 30px 20px;
  text-align: center;
  border-radius: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-box.bg-white {
  background-color: #FFFFFF;
}
.stat-box.bg-green {
  background-color: #209B24;
}
.stat-box.bg-blue {
  background-color: #001C4E;
}
.stat-number {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}
.bg-white .stat-number { color: #001C4E; }
.bg-green .stat-number, .bg-blue .stat-number { color: #FFFFFF; }
.stat-desc {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}
.bg-white .stat-desc { color: #666; }
.bg-green .stat-desc, .bg-blue .stat-desc { color: #FFFFFF; }
@media screen and (max-width: 768px) {
  .section-two-DAM .col-md-4 {
    margin-bottom: 15px;
  }
}

.section-three-DAM {
  padding: clamp(28px, 3vw, 44px) 20px clamp(38px, 4.2vw, 60px);
  background: #b3deea url("./img/banner-3.jpg") center center / cover no-repeat;
  color: #001C4E;
}

.solar-solutions-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-three-DAM h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

.solar-solutions-intro {
  margin: 0;
  text-align: center;
  font-size: clamp(12px, 1.32vw, 18px);
  line-height: 1.3;
}

.solar-solutions-cards {
  display: grid;
  gap: clamp(22px, 2.5vw, 34px);
  width: min(100%, 60vw);
  max-width: 850px;
  margin: clamp(26px, 3vw, 40px) auto 0;
}

.solar-solution {
  position: relative;
  padding: clamp(18px, 2.1vw, 28px) clamp(22px, 3.5vw, 46px);
  border: 1px solid #fff;
  border-radius: 5px;
  color: #fff;
}

.solar-solution-rangdong {
  background: rgba(0, 28, 78, 0.92);
}

.solar-solution-huawei {
  background: rgba(32, 155, 36, 0.92);
}

.solar-solution-content {
  position: relative;
  z-index: 1;
  width: 74%;
}

.solar-solution-huawei .solar-solution-content {
  width: 68%;
}

.solar-solution h3 {
  width: max-content;
  min-width: 58%;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 6px 22px;
  background: #f01420;
  color: #fff;
  text-align: center;
  font-size: clamp(14px, 1.55vw, 21px);
  font-weight: 700;
  line-height: 1.15;
}

.solar-solution-specs {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(12px, 1.32vw, 18px);
  line-height: 1.3;
}

.solar-solution-specs li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.solar-solution-specs li > img {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.solar-solution-product {
  position: absolute;
  right: 12px;
  bottom: 18px;
  width: 26%;
  height: auto;
  object-fit: contain;
}

.solar-solution-huawei .solar-solution-product {
  width: 28%;
}

@media (max-width: 767px) {
  .solar-solutions-cards {
    width: 100%;
    max-width: 560px;
  }

  .solar-solutions-break {
    display: none;
  }
}

@media (max-width: 480px) {
  .section-three-DAM {
    padding: 28px 16px 32px;
  }

  .solar-solutions-intro,
  .solar-solution-specs {
    font-size: 14px;
  }

  .solar-solution {
    display: flex;
    flex-direction: column;
    padding: 20px;
  }

  .solar-solution .solar-solution-content {
    width: 100%;
  }

  .solar-solution h3 {
    width: 100%;
    font-size: 16px;
    padding: 8px 12px;
  }

  .solar-solution .solar-solution-product {
    position: static;
    align-self: center;
    width: 55%;
    max-width: 200px;
    margin-top: 20px;
  }
}

.small-title {
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  padding: 10px 0;
}


/* Section 4 - Tại sao nên chọn Rạng Đông */
.section-four-DAM {
  background-color: #F2F4F6;
  padding: clamp(32px, 3.8vw, 52px) 20px clamp(48px, 5.8vw, 80px);
  color: #001C4E;
}

.why-choose-container {
  width: min(100%, 75vw);
  max-width: 1050px;
  margin: 0 auto;
}

.section-four-DAM h2 {
  margin: 0 0 clamp(24px, 3vw, 38px);
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.section-four-DAM h2 > span {
  display: block;
  margin-bottom: 3px;
  font-size: 0.8em;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 10px;
}

.why-choose-card {
  background-color: #fff;
  border: 1px solid rgba(0, 28, 78, 0.04);
  border-radius: 5px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  padding: 10px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.why-choose-card-img-wrap {
  overflow: hidden;
  width: 100%;
}

.why-choose-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.why-choose-card-content {
  display: grid;
  grid-template-columns: clamp(25px, 3vw, 36px) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 16px 8px 18px;
  flex-grow: 1;
}

.why-choose-card-icon {
  display: block;
  width: 100%;
  height: auto;
}

.why-choose-card-title {
  margin: 0 0 4px;
  color: #001C4E;
  font-size: clamp(11px, 1.3vw, 17px);
  font-weight: 700;
  line-height: 1.3;
}

.why-choose-card-desc {
  margin: 0;
  color: #001C4E;
  font-size: clamp(11px, 1.3vw, 17px);
  line-height: 1.3;
  text-align: justify;
}

@media (max-width: 767px) {
  .why-choose-container {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .section-four-DAM {
    padding: 28px 16px 36px;
  }

  .why-choose-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .why-choose-card-content {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 18px 8px 20px;
  }

  .why-choose-card-title,
  .why-choose-card-desc {
    font-size: 14px;
  }
}



.button-DAM {
  background-color: #22B2BA;
  color: #FFFFFF;
  padding: 7px 15px;
  border-radius: 5px;
  display: inline-block;
}

.button-DAM:hover {
  text-decoration: none;
}

/* Section 5 - Quy trình triển khai */
.section-five-DAM {
  background: #b3bccb url("./img/banner-5.png") center bottom / cover no-repeat;
  padding: clamp(30px, 3.6vw, 48px) 20px clamp(50px, 6vw, 80px);
  color: #001C4E;
}

.solar-process-container {
  width: min(100%, 68vw);
  max-width: 1000px;
  margin: 0 auto;
}

.section-five-DAM h2 {
  margin: 0 0 clamp(24px, 3vw, 40px);
  text-align: center;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.35;
}

.section-five-DAM h2 > span {
  display: block;
  margin-bottom: 3px;
  font-size: 0.8em;
}

.solar-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 3.6vw, 48px) clamp(24px, 5.3vw, 68px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.solar-process-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(10px, 1.3vw, 18px);
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 4px;
  box-shadow: 1px 1px 1px rgba(0, 28, 78, 0.2);
}

.solar-process-card-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin-bottom: 6px;
}

.solar-process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 clamp(25px, 3vw, 40px);
  height: clamp(25px, 3vw, 40px);
  background: #e6e8ec;
  border-radius: 4px;
  color: #209B24;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1;
}

.solar-process-card h3 {
  margin: 0;
  font-size: clamp(11px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.3;
}

.solar-process-duration {
  align-self: flex-start;
  min-width: 54px;
  margin: auto 0 10px;
  padding: 2px 5px;
  background: #209B24;
  border-radius: 2px;
  color: #fff;
  text-align: center;
  font-size: clamp(11px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.1;
}

.solar-process-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 310 / 175;
  object-fit: cover;
}

@media (max-width: 767px) {
  .solar-process-container {
    width: 100%;
    max-width: 620px;
  }

  .solar-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .solar-process-card h3,
  .solar-process-duration {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .section-five-DAM {
    padding: 28px 16px 36px;
  }

  .solar-process-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 310px;
    margin: 0 auto;
  }
}

.partner-swiper-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.partnerSwiper {
  width: 100%;
}

.partnerSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

.partner-logo-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

/* Khối Các giải thưởng đạt được trong Section 5 */
.awards-box {
  background-color: #f2f4f6;
  border-radius: 8px;
  padding: 45px 35px 40px 35px;
  margin-top: 50px;
}

.awards-title {
  color: #001C4E;
  font-size: clamp(20px, 3vw, 25px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 35px;
  text-align: center;
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.award-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  width: 100%;
  margin-bottom: 18px;
}

.award-img-wrap img {
  max-height: 216px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.award-item:hover .award-img-wrap img {
  transform: translateY(-4px) scale(1.02);
}

.award-caption {
  color: #001C4E;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .awards-box {
    padding: 30px 15px 25px 15px;
    margin-top: 35px;
  }
  .award-img-wrap {
    height: auto;
    margin-bottom: 12px;
  }
  .award-img-wrap img {
    max-height: 180px;
  }
  .award-caption {
    font-size: 15px;
  }
}

/* Section 6 - Công trình thực tế */
.section-six-DAM {
  padding: clamp(24px, 3vw, 42px) 20px clamp(32px, 4vw, 56px);
  background-color: #fff;
  color: #001C4E;
}
.featured-projects-container {
  width: min(100%, 75vw);
  max-width: 1140px;
  margin: 0 auto;
}
.section-six-DAM h2 {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}
.featured-projects-intro {
  margin: 0 0 clamp(20px, 2.5vw, 32px);
  text-align: center;
  font-size: clamp(12px, 1.32vw, 18px);
  line-height: 1.4;
}
.featured-projects-swiper {
  overflow: hidden;
  width: 100%;
}
.featured-projects-swiper .swiper-slide { height: auto; }
.featured-projects-swiper .swiper-slide > img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .featured-projects-container { width: 100%; }
}
@media (max-width: 479px) {
  .featured-projects-swiper { max-width: 360px; }
}

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

.project-frame {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 28, 78, 0.08);
  border: 1px solid rgba(0, 28, 78, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
}

.project-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 28, 78, 0.12);
  text-decoration: none;
}

.project-img-wrap {
  overflow: hidden;
  border-radius: 2px;
  background-color: #eaeff5;
  width: 100%;
}

.project-img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 399 / 356;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-frame:hover .project-img-wrap img {
  transform: scale(1.03);
}

.project-info {
  margin-top: 18px;
  text-align: left;
}

.project-title {
  color: #001C4E;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  text-align: left;
}

.project-title a {
  color: #001C4E;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-title a:hover {
  color: #179c33;
  text-decoration: none;
}

.project-link {
  color: #6b7c93;
  font-size: 15px;
  font-style: italic;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.project-link:hover {
  color: #001C4E;
  text-decoration: none;
  transform: translateX(3px);
}

.project-popup-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: block;
}

.project-popup-item:hover {
  transform: translateY(-4px);
}

.project-popup-item img {
  width: 100%;
  height: auto;
  display: block;
}

.popup-sub-title {
  color: #001c4e;
  font-weight: 700;
  font-size: 19px;
  margin-top: 20px;
  margin-bottom: 18px;
}

swiper-slide.swiper-slide-active img {
  width: 100% !important;
}

.slide-box {
  height: 500px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
}

.swiper-slide .content-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px;
}

.content-box img {
  max-width: 250px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.box-content-DAM {
  border: 1px solid #22B2BA;
  border-radius: 20px;
}

.section-seven-DAM {
  padding-bottom: 120px ;
  padding-top: 50px;
}

.section-eight-DAM {
  padding: 10px;
}

.form-register-DAM {
  margin-top: 40px;
  width: 100%;
}

.form-register-DAM input[type="text"],
.form-register-DAM input[type="tel"] {
  border-radius: 10px;
  padding: 10px;
  border: none;
  outline: none;
  width: 100%;
  margin: 10px 0;
}

.form-register-DAM button {
  outline: none;
  background-color: white;
  margin-top: 20px;
  border: none;
  padding: 5px 15px;
  color: #22B2BA;
  font-weight: 700;
  border-radius: 10px;
}



.custom-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  appearance: none;
  background-color: #209B24;
}

.custom-slider::-webkit-slider-thumb {
  appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid #209B24;
  cursor: pointer;
  margin-top: -6px;
  /* căn giữa */
}

.custom-slider::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid #209B24;
  cursor: pointer;
}


/* tool */
.calculator-modal {
  background: rgba(255, 255, 255, 0.085);
  backdrop-filter: blur(15px);
  box-shadow: 0 calc(1vw * 20 / 1920 * 100) calc(1vw * 60 / 1920 * 100) rgba(0, 0, 0, 0.2);
  width: calc(100vw * 640 / 1920);
  height: auto;
  max-height: 85vh;
  position: absolute;
  left: calc(100vw * 1180 / 1920);
  top: calc(80vh * 172 * 809 / (1920 * 809));
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  padding: 25px;
  text-align: center;
  border-radius: 20px 20px 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  margin: auto;
  width: 100%;
}

.modal-title {
  font-size: 26px;
  font-weight: bold;
  color: #001C4E;
  margin-bottom: 4px;
  width: 100%;
  text-transform: uppercase;
  line-height: 1.2;
}

.modal-subtitle {
  color: #001C4E;
  font-size: 18px;
  margin: auto;
}

.modal-content {
  padding: 25px;
  background: transparent;
  backdrop-filter: blur(10px);
  border-radius: 0 0 20px 20px;
  flex: 1;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #001C4E;
  font-size: 18px;
  text-shadow: none;
}

input,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #ffffff56;
  color: #100c4e;
}

input:focus,
select:focus {
  outline: none;
  border-color: #22B2BA;
  box-shadow: 0 0 0 3px rgba(34, 178, 186, 0.1);
  background: #ffffff56;
}

input:hover,
select:hover {
  border-color: #aaa;
  background: #ffffff56;
}

input::placeholder {
  color: #001C4E;
}

select:invalid {
  color: #001C4E;
}

select option {
  color: #100c4e;
}

.price-input-wrapper {
  position: relative;
}

.price-suggestions {
  margin-top: 2px;
}

.price-suggestions li.active,
.price-suggestions li:hover {
  background: #eefbfb;
  color: #001C4E;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.form-group.half-width {
  flex: 1;
  margin-bottom: 0;
}

.slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #209B24 50%, rgba(255, 255, 255, 0.3) 50%);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(0, 28, 78, 0.8);
}

.slider-labels span {
  text-align: center;
  flex: 1;
}

#calculateBtn {
  width: 100%;
  padding: 12px;
  background: #209B24;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

#calculateBtn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#calculateBtn:active {
  transform: translateY(0);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.popup-overlay.show {
  display: flex !important;
}

.popup-modal {
  background: #ffffff;
  border-radius: 20px;
  padding: 0;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-header {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 25px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.popup-title {
  font-size: 24px;
  font-weight: bold;
  color: #22B2BA;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-content {
  padding: 0px 30px 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  max-height: 70vh;
  padding-bottom: 40px;
}

.result-item {
  background: #F6F6F6;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  border: #F6F6F6;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-label {
  font-size: 18px;
  color: #000000;
  font-weight: 400;
  line-height: 1.4;
}

.result-value {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-align: right;
  min-width: 120px;
}

.quote-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #22B2BA 0%, #0F5054 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.quote-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1CA7AC 0%, #0F5054 100%);
}

.quote-button:active {
  transform: translateY(0);
}

.quote-form {
  display: flex;
  flex-direction: column;
}

.quote-form .form-group {
  display: flex;
  flex-direction: column;
}

.quote-form input[type="text"],
.quote-form input[type="tel"] {
  border: 1px solid #ccc;
  padding: 12px 16px;
  font-size: 15px;
  border-radius: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.quote-form input:focus {
  outline: none;
  border-color: #22B2BA;
  box-shadow: 0 0 0 3px rgba(34, 178, 186, 0.2);
}

.quote-form label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #0F5054;
  font-size: 14px;
}

.quote-form .error-message {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.quote-form input:invalid+.error-message {
  display: block;
}

.success-notification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-notification.show {
  opacity: 1;
  visibility: visible;
}

.success-content {
  background: linear-gradient(180deg, #22B2BA 0%, #0F5054 100%);
  border-radius: 20px;
  padding: 40px 35px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  max-width: 450px;
  width: 90%;
  position: relative;
  transform: scale(0.8) translateY(30px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-notification.show .success-content {
  transform: scale(1) translateY(0);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #FFF600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #0F5054;
  margin: 0 auto 25px;
  font-weight: bold;
  box-shadow: 0 8px 25px rgba(255, 246, 0, 0.4);
  position: relative;
  animation: successPulse 2s infinite;
}

.success-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #FFF600;
  opacity: 0.3;
  transform: scale(1.2);
  animation: successRipple 2s infinite;
}

@keyframes successPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes successRipple {
  0% {
    transform: scale(1.2);
    opacity: 0.3;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.success-content h3 {
  color: #FFF600;
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.success-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.success-btn {
  background: #76CF39;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.success-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.success-btn:active {
  transform: translateY(0);
}

.success-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.success-btn:hover::before {
  left: 100%;
}

@media (max-width: 768px) {
  .calculator-modal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: auto;
    max-height: 90vh;
    border-radius: 15px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-content {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group.half-width {
    margin-bottom: 20px;
  }

  .slider-labels {
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .calculator-modal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: auto;
    max-height: 90vh;
    border-radius: 15px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-content {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group.half-width {
    margin-bottom: 20px;
  }

  .slider-labels {
    font-size: 10px;
  }

  .popup-modal {
    width: 95%;
    max-height: 90vh;
  }

  .popup-title {
    font-size: 20px;
  }

  .popup-content {
    padding: 20px;
  }

  .result-value {
    font-size: 18px;
  }

  .quote-button {
    font-size: 16px;
    padding: 12px;
  }
}


@media (max-width: 768px) {
  .calculator-modal {
    top: 45vh;
    margin-top: 35px;
    left: 50%;
    width: 95vw;
    max-height: 95vh;
  }
}

@media (max-width: 480px) {
  .calculator-modal {
    top: 45vh;
    margin-top: 35px;
    left: 50%;
    width: 95vw;
    max-height: 95vh;
  }

  .modal-title {
    font-size: 16px;
  }

  .modal-header {
    padding: 15px;
  }

  .modal-content {
    padding: 15px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  input,
  select {
    padding: 8px 10px;
    font-size: 13px;
  }

  #calculateBtn {
    padding: 10px;
    font-size: 14px;
  }

  .popup-header {
    padding: 20px;
  }

  .popup-content {
    padding: 15px;
  }

  .result-item {
    padding: 15px;
  }

  .success-content {
    padding: 30px 25px;
    margin: 20px;
  }

  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
    margin-bottom: 20px;
  }

  .success-content h3 {
    font-size: 20px;
  }

  .success-content p {
    font-size: 14px;
  }

  .success-btn {
    padding: 10px 25px;
    font-size: 14px;
  }
}

@media (min-width: 2560px) {
  .calculator-modal {
    max-width: 950px;
    max-height: 750px;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  /* .calculator-modal {
        position: relative;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 80vw;
        height: 90vh;
        max-height: 90vh;
    } */

  .modal-header {
    padding: 15px;
  }

  .modal-content {
    padding: 15px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .popup-modal {
    max-height: 95vh;
  }

  .popup-content {
    max-height: 70vh;
  }
}

.dropdown-list {
  display: none;
  position: absolute;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  max-height: 120px;
  overflow-y: auto;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  list-style: none;
  padding: 0;
}

.dropdown-list li {
  padding: 8px 12px;
  cursor: pointer;
}

.form-group.half-width {
  position: relative;
}

.input-icon-wrapper {
  position: relative;
  width: 100%;
}

.input-icon-wrapper input[type="text"] {
  padding-right: 36px;
}

.input-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
}

.input-icon svg {
  display: block;
}











.modal-header {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 25px;
  text-align: center;
  border-radius: 20px 20px 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #ffffff;
  flex-shrink: 0;
}

.modal-title {
  font-size: 26px;
  font-weight: bold;
  color: #001C4E;
  margin-bottom: 4px;
  width: 100%;
  text-transform: uppercase;
  line-height: 1.2;
}

.modal-subtitle {
  color: #001C4E;
  font-size: 18px;
  margin: auto;
}

.modal-content {
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 0 0 20px 20px;
  flex: 1;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #001C4E;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

input,
select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #ffffff;
  color: #333;
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  background: #ffffff;
}

input:hover,
select:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: #ffffff;
}

input::placeholder {
  color: #001C4E;
}

select:invalid {
  color: #001C4E;
}

select option {
  color: #100c4e;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.form-group.half-width {
  flex: 1;
  margin-bottom: 0;
}

.form-group.third-width {
  flex: 1;
  margin-bottom: 0;
}

.slider {
  width: 100%;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(to right, #209B24 50%, rgba(255, 255, 255, 0.3) 50%);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.slider-labels span {
  text-align: center;
  flex: 1;
}

#calculateBtn {
  width: 100%;
  padding: 12px;
  background: #209B24;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

#calculateBtn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#calculateBtn:active {
  transform: translateY(0);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.popup-overlay.show {
  display: flex !important;
}

.popup-modal {
  background: #ffffff;
  border-radius: 20px;
  padding: 0;
  max-width: 920px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-header {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 25px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.popup-title {
  font-size: 24px;
  font-weight: bold;
  color: #22b2ba;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-content {
  padding: 0px 30px 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  max-height: 70vh;
  padding-bottom: 40px;
}

.result-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.result-details {
  flex: 1;
}

.result-visual {
  width: 320px;
  flex-shrink: 0;
  /* border-radius: 16px; */
  overflow: visible;
  /* box-shadow: 0 10px 25px rgba(15, 80, 84, 0.12); */
  /* display: flex; */
  /* flex-direction: column; */
}

.solution-preview-image {
  width: 100%;
  display: block;
  /* flex: 1; */
}

.province-map-title,
.solution-preview-caption {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: #ffffff;
  /* flex-shrink: 0; */
}

.result-item {
  background: #f6f6f6;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  border: #f6f6f6;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-label {
  font-size: 18px;
  color: #000000;
  font-weight: 400;
  line-height: 1.4;
}

.result-value {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-align: right;
  min-width: 120px;
}

.esg-section {
  display: flex;
  margin: 14px 0 8px;
  gap: 5px;
  justify-content: space-between;
}

.esg-title {
  width: 200px;
  font-size: 14px;
  font-weight: 700;
  color: #0f5054;
  margin-bottom: 10px;
}

.esg-grid {
  display: flex;
  justify-content: end;
  gap: 5px;
}

.esg-card {
  border-radius: 10px;
  /*width: 30%;*/
   /*display: flex;*/
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background: #22B2BA;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
}

.esg-icon {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.esg-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.esg-label {
  font-size: 13px;
  color: #4b5f61;
}

.esg-value {
  font-size: 14px;
  color: #0f5054;
}

.package-suggestion {
  display: block;
  text-align: center;
  color: #0f5054;
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
  padding: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.package-suggestion:hover {
  color: #22b2ba;
  text-decoration: underline;
}

.package-suggestion.no-link {
  color: #666;
  cursor: default;
}

.package-suggestion.no-link:hover {
  text-decoration: none;
}

.quote-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #22b2ba 0%, #0f5054 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.quote-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1ca7ac 0%, #0f5054 100%);
}

.quote-button:active {
  transform: translateY(0);
}

.quote-form {
  display: flex;
  flex-direction: column;
}

.quote-form .form-group {
  display: flex;
  flex-direction: column;
}

.quote-form input[type="text"],
.quote-form input[type="tel"] {
  border: 1px solid #ccc;
  padding: 12px 16px;
  font-size: 15px;
  border-radius: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.quote-form input:focus {
  outline: none;
  border-color: #22b2ba;
  box-shadow: 0 0 0 3px rgba(34, 178, 186, 0.2);
}

.quote-form label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #0f5054;
  font-size: 14px;
}

.quote-form .error-message {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.quote-form input:invalid+.error-message {
  display: block;
}

.success-notification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-notification.show {
  opacity: 1;
  visibility: visible;
}

.success-content {
  background: linear-gradient(180deg, #22b2ba 0%, #0f5054 100%);
  border-radius: 20px;
  padding: 40px 35px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  max-width: 450px;
  width: 90%;
  position: relative;
  transform: scale(0.8) translateY(30px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-notification.show .success-content {
  transform: scale(1) translateY(0);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #fff600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #0f5054;
  margin: 0 auto 25px;
  font-weight: bold;
  box-shadow: 0 8px 25px rgba(255, 246, 0, 0.4);
  position: relative;
  animation: successPulse 2s infinite;
}

.success-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff600;
  opacity: 0.3;
  transform: scale(1.2);
  animation: successRipple 2s infinite;
}

@keyframes successPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes successRipple {
  0% {
    transform: scale(1.2);
    opacity: 0.3;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.success-content h3 {
  color: #fff600;
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.success-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.success-btn {
  background: #209B24;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.success-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.success-btn:active {
  transform: translateY(0);
}

.success-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s;
}

.success-btn:hover::before {
  left: 100%;
}

@media (max-width: 768px) {
  .calculator-modal {
    /* position: fixed; */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: auto;
    max-height: 90vh;
    border-radius: 15px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-content {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group.half-width,
  .form-group.third-width {
    margin-bottom: 20px;
  }

  .slider-labels {
    font-size: 10px;
  }

  .popup-modal {
    width: 95%;
    max-height: 90vh;
  }

  .popup-title {
    font-size: 20px;
  }

  .popup-content {
    padding: 20px;
  }

  .result-layout {
    flex-direction: column-reverse;
  }

  .result-visual {
    width: 100%;
  }

  .solution-preview-image {
    width: 100%;
    height: 260px;
  }

  /* .solution-preview-caption {
    font-size: 14px;
    padding: 10px 12px;
  } */

  .result-value {
    font-size: 18px;
  }

  .quote-button {
    font-size: 16px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .calculator-modal {
    width: 95vw;
    max-height: 95vh;
  }

  .modal-title {
    font-size: 16px;
  }

  .modal-header {
    padding: 15px;
  }

  .modal-content {
    padding: 15px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  input,
  select {
    padding: 8px 10px;
    font-size: 13px;
  }

  #calculateBtn {
    padding: 10px;
    font-size: 14px;
  }

  .popup-header {
    padding: 20px;
  }

  .popup-content {
    padding: 15px;
  }

  .result-item {
    padding: 15px;
  }

  .success-content {
    padding: 30px 25px;
    margin: 20px;
  }

  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
    margin-bottom: 20px;
  }

  .success-content h3 {
    font-size: 20px;
  }

  .success-content p {
    font-size: 14px;
  }

  .success-btn {
    padding: 10px 25px;
    font-size: 14px;
  }
}

@media (min-width: 2560px) {
  .calculator-modal {
    max-width: 950px;
    max-height: 750px;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .calculator-modal {
    /* position: fixed; */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 90vh;
    max-height: 90vh;
  }

  .modal-header {
    padding: 15px;
  }

  .modal-content {
    padding: 15px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .popup-modal {
    max-height: 95vh;
  }

  .popup-content {
    max-height: 70vh;
  }

}



.dropdown-list {
  display: none;
  position: absolute;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  max-height: 120px;
  overflow-y: auto;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  list-style: none;
  padding: 0;
}

.dropdown-list li {
  padding: 8px 12px;
  cursor: pointer;
}

.form-group.half-width {
  position: relative;
}

.input-icon-wrapper {
  position: relative;
  width: 100%;
}

.input-icon-wrapper input[type="text"] {
  padding-right: 36px;
}

.input-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
}

.input-icon svg {
  display: block;
}


h5 { font-size: 25px; }

body { font-size: 18px; }

/* Responsive Mobile Tweaks */
@media (max-width: 768px) {
  .modal-title br {
    display: none; /* Let text wrap naturally on mobile */
  }
  .modal-title {
    font-size: 20px !important;
  }
  .modal-subtitle {
    font-size: 14px !important;
    margin-top: 5px;
  }
}

@media (max-width: 480px) {
  .modal-title {
    font-size: 18px !important;
  }
  .modal-subtitle {
    font-size: 13px !important;
  }
}

/* Floating Contact Widget */
.floating-contact-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-toggle-btn {
  background-color: #209B24;
  color: white;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(32, 155, 36, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-toggle-btn:hover {
  background-color: #1a7d1d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32, 155, 36, 0.5);
}

.contact-popup-menu {
  background-color: #eaeff4; 
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.15);
  margin-bottom: 20px;
  width: 280px;
  display: none;
  flex-direction: column;
  border: 1px solid #d1d9e6;
  overflow: hidden;
}

.contact-popup-menu.show {
  display: flex !important;
  animation: slideUpFade 0.3s ease;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  text-decoration: none;
  transition: background-color 0.2s;
  border-bottom: 1px solid #dcdfe6;
}
.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  background-color: #e2e8f0;
  text-decoration: none;
}

.contact-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  position: relative;
  flex-shrink: 0;
}

.bg-tt { background-color: black; color: white; font-size: 24px; }
.bg-phone { background-color: #209B24; color: white; font-size: 20px; }

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
  color: #001c4e;
}

.contact-subtitle {
  font-size: 12px;
  color: #637381;
}

.zalo-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.zalo-badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

@media (max-width: 480px) {
  .floating-contact-widget {
    bottom: 20px;
    left: 20px;
  }
  .contact-popup-menu {
    width: 310px;
  }
  .contact-title {
    font-size: 15px;
  }
  .contact-subtitle {
    font-size: 13px;
  }
}

/* Hiệu ứng nhảy nhẹ cho nút Xem thêm dự án */
@keyframes slightJump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.jump-effect {
  animation: slightJump 2s infinite ease-in-out;
  transition: color 0.3s ease;
  position: relative;
  top: 5px;
}

.jump-effect:hover {
  color: #209B24 !important;
}


/* ------------- NEW SECTION ONE DESKTOP ------------- */
.section-one-DAM {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}


/* ------------- NEW MOBILE CALC LAYOUT ------------- */
@media screen and (max-width: 768px) {
  .section-one-DAM {
    height: auto !important;
    min-height: 100vh;
    padding-bottom: 40px;
    overflow: hidden !important;
  }
  .video-desktop {
    display: none !important;
  }
  .video-mobile {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }
  .banner-overlay {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    height: auto !important;
    padding: 25px 0 10px 0 !important;
    z-index: 2 !important;
    pointer-events: auto !important;
  }
  .banner-overlay .container {
    height: auto !important;
  }
  .banner-text-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    padding: 0 15px !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }
  .banner-text {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }
  .leaf-icon {
    width: 32px !important;
    transform: translate(-10px, -18px) !important;
    margin-right: -10px !important;
  }
  .banner-subtext {
    font-size: 16px !important;
    padding: 6px 12px !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 95% !important;
    margin: 0 auto !important;
    border-radius: 4px !important;
  }
  .banner-actions {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    padding: 0 15px !important;
    margin: 12px auto 20px auto !important;
  }
  .top-buttons {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .btn-red, .btn-green {
    font-size: 13px !important;
    padding: 10px 14px !important;
    flex: 1 !important;
    max-width: 175px !important;
    text-align: center !important;
    border-radius: 25px !important;
    white-space: nowrap !important;
  }
  
  .mobile-calc-toggle { display: none !important; }
  .mobile-calc-close { display: none !important; }

  /* OVERRIDE ALL PREVIOUS CALCULATOR-MODAL RULES ON MOBILE */
  .calculator-modal {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: calc(100% - 30px) !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    display: flex !important;
    height: auto !important;
    max-height: none !important;
    z-index: 2 !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    overflow: visible !important;
  }
  .modal-header {
    padding: 16px 14px !important;
    border-radius: 16px 16px 0 0 !important;
    width: 100% !important;
  }
  .modal-title {
    font-size: 17px !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    width: 100% !important;
  }
  .modal-subtitle {
    font-size: 13px !important;
    margin: 0 auto !important;
  }
  .modal-content {
    padding: 16px 14px !important;
    border-radius: 0 0 16px 16px !important;
    overflow-y: visible !important;
    max-height: none !important;
  }
  .form-row {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .form-group.half-width,
  .form-group.third-width,
  .form-group {
    margin-bottom: 12px !important;
    width: 100% !important;
  }
  label {
    font-size: 14px !important;
    margin-bottom: 5px !important;
    font-weight: 600 !important;
  }
  input:not([type="range"]), select {
    padding: 9px 12px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    height: auto !important;
  }
  input[type="range"].slider {
    padding: 0 !important;
    height: 6px !important;
  }
  #calculateBtn {
    padding: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    margin-top: 5px !important;
  }
}

/* Section Ten Form & Image */
.section-ten-DAM {
  overflow: hidden;
  padding: 44px 20px 48px;
  background: #001C4E;
  color: #fff;
  text-align: center;
}

.consultation-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-ten-DAM h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 700;
  line-height: 1.35;
}

.consultation-intro,
.consultation-privacy {
  color: #c8d1e1;
  font-size: clamp(13px, 1.2vw, 16px);
  font-style: italic;
  line-height: 1.4;
}

.consultation-intro {
  margin: 0 0 30px;
}

.consultation-form {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.consultation-field {
  position: relative;
  margin-bottom: 12px;
}

.consultation-field input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 10px 24px;
  border: 1px solid #b9c4d6;
  border-radius: 3px;
  background: #fff;
  color: #001C4E;
  font-size: 16px;
}

.consultation-field label {
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  margin: 0;
  color: #92969b;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.consultation-field label span {
  color: #f01420;
}

.consultation-field input:not(:placeholder-shown) + label {
  opacity: 0;
}

.consultation-field input:focus-visible {
  outline: 2px solid #22b2ba;
  outline-offset: 2px;
}

.consultation-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.consultation-submit,
.consultation-hotline {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: none;
  border-radius: 3px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.consultation-submit {
  background: #209B24;
}

.consultation-hotline {
  background: #f01420;
}

.consultation-hotline:hover {
  color: #fff;
  text-decoration: none;
}

.consultation-privacy {
  margin: 10px 0 0;
}

@media (max-width: 768px) {
  .section-ten-DAM .consultation-field input {
    height: 44px;
    padding: 8px 16px !important;
    border-radius: 3px !important;
  }

  .section-ten-DAM .consultation-field label {
    left: 16px;
    margin: 0 !important;
    font-weight: 400 !important;
  }

  .consultation-submit,
  .consultation-hotline {
    min-height: 44px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .consultation-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

.robot-img-col {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-bottom: 0;
}

.robot-form-img {
  width: 148%;
  max-width: none !important;
  margin-right: -200px;
  margin-bottom: -22px;
  display: block;
}

@media (max-width: 1199px) {
  .robot-form-img {
    width: 135%;
    margin-right: -50px;
    margin-bottom: -18px;
  }
}

@media (max-width: 991px) {
  .robot-form-img {
    width: 120%;
    margin-right: -30px;
    margin-bottom: -14px;
  }
}

@media (max-width: 767px) {
  .robot-img-col {
    justify-content: center;
    margin-bottom: 25px;
  }
  .robot-form-img {
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    display: inline-block;
  }
}

/* Subtle motion, using the existing solar green and navy palette. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

.header-DAM.is-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 28px rgba(0, 28, 78, 0.12);
}

.banner-text {
  animation: solar-intro 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.banner-subtext {
  animation: solar-intro 850ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes solar-intro {
  from { opacity: 0; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}

.motion-reveal {
  transition: opacity 700ms var(--reveal-delay, 0ms) ease,
    translate 700ms var(--reveal-delay, 0ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-pending {
  opacity: 0;
  translate: 0 28px;
}

.motion-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

.stat-box,
.section-three-DAM .col-3 > img {
  transition: transform 350ms ease, box-shadow 350ms ease;
}

.section-three-DAM a .fa-arrow-right {
  transition: transform 250ms ease;
}

#calculateBtn,
.form-register-DAM button,
.button-DAM {
  transition: transform 250ms ease, box-shadow 250ms ease, filter 250ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 28, 78, 0.14);
  }

  .section-three-DAM .col-3:hover > img {
    transform: translateY(-5px) scale(1.025);
  }

  .section-three-DAM a:hover .fa-arrow-right {
    transform: translateX(5px);
  }

  #calculateBtn:hover,
  .form-register-DAM button:hover,
  .button-DAM:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(32, 155, 36, 0.25);
    filter: brightness(1.06);
  }
}

#calculateBtn:active,
.form-register-DAM button:active,
.button-DAM:active {
  transform: translateY(0) scale(0.98);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #22b2ba;
  outline-offset: 4px;
}

/* Gentle feedback for the residential content and consultation form. */
.solar-benefit img,
.solar-solution-product,
.why-choose-card-img,
.solar-process-card > img {
  transition: transform 350ms ease;
}

.solar-solution,
.why-choose-card,
.solar-process-card {
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.solar-process-card {
  overflow: hidden;
}

.consultation-submit,
.consultation-hotline {
  transition: transform 200ms ease, filter 200ms ease, box-shadow 200ms ease;
}

.consultation-field input {
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.consultation-field input:focus {
  border-color: #22b2ba;
  box-shadow: 0 0 0 3px rgba(34, 178, 186, 0.22);
}

@media (hover: hover) and (pointer: fine) {
  .solar-benefit:hover img {
    transform: translateY(-4px) scale(1.06);
  }

  .solar-solution:hover,
  .why-choose-card:hover,
  .solar-process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 28, 78, 0.16);
  }

  .solar-solution:hover .solar-solution-product {
    transform: scale(1.04);
  }

  .why-choose-card:hover .why-choose-card-img {
    transform: scale(1.035);
  }

  .consultation-submit:hover,
  .consultation-hotline:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
  }
}

.consultation-submit:active,
.consultation-hotline:active {
  transform: scale(0.98);
}

.motion-reveal {
  transition: opacity 700ms var(--reveal-delay, 0ms) ease,
    translate 700ms var(--reveal-delay, 0ms) cubic-bezier(0.22, 1, 0.36, 1),
    transform 300ms ease, box-shadow 300ms ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .motion-pending {
    opacity: 1;
    translate: none;
  }
}

.featured-projects-swiper > .swiper-wrapper {
  transition-timing-function: linear;
}

@media (min-width: 769px) and (max-width: 1919px) {
  .banner-text-content {
    left: max(15px, calc(334px - (100vw - 100%) / 2));
    max-width: calc(100vw * 1180 / 1920 - max(334px, calc((100vw - 100%) / 2 + 15px)) - 24px);
  }

  .banner-text > span {
    white-space: normal !important;
  }
}

@media (min-width: 769px) and (max-width: 1599px) {
  .banner-text {
    font-size: clamp(24px, 2.6vw, 40px);
    line-height: 1.2;
  }

  .banner-subtext {
    font-size: clamp(20px, 2.1vw, 32px);
  }
}