.accordion_section {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* навигационная панель */

.logo {
    position: relative;
    top: 10px;
    left: 30px;
    min-width: 140px;
    height: 100%;
    background-image: url('./../img/Component 6.svg');
    background-size: contain;
    background-repeat: no-repeat;

}

.navbar {
    position: relative;
    z-index: 10;
    color: white;
    padding: 10px 0px;
    width: 100%;
    min-width: 100px;
    height 80px;
    background-color: white;
    display: unset;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    margin: 0 auto;
    position: relative;
}

.navbar-menu {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    transition: transform 0.3s ease;
}

.navbar-menu li {
    margin-right: 40px;
}

.navbar-menu a {
    text-decoration: none;
    color: black;
    font-size: 30px;
    transition: color 0.3s ease;
    font-family: 'Roboto';
    line-height: 35px;
    letter-spacing: 0.01em;
    font-style: normal;
    font-weight: 800;

}

.navbar-menu a:hover {
    color: #4CAF50;
}

.a-underlined {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.a-underlined::after {
    content: '';
    position: absolute;
    left: -2px;
    bottom: -5px;
    width: calc(100% + 4px);
    height: 2px;
    background: linear-gradient(180deg, #B3E66F 0%, #5BD56B 100%);
    transform: scaleX(0.95);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.a-underlined:hover::after {
    content: '';
    position: absolute;
    background-color: white;
    transform: scaleX(1); /* Небольшая корректировка длины при необходимости */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: black;
    font-size: 40px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
}

@media (max-width: 980px) {
    .navbar {
        min-width: unset;
    }

    .navbar-menu {
        position: fixed;
        top: 60px;
        right: 0;
        flex-direction: column;
        background: white;
        width: calc(100% - 60px);
        padding: 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.2);
        display: none;
        z-index: -1;
        height: 0;
    }

    .navbar-active {
        display: unset;
        width: 100vw;
        right: 0%;
        z-index: 50;
        height: auto;
    }

    .navbar-menu li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 600px) {
    .navbar-menu {
        width: calc(100% - 40px);
        right: 0%;
        box-shadow: none;
    }

    navbar-active {
        display: unset;
        right: 0;
        z-index: 50;
        height: auto;
    }

    .navbar-menu a {
        font-size: 24px;
    }
}

/* панель шестиугольников */

.panel {
    width: 90%;
    min-width: 1050px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    /*background: linear-gradient(90deg, #2B352D 0%, #414929 100%);*/
}

.panel-title {
    padding: 30px;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    color: black;
    font-family: 'Roboto';
    text-align: center;
    letter-spacing: 0.01em;
}

.panel-line {
    position: relative;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: black;
    margin-bottom: 50px;
}

.panel-line1 {
    position: relative;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: black;
    margin-bottom: 0px;
}

.hexagons-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(160px, 1fr));
    justify-items: center;
    gap: 10px;
    width: 94%;
    margin: 20px auto;
}

.hexagon-item {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hexagon-shape {
    width: 150px;
    height: 173px;
    background-color: #212529;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='173'><path d='M75 0 L150 43 L150 130 L75 173 L0 130 L0 43 Z' fill='white' fill-opacity='0' stroke='white' stroke-width='3' stroke-dasharray='8,4'/></svg>");

}

.hexagon-item:hover .hexagon-shape {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.hexagon-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hexagon-icon {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

.hexagon-title {
    flex-grow: 1;
    align-items: flex-end;
    color: black;
    text-align: center;
    width: 100%;
    font-family: 'Bebas Neue';
    font-style: normal;
    font-size: 30px;
    margin-bottom: 40px;
    text-align: center;
}

@media (max-width: 1650px) {
    .hexagon-container {
        grid-template-columns: repeat(5, minmax(20px, 1fr));
        gap: 0px;
        width: 100%;
    }

    .hexagon-item {
        width: 120px;
    }

    .hexagon-shape {
        width: 120px;
        height: 138px;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='138' viewBox='0 0 150 173'><path d='M75 0 L150 43 L150 130 L75 173 L0 130 L0 43 Z' fill='white' fill-opacity='0' stroke='white' stroke-width='3' stroke-dasharray='6,3'/></svg>");
    }

    .hexagon-icon {
        width: 70px;
        height: 70px;
    }

    .hexagon-title {
        font-size: 20px;
    }
}

@media (max-width: 1050px) {
    .panel {
        width: 100%;
        min-width: 200px;
    }
    .hexagons-container {
        grid-template-columns: repeat(3, minmax(40px, 0.4fr));
    }
    .hexagon-item {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .hexagons-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hexagon-item:last-child {
        grid-column: span 2; /* растянуть на 2 колонки */
    }
}

/* карточки приемуществ */

.benefits-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

.benefits-container h1 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #000000;
    padding-bottom: 60px;
}

.benefits-container .cards-wrapper {
    position: relative;
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    height: 300px;
}

.benefits-container .benefit-card {
    width: 30%;
    padding: 28px 10px 28px 16px;
    box-sizing: border-box;
    border-radius: 17px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: absolute;
    min-height: 200px;
    display: flex;
}

.benefits-container .benefit-card:nth-child(odd) {
    background-color: white;
    z-index: 6;
    top: 50%;
    transform: translateY(calc(-50% - 70px));
    background:
        linear-gradient(#E1DEDE, #E1DEDE) padding-box,
        linear-gradient(217.01deg, #9FEC36 8.32%, #000000 78.51%) border-box;
    border: 4px solid transparent;
}

.benefits-container .benefit-card:nth-child(even) {
    background-color: #4CAF50;
    z-index: 7;
    top: 50%;
    transform: translateY(calc(-50% + 70px));
    background: linear-gradient(180deg, #B3E66F 0%, #5BD56B 100%);
}

.benefits-container .benefit-card:nth-child(1) {
    left: 0;
}

.benefits-container .benefit-card:nth-child(2) {
    left: 25%;
}

.benefits-container .benefit-card:nth-child(3) {
    left: 50%;
}

.benefits-container .benefit-card:nth-child(4) {
    left: 75%;
}

.benefits-container .card-icon {
    width: 40px;
    height: 40px;
    margin: 0px 20px 0px -2px;
}

.benefits-container .card-content {
    flex: 1;
}

.benefits-container .card-title {
    font-weight: bold;
    margin-bottom: 14px;
    font-size: 22px;
    line-height: 1.1;
    font-family: 'Roboto';
    font-style: normal;
    color: #2D2E32;
}

.benefits-container .card-description {
    font-size: 16px;
    line-height: 1.4;
    font-family: 'Bebas Neue';
    font-style: normal;
    color: #2D2E32;
    text-transform: uppercase;
    font-weight: bold;
}

.benefits-container .benefit-card:nth-child(even) .card-icon {
    margin: 0px 20px 0px 6px;
}

@media (max-width: 1000px) {
    .benefits-container h1 {
        font-size: 36px;
        padding-bottom: 30px;
    }

    .benefits-container .cards-wrapper {
        flex-direction: column;
        height: auto;
        gap: 40px;
        align-items: center;
        padding: 20px 0;
    }

    .benefits-container .benefit-card {
        position: relative;
        width: 100%;
        max-width: 500px;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        min-height: auto;
        margin: 0 20px;
    }


    .benefits-container .card-icon {
        margin: 0 20px 0 0 !important;
        min-width: 40px;
    }
}

/* Accordion Start */
.accordion_section {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 50px 0;
}

.accordion {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 130px;
    margin-bottom: 130px;
    max-width: 80vw;
    flex-direction: column;
}

.accordion-item {
    border-top: 1px solid #d1d0d0 !important;
    border-bottom: 1px solid #d1d0d0 !important;
    color: #000000;
    border-bottom: 1px solid #c5c5c5 !important;
    border-radius: 0 !important;
}

.accordion-item h5 {
    padding: 1em;
    margin: 0;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Bebas Neue';
    font-style: normal;
    font-size: 22px;
    letter-spacing: 0.01em;
    color: #000000;
}
.accordion-content {
    max-height: 0;
    height: 100%;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0px 25px;
}
.accordion-content p {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-size: 20px;
    padding: 1em 0;
    margin: 0px;
}

.accordion-content ul {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-size: 20px;
    padding: 1em 1.6em;
}

.accordion-content ol {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-size: 20px;
    padding: 1em 1.6em;
}

.accordion-content li {
    padding: 0.4em 0;
}

.accordion-content.active {
  max-height: auto;
}
.accordion-item h5 {
  position: relative;
  padding-right: 50px;
}
.img11 {
  max-width: 80vw;
}

.accordion-item h5::before {
  content: "+";
  position: absolute;
  right: 20px;
  top: calc(50% - 20px);
  transition: 0.3s all ease-in-out;
  font-size: 40px;
  font-weight: bold;
}
.accordion-item.active h5::before {
  transform: rotate(-45deg);
}
@media (max-width: 800px) {
  .accordion {
    max-width: 100vw;
    margin: 0 auto;
  }
}
/* Accordion End */

/* styled button #4 */

.btn4-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.btn4 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    padding-right: 12px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 160px;
}

.btn4-text {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    padding: 0 28px;
    padding-right: 14px;
}

.btn4-circle {
    position: absolute;
    left: 8px;
    width: 38px;
    height: 38px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn4-circle::after {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("./../img/mail-outline.svg");
    background-size: contain;
    background-repeat: no-repeat;

    transition: all 0.3s ease;
}

.btn4:hover .btn4-circle {
    width: calc(100% - 16px);
    border-radius: 20px;
}

.btn4:hover {
    padding-right: 24px;
}

.btn4:hover .btn4-text {
    color: black;
    padding-right: 38px;
}

.btn4:hover .btn4-circle::after {
    position: absolute;
    right: 12px;
    left: auto;
    background-image: url("./../img/phone.svg");
}

.btn4:active {
    transform: scale(0.95);
    background-color: #333;
}

.btn4:active .btn4-circle {
    background-color: #eee;
}

.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
    z-index: 1100;
    text-decoration: none;
    color: white;
    font-size: 24px;
}

.scroll-to-top:hover {
    background-color: #2980b9;
}

.scroll-to-top::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("./../img/maki_arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-180deg);
}