/* *, ::before, ::after {
  outline:1px solid red;
} */





/* 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; 
}*/















/* Text Modal Styles */
.text-modal {
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  margin: auto; /* This will center the modal in the overlay */
  display: flex;
  flex-direction: column;
}

.text-modal-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #FFD600;
}

.text-modal-header h3 {
  color: #FFD600;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.text-modal-content {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  align-self: center;
  align-content: center;;
}

.text-modal-content p {
  margin-bottom: 15px;
}

/* Mobile adjustments for text modal */
@media (max-width: 768px) {
  .text-modal {
    max-width: 90vw;
    margin: 20px;
  }
  
  .text-modal-header h3 {
    font-size: 20px;
  }
  
  .text-modal-content {
    font-size: 14px;
  }
}

.mobile-menu-hidden {
  display: none;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding-right: 15px;
    padding-left: 15px;
}


.client-logos-layout3 {
    display: flex
;
    flex-wrap: wrap;
}

.client-logos-layout3 .client-logo-item {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    width: calc(20% - 24px);
    margin-right: 0px;
    margin-bottom: 0px;
    background: var(--secondary-color);
    padding: 10px 20px;
    text-align: center;
    border-radius: 0px;
}

.Footer_social__1ezD8 {
  margin-top: 0;
    width: 100%;
    height: 1%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-top: 73px;
    /* overflow-x: hidden; */
}
ul {
  list-style: none; /* Removes the dots */
  padding-left: 0;  /* Removes indentation */
  display: flex;     /* Makes items horizontal */
  gap: 15px;         /* Adds spacing between items */
}
body {
  font-family: 'Montserrat', sans-serif;
  background: #000;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  color: white;
}

.top-bar {
  display: flex;
  gap: 30px;
  padding: 8px 60px;
  background: #000000;
  font-size: 0.9rem;
  color: white;
}

.top-bar .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-item i {
  color: #FFD600;
}

.contact-item span {
  color: #ffffff;
}

.top-bar i {
  color: #FFD600;
  font-size: 1rem;
}

/*ПАРТНЕРСКИЕ БОКСЫ*/
  .solar-partners-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
  }

  .solar-partners-section h2 {
    color: #4a4a1f;
    font-size: 26px;
    margin-bottom: 40px;
  }

  .partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .partner-box {
    background-color: #f5f7f6;
    border-radius: 16px;
    padding: 20px;
    width: 140px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
    transform: scale(0.9) translateY(40px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
  }

  .partner-box.visible {
    transform: scale(1) translateY(0);
    opacity: 1;
  }

  .partner-box:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background-color: #eef6f1;
  }

  .partner-box img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }

  .partner-box:hover img {
    transform: scale(1.05);
  }

  @media (max-width: 768px) {
    .partner-box {
      width: 40%;
    }
  }

  @media (max-width: 480px) {
    .partner-box {
      width: 80%;
    }

    .solar-partners-section h2 {
      font-size: 20px;
    }
  }
/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(0, 0, 0, 0.8);
  flex-wrap: wrap; /* For better responsiveness */
}

  .lang-dropdown {
    position: relative;
    display: inline-block;
    font-family: sans-serif;
    order: 1;
  }

  .lang-button {
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #ccc;
    background-color: #ffd50000;
    border-radius: 6px;
    cursor: pointer;
    min-width: 80px;
    transition: background-color 0.2s ease;
    z-index: 4;
  }

  .lang-button:hover {
    background-color: #ffd50000;
  }

  .lang-list {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 4px;
    z-index: 1000;
    min-width: 100%;
  }

  .lang-list button {
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
  }

  .lang-list button:hover {
    background-color: #f2f2f2;
  }

.animated-headlines {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  margin-bottom: 1em;
  /* overflow: hidden; */
  margin-top: 50px;
}

.animated-headlines h1 {
  opacity: 0;
  transform: translateX(0);
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

/* Слева */
.animated-headlines .slide-in-left {
  transform: translateX(-100%);
  animation-name: slideInLeft;
  text-align: left;
  align-self: flex-start;
}

/* Справа */
.animated-headlines .slide-in-right {
  transform: translateX(100%);
  animation-name: slideInRight;
  text-align: right;
  align-self: flex-end;
}

/* Анимации */
@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Поочерёдная анимация */
.animated-headlines h1:nth-of-type(1) {
  animation-delay: 2s;
}

.animated-headlines h1:nth-of-type(2) {
  animation-delay: 2.5s;
}

.animated-headlines h1:nth-of-type(3) {
  animation-delay: 3s;
}

#langLabel {
  color: white;
}

#arrow {
  color: #ffffff;
}
  
nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #FFD600;
}

.btn-yellow {
  background: #FFD600;
  color: #000;
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
  margin-top:100px; /* сдвигаем кнопку вниз */
}

.btn-yellow:hover {
  background: #e5c100;
}

.hero {
  position: relative;
  width: 100%;
  /* height: 100vh; */
  /* overflow: hidden; */
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 150px 20px;
  max-width: 900px;
  margin: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.highlighted-title {
  color: #FFD700; /* желтый */
  font-size: 30px; /* увеличить */
  position: relative;
  top: -100px; /* поднимает текст вверх */
  z-index: 1;
  margin-bottom: -50px; /* отступ снизу, чтобы элементы ниже не налезали */

  /* Анимация появления */
  opacity: 0;
  animation: fadeInUp 1.5s ease-out forwards;
  animation-delay: 1s; /* можно убрать или настроить */
  top: -50px;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.hero-content.visible {
  opacity: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: -80px;
  color: #ddd;
  margin-top: 0px;
}

.headline-row {
  display: flex;
  flex-direction: column;
  gap: 0.3em; /* делаем их ближе друг к другу */
  margin-bottom: 1em;
}

.align-left {
  text-align: left;
  align-self: flex-start;
}

.align-right {
  text-align: right;
  align-self: flex-end;
}

.fade-in-text {
  opacity: 0;
  animation: fadeIn 3.5 ease forwards;
  animation-delay: 3.5s;
}

/* Ключевые кадры для плавного появления */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}



footer {
  position: absolute;
  top: auto;
  bottom: -100px;
  left: 18%;
  transform: translateX(-50%);
  text-align: left;
  font-size: 0.9rem;
  color: #aaa;
}


    /* --- Модальное окно --- */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.8);
      display: none;
      justify-content: center;
      align-items: center;
      padding: 20px;
      z-index: 9999;
      backdrop-filter: blur(5px);
    }

    .modal {
      background: rgba(255, 255, 255, 0);
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 0 40px #ffd50063;
      padding: 30px 28px;
      width: 100%;
      max-width: 420px;
      color: #fff;
      animation: modalFadeIn 0.4s ease forwards;
    }
    @keyframes modalFadeIn {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .tabs {
      display: flex;
      justify-content: space-between;
      margin-bottom: 25px;
      border-radius: 14px;
      /* overflow: hidden; */
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .tab {
      flex: 1;
      padding: 12px 0;
      font-weight: 600;
      font-size: 14px;
      text-align: center;
      color: #aaa;
      background: transparent;
      cursor: pointer;
      transition: background 0.3s, color 0.3s;
      user-select: none;
    }
    .tab.active {
      background: #FFD600;
      color: #000;
      font-weight: 700;
      box-shadow: inset 0 -4px 6px rgba(0, 0, 0, 0.1);
    }

    .tab-content {
      display: none;
      font-size: 15px;
      text-align: center;
      user-select: text;
    }
    .tab-content.active {
      display: block;
    }

    .contact-info {
      margin-top: 10px;
    }

    .icons {
      display: flex;
      justify-content: center;
      gap: 50px;
      margin-bottom: 22px;
    }
    .icons img {
      width: 48px;
      height: 48px;
      cursor: pointer;
      filter: drop-shadow(0 0 5px #ffffff);
      transition: transform 0.25s ease, filter 0.25s ease;
    }
    .icons img:hover {
      transform: scale(1.15);
      filter: drop-shadow(0 0 12px #FFD600);
    }

    .icon-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px; /* Space between icon and text */
    }

    .icon-item span {
      font-size: 12px;
      color: #ccc;
    }
    .contact-info a {
      color: #FFD600;
      text-decoration: none;
      font-weight: 600;
    }
    .address {
      margin-top: 6px;
      color: #bbb;
      font-size: 14px;
    }

    .close-btn {
      margin-top: 30px;
      width: 100%;
      padding: 12px 0;
      border: none;
      border-radius: 14px;
      /* background: rgba(255, 255, 255, 0.08); */
      background: #fff;
      color: black;
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s;
      user-select: none;
    }
    .close-btn:hover {
      background: gray;
    }



:root {
  --yellow: #f9d71c;
  --white: #ffffff;
  --dark-bg: #0a0a06;
  --light-gray: rgba(255, 255, 255, 0.8);
}

.solar-section {
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
  color: var(--white);
  font-family: var(--font-family);
  padding: 60px 40px;
}

.main-content {
  display: flex;
  flex-direction: column;
}

.text-image-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.center-text {
  flex: 1;
  max-width: 600px;
}

.intro {
  font-weight: 600;
  font-size: 12px;
  color: var(--yellow);
  margin-bottom: 12px;
}

.title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 25px 0;
}

.description {
  font-size: 20px;
  line-height: 1.5;
  color: var(--light-gray);
  margin-bottom: 20px;
}

.image-wrapper {
  flex: 1 1 0%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 20px;
}

.image-wrapper img {
  width: 100%;
  border-radius: 14px;
  border-bottom: 6px solid var(--yellow);
  object-fit: cover;

  /* Светящийся эффект: желтая + белая светодиодная обводка */
  box-shadow: 
    0 0 15px rgba(249, 215, 28, 0.4), /* Жёлтая тень */
    0 0 10px rgba(255, 255, 255, 0.6), /* Белая "светодиодная" */
    0 0 20px rgba(255, 255, 255, 0.4);
}


.links-block-full {
  margin-top: 0px;
  width: 100%;
}

.links-block-full hr {
  border: none;
  border-bottom: 1px solid var(--yellow);
  margin: 14px 0;
  width: 100%;
}

.link-item-full {
  width: 100%;
}

.link-item-full h3 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
}

.link-item-full a {
  font-size: 16px;
  color: var(--yellow);
  text-decoration: none;
  padding-bottom: 2px;
  display: inline-block;
}

.hidden-text {
  display: none;
  margin-top: 10px;
  font-size: 16px;
  color: var(--light-gray);
  line-height: 1.5;
}

.toggle-link.active {
  color: white;
}

.highlight-yellow {
  color: #FFD600;
  font-weight: 600;
}

/* Frame 3 */
.cards-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 0 20px 60px 20px;
  color: #000;
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
}

.section-header {
  text-align: center;
  max-width: 800px;
}

.section-subtitle {
  color: #fcd900;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 600;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.3;
}

.section-description {
  font-size: 20px;
  color: #cccccc;
  line-height: 1.6;
}

.row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.card-with-icon {

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
    border-radius: 14px;
  cursor: pointer;
  border-bottom: 6px solid var(--yellow);

}

.icon-circle {
  position: absolute;
  top: -25px;
  z-index: 2;
  background-color: #fcd900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  border: 3px solid #ffffff;
}

.icon-circle img {
  width: 70%;
  height: 70%;
  object-fit: cover;
}

.card {
  background-color: #fef5d7;
  padding: 40px 30px 25px;
  width: 400px;
  border-radius: 14px;
  border-bottom: 6px solid var(--yellow);
  object-fit: cover;
  box-shadow: 0 0 15px rgba(249, 215, 28, 0.4), 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
  text-align: center;
  border: 3px solid #ffffff;
}

.card.full {
  width: 500px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
}

.card p {
  font-size: 12px;
  color: #444;
  line-height: 1.4;
}

.bottom-card {
  display: flex;
  justify-content: center;
  margin-top: -10px;
}

/* Frame 4 */
.solar-sections {
  padding: 30px 40px;
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
  overflow-x: hidden;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  /* overflow-x: hidden; */
}

.left-column {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
}

.section-label {
    color: #FFD700;
    font-weight: 200;
    text-transform: uppercase;
    font-size: 15px;
    margin-bottom: 16px;
    text-align: left;
    font-weight: 600;
}

.main-heading {
  font-size: 39px;
    font-weight: 600;
    line-height: 1.2em 46.8px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.description {
  color: #ccc;
  font-size: 20px;
  line-height: 1.6;
  max-width: 90%;
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-block {
  background-color: #121212;
  border-radius: 12px;
  color: #fff;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.benefit-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}

.benefit-block.open .benefit-title {
  color: #000;
}

.arrow-circle {
  background-color: #FFD700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.benefit-block.open .arrow-circle {
  background-color: #000;
}

.arrow {
  font-size: 14px;
  color: #000;
  transition: transform 0.3s ease, color 0.3s ease;
}

.right-column {
  flex: 0 0 40%;
}

.image-grid-custom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
}

.img-container {
  transform: translate(var(--shift-x, 0px), var(--shift, 0px));
  transition: transform 0.3s ease;
  height: auto;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) sepia(0.3) hue-rotate(-20deg) saturate(1.5);
  display: block;
  border-radius: 12px;
}

.tall {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.wide {
  grid-column: 2;
  aspect-ratio: 4 / 2;
}

.square {
  aspect-ratio: 1 / 1;
}

/* Frame 5 */
.section-dewatt {
  display: flex;
  /* overflow: hidden; */
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
}

.dewatt-image {
  flex: 1;
  min-width: 300px;
}

.dewatt-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 40px;
}

.dewatt-text {
  flex: 1;
  padding: 40px 30px;
  border-radius: 40px;
  background: linear-gradient(to bottom right, #fff9e5, #fcf4c2);
}

.dewatt-brand {
    color: #f6c000;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

.dewatt-text h2 {
  margin: 10px 0 20px;
  font-size: 40px;
  color: #1f1f1f;
}

.dewatt-text p {
  margin: 10px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.5;
}

.dewatt-text ul {
  padding-left: 20px;
  margin: 15px 0;
}

.dewatt-text li {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}

.dewatt-text li strong {
  color: #000;
}

/* Frame 6 */
.process-section {
  padding: 60px 20px;
  text-align: center;
}

.process-section h2 {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: white;
}

.process-section .brand {
  color: #FFD700;
  font-weight: bold;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-box {
  background-color: #d4c7a0;
  color: black;
  padding: 30px 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  background: #FFD700;
  color: black;
  font-weight: bold;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.step-box h3 {
  margin-top: 30px;
  font-size: 1.2em;
}

.step-box p {
  margin-top: 10px;
  font-size: 0.95em;
  line-height: 1.5;
}

/* Frame 7 */
.solar-showcase {
  padding: 40px 20px;
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
  margin: 0 auto;
  text-align: center;
}


.subtitle {
    color: #ffd800;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.titles {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 40px;
}

.solar-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: -80px;
}

.solar-project-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  /* overflow: hidden; */
  height: 240px;
  cursor: pointer;
  transition: 0.4s ease-in-out;
  border: 2px solid white; /* Белая рамка */
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7); /* Эффект свечения */
}

.sun-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 16px;
  background: #FFD700;
  color: black;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.solar-project-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  text-align: left;
  transition: opacity 0.3s ease;
}

.solar-project-info h3 {
  font-size: 20px;
  margin: 0;
}

.solar-project-info p {
  font-size: 15px;
  color: #d0d0d0;
  margin: 4px 0 0 0;
}

.overlay-text {
  position: absolute;
  inset: 0;
  background-color: #FFD700;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  padding: 0 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.button-wrapper {
  display: flex;
  justify-content: center;
}

.yellow-button {
  background-color: #FFD700;
  border: none;
  color: black;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.yellow-button:hover {
  background-color: #e6c200;
}

.solar-project-card:hover .overlay-text {
  opacity: 1;
}

.solar-project-card:hover .solar-project-info {
  opacity: 0;
}

.img-container.wide.move-down {
  height: 140px;
}

/* Frame 8 */
.solar-promo {
  position: relative;
  height: 500px;
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
  background-image: url('../img/solar-promo.png');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  /* overflow: hidden; */
  border-radius: 0px;
}

.solar-promo__overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.solar-promo__content h1 {
  color: white;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}

.solar-promo__button {
  background-color: #ffeb3b;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.solar-promo__button:hover {
  background-color: #fdd835;
}

/* Frame 9 */
.dewatt-section {
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
  padding: 20px 20px;
  color: white;
}

.dewatt-section * {
  box-sizing: border-box;
}

.dewatt-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.dewatt-section .header-text {
  width: 50%;
  margin: 0 auto 40px auto;
  text-align: center;
}

.dewatt-section .label-top {
  color: #ffd800;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dewatt-section .main-title {
  font-weight: 700;
  font-size: 29px;
  line-height: 1.3;
  color: white;
  margin: 0;
}

.dewatt-section .main-title strong {
  display: block;
}

.dewatt-section .content-wrapper {
  display: flex;
  border-radius: 8px;
  /* overflow: hidden; */
  gap: 0;
}

.dewatt-section .left-section {
  background: #0a0a0a;
  padding: 30px 30px 40px 30px;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dewatt-section .info-text {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 18px;
  color: white;
}

.dewatt-section .tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.dewatt-section .tab.active {
  flex: 1;
  background: linear-gradient(to bottom, #ffa500, #ffd800); /* Жёлтый → Оранжевый */  
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  padding: 10px 0;
  border-radius: 7px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  font-size: 16px;
}

.dewatt-section .tab.inactive {
  flex: 1;
  background-color: #212121;
  color: #ffffff;
    font-weight: 600;
    text-align: center;
    padding: 10px 0;
    border-radius: 7px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    font-size: 16px;

}

.dewatt-section form {
  display: flex;
  flex-direction: column;
}

.dewatt-section .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 20px;
  margin-bottom: 15px;
}

.dewatt-section input[type="text"],
.dewatt-section input[type="email"],
.dewatt-section input[type="tel"],
.dewatt-section select,
.dewatt-section textarea {
  width: 100%;
  border-radius: 7px;
  border: none;
  padding: 10px 12px;
  font-size: 13px;
  box-shadow: 0 0 5px rgb(255 216 0 / 0.4);
  outline: none;
  background: white;
  color: #222;
}

.dewatt-section select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #222 50%),
    linear-gradient(135deg, #222 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    calc(100% - 25px) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  cursor: pointer;
}

.dewatt-section textarea {
  resize: vertical;
  min-height: 80px;
}

.dewatt-section .full-width {
  grid-column: 1 / 3;
}

.dewatt-section .checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 9px;
  color: #ddd;
  margin: 15px 0 25px 0;
  line-height: 1.3;
}

.dewatt-section .checkbox-container input {
  margin-top: 3px;
}

.dewatt-section .checkbox-container span {
  user-select: none;
}

.dewatt-section .submit-btn {
  background-color: #ffd800;
  border: none;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dewatt-section .submit-btn:hover {
  background-color: #e6c600;
}

.dewatt-section .right-section {
  width: 50%;
  min-height: 650px;
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
  background: url('../img/dewatt-wrapper.png') no-repeat center center/cover;
  position: relative;
  gap: 0;
}

.dewatt-section .right-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top left, rgba(255, 216, 0, 0.3), transparent 70%);
  pointer-events: none;
}

/* --- Светящийся уголок "_|" в правом нижнем углу --- */

.dewatt-service__img-wrapper {
  position: relative;
  display: inline-block;
}

/* Само фото поверх */
.dewatt-service__img-wrapper img {
  position: relative;
  z-index: 2;
  display: block; /* чтобы убрать лишние отступы */
}

/* Горизонтальная линия уголка под фото */
.dewatt-service__img-wrapper::before {
    content: '';
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 210px;
    height: 2px;
    background: white;
    box-shadow: 3px 1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/* Вертикальная линия уголка под фото */
.dewatt-service__img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 2px;
    height: 150px;
    background: white;
    box-shadow: 2px -1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/*второе фото*/
.dewatt-services__img-wrapper {
  position: relative;
  display: inline-block;
}

/* Само фото поверх */
.dewatt-services__img-wrapper img {
  position: relative;
  z-index: 2;
  display: block; /* чтобы убрать лишние отступы */
}

/* Горизонтальная линия уголка под фото */
.dewatt-services__img-wrapper::before {
    content: '';
    position: absolute;
    bottom: 32px;
    right: 3px;
    width: 210px;
    height: 2px;
    background: white;
    box-shadow: 3px 1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/* Вертикальная линия уголка под фото */
.dewatt-services__img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 35px;
    right: 3px;
    width: 2px;
    height: 150px;
    background: white;
    box-shadow: 2px -1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/*третье фото*/
.dewatt-services__img-wrapper-3 {
  position: relative;
  display: inline-block;
}

/* Само фото поверх */
.dewatt-services__img-wrapper-3 img {
  position: relative;
  z-index: 2;
  display: block; /* чтобы убрать лишние отступы */
}

/* Горизонтальная линия уголка под фото */
.dewatt-services__img-wrapper-3::before {
    content: '';
    position: absolute;
    bottom: 32px;
    right: 3px;
    width: 210px;
    height: 2px;
    background: white;
    box-shadow: 3px 1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/* Вертикальная линия уголка под фото */
.dewatt-services__img-wrapper-3::after {
    content: '';
    position: absolute;
    bottom: 35px;
    right: 3px;
    width: 2px;
    height: 150px;
    background: white;
    box-shadow: 2px -1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/*четвертое фото*/
.dewatt-services__img-wrapper-4 {
  position: relative;
  display: inline-block;
}

/* Само фото поверх */
.dewatt-services__img-wrapper-4 img {
  position: relative;
  z-index: 2;
  display: block; /* чтобы убрать лишние отступы */
}

/* Горизонтальная линия уголка под фото */
.dewatt-services__img-wrapper-4::before {
    content: '';
    position: absolute;
    bottom: 32px;
    right: 3px;
    width: 210px;
    height: 2px;
    background: white;
    box-shadow: 3px 1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/* Вертикальная линия уголка под фото */
.dewatt-services__img-wrapper-4::after {
    content: '';
    position: absolute;
    bottom: 35px;
    right: 3px;
    width: 2px;
    height: 150px;
    background: white;
    box-shadow: 2px -1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/*пятое фото*/
.dewatt-services__img-wrapper-5 {
  position: relative;
  display: inline-block;
}

/* Само фото поверх */
.dewatt-services__img-wrapper-5 img {
  position: relative;
  z-index: 2;
  display: block; /* чтобы убрать лишние отступы */
}

/* Горизонтальная линия уголка под фото */
.dewatt-services__img-wrapper-5::before {
    content: '';
    position: absolute;
    bottom: 32px;
    right: 3px;
    width: 210px;
    height: 2px;
    background: white;
    box-shadow: 3px 1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/* Вертикальная линия уголка под фото */
.dewatt-services__img-wrapper-5::after {
    content: '';
    position: absolute;
    bottom: 35px;
    right: 3px;
    width: 2px;
    height: 150px;
    background: white;
    box-shadow: 2px -1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/*шестое фото*/
.dewatt-services__img-wrapper-6 {
  position: relative;
  display: inline-block;
}

/* Само фото поверх */
.dewatt-services__img-wrapper-6 img {
  position: relative;
  z-index: 2;
  display: block; /* чтобы убрать лишние отступы */
}

/* Горизонтальная линия уголка под фото */
.dewatt-services__img-wrapper-6::before {
    content: '';
    position: absolute;
    bottom: 51px;
    right: 3px;
    width: 210px;
    height: 2px;
    background: white;
    box-shadow: 3px 1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/* Вертикальная линия уголка под фото */
.dewatt-services__img-wrapper-6::after {
    content: '';
    position: absolute;
    bottom: 55px;
    right: 3px;
    width: 2px;
    height: 150px;
    background: white;
    box-shadow: 2px -1px 6px 2px rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    z-index: 1;
}

/* Frame 10 */
.dewatt-sections {
  background: linear-gradient(90deg, #0c0a05 30%, #3e310a 100%);
  margin: 0 auto;
  padding: 60px 20px 100px;
  text-align: center;
  flex-wrap: wrap;
}

.dewatt-sections__subtitle {
  color: #FFDD00;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  user-select: none;
}

.dewatt-sections__title {
  font-weight: 700;
  font-size: 40px;
  margin: 0 0 30px;
  user-select: none;
}

.dewatt-services {
  display: flex;
  grid-template-columns: repeat(3, 360px);
  justify-content: center;
  gap: 20px 24px;
  flex-wrap: wrap;
}





.hero-subtitle-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.5em; /* No vertical gap, 0.5em horizontal gap */
  margin-bottom: 20px; /* Space between subtitle and the animated headlines */
}

/* When the items wrap, ensure they are centered */
.hero-subtitle-container .highlighted-title {
  text-align: center;
}

/* Add a media query to add vertical space only when items stack */
@media (max-width: 769px) {
  .hero-subtitle-container {
    gap: 30px 0.5em; /* Adds 30px vertical gap when stacking */
  }
}






.dewatt-service {
  text-align: center;
  cursor: pointer;
}

.dewatt-service__img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.dewatt-service__text {
  margin-top: 12px;
  font-weight: 700;
  font-size: 20px;
  line-height: 18px;
  color: #fff;
  user-select: none;
  white-space: pre-line;
  max-width: 360px;
}

/* Frame 11 */
.custom-footer {
  flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
              url('../img/footer.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 50px;
}

.custom-footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
  /* overflow-x: hidden; */
}

.custom-footer-newsletter-text {
  flex: 1;
  min-width: 300px;
  margin-right: 40px;
}

.custom-footer-newsletter-text h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.custom-footer-newsletter-text p {
  line-height: 1.6;
  font-size: 21px;
}

.custom-footer-text p {
    line-height: 1.6;
    font-size: 11px;
    text-align: left;
    margin-block: 10px;
    font-weight: 500;
  }

.custom-footer-texts p {
  line-height: 1.6;
  font-size: 10px;
  margin-top: 10px;
  color: #ffffff5f;
}

.custom-footer-text {
text-align: left;
font-size: 13px;
}

.custom-footer-newsletter-form {
  flex: 1;
  min-width: 320px;
}

.custom-footer-newsletter-form input[type="email"] {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
}

.custom-footer-checkbox-text {
  font-size: 12px;
  color: #ccc;
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.custom-footer-checkbox-text a {
  color: yellow;
  text-decoration: underline;
}

.custom-footer-newsletter-form button {
  background-color: #FFD700;
  color: black;
  padding: 12px 185px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.custom-footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  /* overflow-x: hidden; */
}

.custom-footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.custom-footer-column h3 {
  font-size: 24px;
  color: #FFD700;
}

.custom-footer-colum h4 {
  font-size: 35px;
  margin-bottom: 10px;
}

.custom-footer-colum p {
  line-height: 1;
  font-size: 15px;
  margin-top: 10px;
  color: #ffffff5f;
}

.custom-footer-column ul {
  list-style: none;
  padding: 0;
}

.custom-footer-bottom {
  text-align: center;
}

.custom-footer-bottom a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
}

.custom-footer-bottom a:hover {
  text-decoration: underline;
}

.custom-footer hr {
  border: none;
  margin: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%; /* Ensure it doesn't overflow */
}

/* Mobile Adaptations */
@media (max-width: 768px) {
  /* Top Bar */
  .top-bar {
    gap: 10px;
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  /* Header */
  header {
    padding: 15px 20px;
    gap: 15px;
  }

    .headline-row {
    gap: 0.1em; /* еще ближе на ПК */
  }

  .hero-content h1 {
    font-size: 2.5rem; /* можно подкорректировать размер, если нужно */
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li a {
    font-size: 0.9rem;
  }

  .btn-yellow {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

    header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 15px;
  }

  /* Removed rules that pushed content off-screen */
  .logo-small-move,
  .logo-small-moves,
  .logo-smali-moves {
    left: 0; /* Reset horizontal positioning */
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

.big-logo {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.big-logo img {
  transform: scale(0.3);

}
  
  .menu-toggle {
    order: 2;
    z-index: 2;
  }

  .lang-dropdown {
    order: 0;
    z-index: 99999;
    top: -10px;
  }

  /* Скрываем десктопную навигацию на телефоне */
  .desktop-nav,
  .btn-yellow.desktop {
    display: none;
  }

  .section-label {
    color: #FFD700;
    font-weight: 200;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
}

  /* Hero */
  .hero {
    height: 75vh;
  }

  .hero-content {
    padding: 100px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  footer {
    left: 50%;
    bottom: -50px;
    font-size: 0.8rem;
  }

  /* Solar Section */
  .solar-section {
    padding: 10px 20px;
  }

  .text-image-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .center-text {
    max-width: 100%;
  }

  .title {
    font-size: 28px;
  }

  .description {
    font-size: 16px;
  }

  .image-wrapper {
    max-width: 100%;
  }

  .link-item-full h3 {
    font-size: 20px;
  }

  .hidden-text {
    font-size: 14px;
  }

  /* Cards Section */
  .cards-section {
    padding: 10px 20px;
  }

  .section-title {
    font-size: 18px;
  }

  .section-description {
    font-size: 15px;
  }

  .card {
    width: 100%;
    max-width: 300px;
    padding: 50px 20px 50px;
  }

  .card.full {
    width: 100%;
    max-width: 300px;
  }

  /* Solar Sections */
  .solar-sections {
    padding: 20px;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .left-column {
    flex: 1;
  }

  .main-heading {
    font-size: 28px;
  }

  .description {
    font-size: 15px;
    max-width: 100%;
    margin-bottom: 10px;
  }

    .descriptions {
    font-size: 13px;
    max-width: 100%;
    margin-bottom: 30px;
    margin-top: 10px;
    text-align: center;
    
  }
  

  .right-column {
    flex: 1;
  }

  .image-grid-custom {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .img-container.tall,
  .img-container.wide,
  .img-container.square {
    aspect-ratio: auto;
    height: 200px;
  }

  .hide-on-mobile {
    display: none !important;
  }

  .img-container.wide.move-down {
    height: 220px; /* например, другая высота */
    --shift: 0px; /* если хочешь убрать сдвиг */
    --shift-x: 0px;
  }


  /* Section Dewatt */
  .section-dewatt {
    flex-direction: column;
  }

  .dewatt-image {
    min-width: 100%;
  }

  .dewatt-text {
    padding: 20px;
  }

  .dewatt-text h2 {
    font-size: 20px;
  }

  .dewatt-text p,
  .dewatt-text li {
    font-size: 15px;
  }

  .dewatt-text ul {
    flex-direction: column; /* Stack list items vertically on mobile */
    align-items: flex-start; /* Align items to the start of the container */
  }

  /* Process Section */
  .process-section h2 {
    font-size: 1.8em;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .step-box {
    max-width: 300px;
    margin: 0 auto;
  }

  /* Solar Showcase */
  .solar-showcase {
    padding: 20px;
  }

  .titles {
    font-size: 16px;
  }

  .solar-projects-grid {
    grid-template-columns: 1fr;
  }

  .solar-project-card {
    height: 200px;
  }

  .solar-project-info h3 {
    font-size: 15px;
  }

  .solar-project-info p {
    font-size: 12px;
  }

  /* Solar Promo */
  .solar-promo {
    height: 400px;
  }

  .solar-promo__content h1 {
    font-size: 28px;
    margin-bottom: -80px;
  }

  .solar-promo__button {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Dewatt Section (Form) */
  .dewatt-section .container {
    padding: 0 0px;
  }

  .dewatt-section .header-text {
    width: 100%;
    margin-bottom: 10px;
  }

  .dewatt-section .main-title {
    font-size: 24px;
  }

  .dewatt-section .content-wrapper {
    flex-direction: column;
  }

  .dewatt-section .left-section {
    width: 100%;
    padding: 20px;
  }

  .dewatt-section .right-section {
    width: 100%;
    min-height: 300px;
  }

  .dewatt-section .form-grid {
    grid-template-columns: 1fr;
  }

  .dewatt-section .full-width {
    grid-column: 1 / 2;
  }

  .dewatt-section .checkbox-container {
    font-size: 10px;
    margin-bottom: -80px;
  }

  /* Dewatt Sections */
  .dewatt-sections {
    padding: 20px 20px;
    flex-wrap: wrap;
  }

  .dewatt-sections__title {
  font-size: 20px;
  font-weight: 700;
  }

  .dewatt-services {
    grid-template-columns: 1fr;
      flex-wrap: wrap;
  }

  .dewatt-service__img {
    height: 180px;
  }

  .dewatt-service__text {
    font-size: 15px;
  }

  /* Footer */
  .custom-footer {
    padding: 50px 20px;
  }

  .custom-footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .custom-footer-newsletter-text h2 {
    font-size: 28px;
  }

  .custom-footer-newsletter-text p {
    font-size: 12px;
  }

  .custom-footer-newsletter-form button {
    padding: 12px;
    width: 100%;
    margin-left: auto;
  }

  .custom-footer-columns {
    flex-direction: column;
    gap: 10px;
  }

  .custom-footer-colum ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px; /* Adds space between stacked items */
  }

  .custom-footer-column ul {
    flex-direction: column; /* Stack all footer list items vertically */
    align-items: flex-start; /* Align to the left */
    gap: 10px; /* Add some space between stacked items */
  }
}

/* Hide desktop social icons on smaller screens */
@media (max-width: 1200px) {
  .desktop-social-icons {
    display: none;
  }
}

  .custom-footer-column,
  .custom-footer-colum {
    text-align: left;
  }

  .custom-footer-colum p {
    line-height: 1;
    font-size: 12px;
    margin-top: 10px;
    color: #ffffff;
}

  .custom-footer-colum h4 {
    font-size: 15px;
    font-weight: 600;
  }

  .custom-footer-text p {
    line-height: 1.6;
    font-size: 11px;
    text-align: left;
    margin-block-start: -10px; /* Убираем верхний отступ */
    margin-block-end: 10px; /* Оставляем нижний */
    font-weight: 500;
}


  .custom-footer-bottom {
    display: flex;
    flex-direction: column; /* Расположение в колонку */
    gap: 5px; /* Расстояние между ссылками */
    font-weight: 700;
}

.custom-footer-bottom a {
    text-decoration: none;
    color: inherit; /* Наследовать цвет текста от родителя */
    font-size: 14px; /* Можно настроить под нужный стиль */
}


  .custom-footer hr {
    width: 100%;
  }


@media (max-width: 480px) {

  .hero p {
    font-size: 0.9rem;
    margin-bottom: -50px;
  }

  .title {
    font-size: 24px;
  }

  .main-heading {
    font-size: 20px;
    text-align: center;
  }

  .solar-promo__content h1 {
    font-size: 18px;
  }

  .dewatt-section .main-title {
    font-size: 15px;
  }

  .dewatt-section .info-text {
    font-size: 15px;
    color: #FFD700;
  }
}
/*БУРЕГР МЕНЮ*/
    .menu-toggle {
      cursor: pointer;
      width: 30px;
      height: 25px;
      position: relative;
      display: none;
      flex-direction: column;
      justify-content: space-between;
       order: 2;
    }
    .menu-toggle span {
      display: block;
      height: 3px;
      background: white;
      border-radius: 2px;
      transition: 0.3s;
    }
    .menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }

    .menu-toggle span:nth-child(2) {
      transform: translateX(5px); /* Меняй значение по желанию */
    }
    
    nav#mobileMenu {
      position: fixed;
      left: 0;
      width: 100%;
      background: #000000;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      max-height: 0;
      /* overflow: hidden; */
      transition: max-height 0.4s ease-in-out;
      z-index: 10;
    }
    nav#mobileMenu.open {
      max-height: 500px;
    }
    nav#mobileMenu ul {
      list-style: none;
      padding: 20px 20px 10px 20px;
      margin: 0;
    }
    nav#mobileMenu ul li {
      margin-bottom: 15px;
      font-weight: 700;
    }
    nav#mobileMenu ul li a {
      text-decoration: none;
      color: #ffffff;
      text-transform: uppercase;
      font-weight: 700;
    }
    nav#mobileMenu ul li a.acasa {
      color: #FFD700;
    }
    nav#mobileMenu ul li.dropdown {
      cursor: pointer;
      position: relative;
    }
    nav#mobileMenu ul li.dropdown::after {
      content: "▼";
      font-size: 0.7rem;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      color: #555;
    }
    nav#mobileMenu ul li ul.submenu {
      max-height: 0;
      /* overflow: hidden; */
      transition: max-height 0.3s ease;
      margin-top: 10px;
      margin-left: 15px;
      font-weight: 400;
      padding-left: 0;
    }
    nav#mobileMenu ul li.open > ul.submenu {
      max-height: 300px;
    }

    nav.desktop-nav ul {
      list-style: none;
      display: flex;
      margin: 0;
      padding: 0;
    }
    nav.desktop-nav ul li {
      margin: 0 15px;
    }
    nav.desktop-nav ul li a {
      color: white;
      text-decoration: none;
      font-weight: 600;
      text-transform: uppercase;
    }

    .btn-yellow {
      background-color: #FFD700;
      color: black;
      padding: 14px 28px;         /* чуть больше padding */
      font-size: 1.2rem;          /* увеличенный текст */
      font-weight: 700;
      border-radius: 8px;         /* более округлая */
      margin-left: 20px;
      text-decoration: none;
      display: inline-block;
      transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
      box-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
      cursor: pointer;
      user-select: none;
    }

    .btn-yellow:hover,
    .btn-yellow:focus {
      background-color: #FFC107;  /* чуть более насыщенный желтый */
      transform: scale(1.05);     /* немного увеличиваем */
      box-shadow: 0 8px 16px rgba(255, 193, 7, 0.7);
      outline: none;
    }

    .btn-yellow:active {
      transform: scale(0.98);     /* эффект нажатия */
      box-shadow: 0 4px 8px rgba(255, 193, 7, 0.5);
    }

    @media (max-width: 768px) {
      .menu-toggle {
        display: flex;
        top: -10px;
      }
      nav.desktop-nav {
        display: none;
      }
      .btn-yellow.desktop {
        display: none;
      }
    }
    @media (min-width: 769px) {
      nav#mobileMenu {
        display: none !important;
      }
    }

/* Hero Section Overlap Fix */
.hero {
    position: relative; /* Establishes a positioning context for child elements */
    height: 1000px; /* Makes the hero section take the full viewport height */
    display: flex; /* Enables flexbox for easy centering */
    align-items: center; /* Vertically centers the content */
    justify-content: center; /* Horizontally centers the content */
    overflow: hidden; /* Prevents content from spilling out */
}

/* Ensure hero-content is not absolutely positioned which can cause overlap */
.hero-content {
    position: relative; /* Changed from absolute to relative */
    z-index: 2; /* Ensures it's above the video */
    text-align: center;
    color: white; /* Assuming you want white text on the video */
}

/* Mobile adjustments for hero section */
@media (max-width: 768px) {
  .hero {
    height: 700px; /* Adjust height for mobile screens */
  }
}

/* Stack .section-dewatt children on smaller screens */
@media (max-width: 1600px) {
  .section-dewatt {
    flex-direction: column;
    align-items: center; /* Center items when stacked */
  }
  
}










/* Partners sections */
.our-clients-layout3 {
  padding: 10px 0;
}



.our-clients-layout3 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
}


.col-md-2 {
  width: 16%;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  min-height: 120px;
  transition: transform 0.3s ease;
  flex-wrap: wrap;
}

.client-logo-item:hover {
  transform: translateY(-5px);
}

.client-logo-item img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: fill;
  transition: all 0.3s ease;
}

.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .col-md-2 {
    width: 50%;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .our-clients-layout3 {
    padding: 40px 0;
  }
  
  .client-logo-item {
    min-height: 100px;
    padding: 20px 15px;
  }
  
  .client-logo-item img {
    max-height: 60px;
  }
}  





.parteneri-finantare{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}