* {
    margin: 0;
    font-family: 'Changa Semibold' ;
    font-size: 16px;
}
@font-face {
    font-family: 'Changa Regular';
    src: url(font/Changa-Light.ttf);
}

@font-face {
    font-family: 'Changa Semibold';
    src: url(font/Changa-Regular.ttf);
}

.main-header {
    background-image: url(assets/background.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.logo-line {
padding: 46px 100px;
display: flex;
flex-direction: row;
justify-content: space-between;
}

.header-links-container {
    width: -webkit-fill-available;
    align-items: center;
    align-self: center;
    justify-content: space-between;
    display: flex;
}

.header-links {
    display: flex;
    justify-content: space-around;
    margin: 30px 30px 30px 100px;
    width: -webkit-fill-available;
    align-items: center;
    font-size: 1.5rem;
}

header {
    display: flex;
    flex-direction: column;
}

.burger {
    display: none;
    position: relative;
    z-index: 50;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
    height: 60px;
    width: 100px;
}


.burger span{
    height: 4px;
    border-radius: 8px;
    width: 80%;
    transform: scale(1);
    background-color: #00CEff;
}

.burger::before, .burger::after{
    content: '';
    position: absolute;
    height: 4px;
    border-radius: 8px;
    width: 100%;
    background-color: #00CEff;
    transition: all 0.3s ease 0s;
}

.burger::before { top: 0 }

.burger::after { bottom: 0 }


/* Добавляем класс active для анимации иконки бургера */
.burger.active span { transform: scale(0) }

.burger.active::before{
    top: 50%;
    transform: rotate(-45deg) translate(0, -50%);
}

.burger.active::after{
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
}


@keyframes burgerAnimation {
    from {opacity: 0}
    to {opacity: 1}
}

.header-li {
    list-style-type: none;
}

.open{
    display: flex !important;
}

  
.header-link {
    color: white;
    text-decoration: none;
}

.header-link:hover {
    text-decoration: underline;
}


h1 {
    padding: 100px 100px 176px 100px;
    color: white;
    max-width: 640px;
    font-size: 3.5rem;
    line-height: 80px;
}

.main-h1 {
    padding-top: 130px;
}

span {
    font-size: 1em;
}

a {
    font-size: 1.2rem;
}

.wrapper {
    margin: 80px 100px 0 100px;
}

h2 {
    color: #40B4C4;
    font-size: 2.2rem;
    line-height: 40px;
}

.main-blocks {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 40px 0 60px;
}

.main-block {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 10px 10px 4px 0px #40B4C424;
    padding: 16px;
}

.main-page {
    max-width: fit-content;
    margin-right: 40px;
}

.main-page:last-child {
    margin-right: 0;
}

.main-bold-text {
    font-size: 1.2rem;
    line-height: 28px;
}

.loader {
    margin: 30px 0;
}

.main-text, ul, li {
    font-size: 1.2rem;
    font-family: 'Changa Regular';
    margin-bottom: 20px;
    line-height: 28px;
}

.main-text:last-child {
    margin-bottom: 0;
}

.dark-block {
    margin: 80px -100px 0 -100px;
    background-color: #222D41;
    background-image: url(assets/plaftform-background.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.dark-block-container {
    padding: 60px 100px;
}

.white {
    color: white;
    line-height: 36px;
    margin: 36px 0;
}

.white:last-child {
    margin-bottom: 0;
    margin-top: 0;
}

footer {
    background-color: #222D41;
    margin-top: -2px;
}

.footer-wrapper {
    padding: 60px 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

h4 {
    color: white;
    font-size: 2rem;
    line-height: 60px;
}

h3 {
    color: #40B4C4;
    font-size: 2rem;
    line-height: 60px;
}

form {
    display: flex;
    flex-direction: column;
}

input, textarea {
    width: max-content;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1.2rem;
    background-color: #2D6D7F;
    border-color: #2D6D7F;
    color: white;
}

input::placeholder {
    color: white;
}

textarea::placeholder {
    color: white;
}

textarea {
    width: -webkit-fill-available;
}

label {
    margin: 10px 0px;
}

label:first-child {
margin-top: 20px;
}

.submit {
    background-color: white;
    color: #40B4C4;
    padding: 12px 24px;
    margin-top: 10px;
    font-size: 1.5rem;
    border: none;
    border-radius: 8px;
}

.submit:hover {
    background-color: #2D6D7F;
    color: white;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5); 
    border-color: #2D6D7F;
    cursor: pointer;
}

.footer-contacts {
    max-width: 500px;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 1.2rem;
    text-decoration: none;
    margin-right: 40px;
    color: white;
}

.footer-link:hover {
    text-decoration: underline;
}

.contacts-block {
    margin-top: 64px;
}

.footer-contact {
    color: white;
    font-size: 1.5rem;
    line-height: 28px;
    margin-top: 10px;
}

.rights {
    padding: 20px 100px;
    color: white;
    font-size: 1rem;
}

.what-we-do-header {
    background-image: url(assets/background-what-we-do.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.header-moto {
    margin-top: -100px;
    padding:0 100px 174px 100px;
    font-size: 2.2rem;
    line-height: 80px;
    color: #00CEff;
}

.what-we-do-block {
    padding: 30px;
    margin: 60px 20px;
}

.main-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 40px 0 120px 0;
}

.main-feature-card {
    text-align: center;
    margin: 50px 64px;
}

.icon {
    margin-bottom: 36px;
}

.culture-header {
    background-image: url(assets/background-culture.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.culture-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 40px 0;
    justify-content: space-around;
}

.culture-item {
    margin: 0 20px 40px 0;
    align-items: center;
    display: flex;
    flex-direction: column;
    max-width: 20rem;
}

.culture-icon {
    height: 80px;
}

.culture-heading {
    font-size: 1.5rem;
    line-height: 40px;
    color: #00CEff;
    margin: 40px 0;
}

.culture-list-item {
    font-size: 1.2rem;
    font-family: 'Changa Regular';
    line-height: 24px;
}

.culture-list-item::marker {
    color: #00CEff;
}

.popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: end;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
  }

  .popup-p, #accept-btn {
    font-size: 1.2rem;
  }
  
  .popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
  }

  .privacy {
    color: #2D6D7F;
  }
  
  .popup-buttons {
    margin-top: 20px;
  }
  
  .popup-buttons button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
  }
  
  #accept-btn {
    background-color: #fff;
    border: 1px solid #2D6D7F;
    color: #2D6D7F;
  }
  
  #accept-btn:hover {
    background-color: #2D6D7F;
    color: white;
  }
  
  /* Видимый попап */
  .popup.show {
    visibility: visible;
    opacity: 1;
  }


@media (min-width: 1700px) {
    .wrapper {
        margin: 80px 200px 0 200px;
    }

    .dark-block {
        margin: 80px -200px 0 -200px;
    }

    .dark-block-container {
        padding: 100px 200px;
    }

    .main-page {
        max-width: fit-content;
        margin-right: 60px;
    }

    .footer-wrapper {
        padding: 60px 200px;
    }

    .footer-contacts {
        max-width: fit-content;
        margin-left: 100px;
    }

    .rights {
        padding: 60px 200px;
    }

    .logo-line {
        padding: 46px 200px;
    }

    h1 {
        padding-left: 200px;
    }

    .header-moto {
        padding-left: 200px;
    }
}

@media (max-width: 1200px) {
    .footer-wrapper {
        flex-wrap: wrap;  
        padding: 60px;    
    }

    .footer-contacts {
        max-width: fit-content;
        margin-top: 20px;
    }

    .form {
        width: -webkit-fill-available;
    }

    input {
        width: -webkit-fill-available;
        font-size: 1rem;
    }

    .culture-heading {
        font-size: 1.5rem;
    }

    .submit {
        width: 300px;
        font-size: 20px;
    }

    .dropdown {
        display: flex;
    }

    .mobile-menu {
        width: 100px;
    }

    .header-links {
       margin: 30px;
       font-size: 1rem;
       padding: 0;
    }

    .logo-line {
        padding: 46px 60px;
    }

    h1 {
       padding: 60px;
       font-size: 3rem;
       max-width: 520px;
       line-height: 64px;
    }

    .main-h1 {
        padding-top: 60px;
    }

    .header-moto {
        margin-top: 0;
    }

    .logo-img {
        width: 60%;
    }

    h2 {
        font-size: 2rem;
        line-height: 48px;
    }

    h3, h4 {
        font-size: 1.8rem;
    }

    .dark-block {
        margin: 0 -60px 0 -60px;
    }

    .dark-block-container {
        padding: 60px;
    }

    .rights {
        padding: 0 40px 60px 60px;
    }

    .wrapper {
        margin: 80px 40px 0 40px;
    }

    .main-feature-card {
        margin: 60px;
    }

    .header-moto {
        font-size: 2rem;
        line-height: 60px;
        padding: 0 60px 100px 60px;
    }

    .culture-item {
        margin: 0 20px 0 0;
        max-width: 16rem;
    }

    .culture-items {
        justify-content: space-between;
    }

    .main-bold-text {
        font-size: 1rem;
    }

    .main-text {
        font-size: 1rem;
    }

    .footer-contacts {
        font-size: 1rem;
    }

    .contacts-block {
        margin-top: 40px;
    }

    .footer-link {
        font-size: 1rem;
    }

    .header-link {
        font-size: 1rem;
    }


}

@media (max-width: 1023px) {
    
    .main-blocks {
        flex-wrap: wrap;
        margin: 40px 0 20px 0;
    }

    .main-page {
        margin: 0 0 40px 0;
    }

    .main-text, ul, li {
        font-size: 1rem;
        line-height: 24px;
    }

    .main-feature-card {
        margin: 40px 20px;
    }

    .approach {
        margin-bottom: 40px;
    }

    .main-bold-text {
        font-size: 1rem;
        line-height: 24px;
    }

    .what-we-do-block {
        padding: 20px;
        margin: 40px 0;
    }

    .culture-heading {
        font-size: 1rem;
    }

    .culture-list-item {
        font-size: 1rem;
        line-height: 20px;
    }

    .culture-item {
        max-width: 12rem;
    }


    .burger { display: flex }

    .header-links-container{
        display: none;
        flex-direction: column;
        position: fixed;
        height: 100%;
        width: 100%;
        top: 0; bottom: 0; left: 0; right: 0;
        z-index: 50;
        overflow-y: auto;
        padding: 50px 40px;
        background-color: black;
        animation: burgerAnimation 0.4s;
    }

    .link-to-form {
        display: none;
    }

    .header-links{
        flex-direction: column;
        row-gap: 30px;
    }

    input, textarea {
        font-size: 1.2rem;
    }

    .footer-link {
        font-size: 18px;
    }

    .main-features {
        margin: 40px 0;
    }

    .footer-contact {
        font-size: 18px;
    }

    .submit {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    
.logo-img {
    height: 100px;
}

.logo-line {
    padding: 40px;
}

.header-moto {
    padding: 0 40px 100px 40px;
    font-size: 1.8rem;
    line-height: 32px;
}

.wrapper {
    margin: 60px 40px 0 40px;
}

.footer-wrapper {
    padding: 40px;
}


h1 {
    padding: 100px 40px;
    font-size: 2.5rem;
    max-width: fit-content;
    line-height: 48px;
 }

 h2 {
     font-size: 2rem;
     line-height: 36px;
 }

 h3 {
    font-size: 1.8rem;
    line-height: 32px;
 }

 h4 {
    font-size: 1.5rem;
    line-height: 28px;
    margin-bottom: 20px;
 }

 .footer-contacts {
    margin-top: 40px;
 }

 .dark-block {
     margin: 60px -40px 0 -40px;
 }

 .dark-block-container {
     padding: 40px;
 }

 .rights {
     padding:0 40px 40px 40px;
     font-size: 1rem;
 }

 .main-text, ul, li, .popup-p, #accept-btn {
    font-size: 1rem;
    line-height: 24px;
    margin-bottom: 24px;
 }

 .main-blocks {
    margin: 40px 0;
 }

 .main-bold-text {
    font-size: 1rem;
    line-height: 24px;
 }

 .footer-link, .footer-contact, input, textarea {
    font-size: 1rem;
    line-height: 20px;
 }

 .contacts-block {
    margin-top: 20px;
 }

 .white {
    margin-top: 40px;
 }
 
 .loader {
    margin: 40px 0;
 }

 .burger {
    height: 48px;
    width: 60px;
 }

 .header-links {
    font-size: 20px;
    line-height: 32px;
 }

 .main-features {
    grid-template-columns: repeat(1, 1fr);
    margin: 40px 0 80px 0;
 }

 .what-we-do-block {
    margin: 0 0 40px 0;
 }

 .main-feature-card {
    margin: 20px 0;
 }

 .submit {
    font-size: 20px;
    width: fit-content;
    padding: 4px 24px;
 }

 .mobile-br {
    display: none;
 }

 .culture-list-item {
    font-size: 1rem;
    line-height: 20px;
 }

 .culture-items {
    margin: 40px 0;
    justify-content: center;
 }

 .culture-item {
    max-width: 18rem;
 }

 .culture-list-item {
    margin-bottom: 12px;
 }

 .culture-heading {
    margin: 16px 0;
    font-size: 1.2rem;
 }

}

@media (max-width: 374px) {
    .main-text, .main-bold-text, .culture-list-item, ul, li, .popup-p, #accept-btn {
        font-size: 1rem;
        line-height: 24px;
    }

    .logo-line {
        padding: 40px 20px;
    }

    .logo-img {
        height: 80px;
    }

    .wrapper {
        margin: 40px 20px 0 20px;
    }

    .footer-wrapper {
        padding: 40px 20px;
    }

    .burger {
        height: 38px;
        width: 48px;
    }

    h1 {
        font-size: 2rem;
        padding: 40px 20px;
        font-size: 2rem;
    }

    .main-h1 {
        padding-top: 40px;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 32px;
    }
   
    h3 {
       font-size: 1.2rem;
       line-height: 28px;
    }
   
    h4 {
       font-size: 1.2rem;
       line-height: 24x;
       margin-bottom: 20px;
    }

    .main-block {
        padding: 20px;
    }

    .main-blocks {
        margin: 20px 0;
    }

    .rights {
        padding: 0 20px 40px 20px;
        font-size: 0.8rem;
    }

    .dark-block {
        margin: 40px -20px 0 -20px;
    }
   
    .dark-block-container {
        padding: 20px;
    }

    .header-moto {
        font-size: 1.5rem;
        line-height: 40px;
        padding: 0 20px 60px 20px;
    }

    .icon {
        width: 20%;
        margin-bottom: 12px;
    }

    .culture-heading {
        font-size: 24px;
        line-height: 32px;
        margin: 20px 0;
    }
}