html{
    font-family: "Open Sans", sans-serif;
    color: white;
    letter-spacing: .01rem;
    font-size: max(calc(22px / 1920px * 100vw), 16px);
    line-height: 110%;
    font-weight: 400;
    scroll-behavior: smooth;
}
html,body{
overflow-x: hidden
}
body{
    background: linear-gradient(90deg, rgba(25, 20, 21, 1) 0%, rgba(26, 14, 21, 1) 100%);
    margin: 0;
}

header {
    position: fixed;
    width: 100%;
    z-index: 500;
}

h1 {
    letter-spacing: .005rem;
    font-size: calc(154px / 1920px * 100vw);
    line-height: 87%;
    font-weight: 600;

    margin: 0;
}

h2 {
    letter-spacing: -.02rem;
    font-size: calc(70px / 1920px * 100vw);
    line-height: 110%;
    font-weight: 600;

    margin: 0;
}

h3 {
    letter-spacing: -.02rem;
    font-size: calc(39px / 1920px * 100vw);
    line-height: 110%;
    font-weight: 600;

    margin: 0;
}

a {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

ul {
    margin-top: 50px;
}

footer {
    padding: 0 112px;
    background-color: #2d2d2d;
    height: 400px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 2px solid;
    border-image: linear-gradient(90deg, rgba(228,88,34,1) 0%, rgba(182,69,84,1) 54%, rgba(234,119,32,1) 100%) 1;
}

/* Basic styles */

.wrapper {
    padding-top: 240px;
    max-width: 780px;
}

.large-content-wrap {
    padding-top: 100px;
    max-width: 100%;
}

.row-section {
    display: flex;
}

.row-section-wrap {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.row-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

h2.large-content {
    padding: 30px 0 40px;
}

.text {
    margin: 7.2vh 0;
}

.fade-block {
    background-image: url(../img/fade_background.svg);
    background-size: cover;
    background-position: center;
    height: 200vh;
}

.dark-block {
    background-image: url(../img/dark_background.svg);
    background-size: cover;
    background-position: center;
    height: 200vh;
}

/* Section & background styles */

.section {
    height: 100vh;
    padding: 0 5.8vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Basic button styles*/

.button-wrapper{
    width: fit-content;
    padding: 1.74vh 0;
    margin-bottom: 34px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button {
    padding: 1.74vh 1.97vw;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-4px);
    
    box-shadow: 
        0 10px 25px rgba(202, 87, 46, 0.4),
        0 0 20px rgba(234, 119, 32, 0.3);
    
    filter: brightness(1.15);
    
    background: linear-gradient(90deg, 
        rgba(150, 60, 25, 1) 0%, 
        rgba(175, 75, 35, 1) 12%, 
        rgba(195, 95, 50, 1) 28%, 
        rgba(215, 100, 55, 1) 37%,  
        rgba(185, 105, 95, 1) 64%, 
        rgba(155, 105, 120, 1) 88%, 
        rgba(145, 105, 130, 1) 100%);
}

.button:active {
    transform: translateY(-1px);
    box-shadow: 
        0 5px 15px rgba(202, 87, 46, 0.3),
        0 0 10px rgba(234, 119, 32, 0.2);
    transition: all 0.1s ease;
}

/* Header styles */

.header-container{
    padding: 0 5.8vw;
    background-color: #2d2d2d;
    height: 10.8vh;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, rgba(228,88,34,1) 0%, rgba(182,69,84,1) 54%, rgba(234,119,32,1) 100%) 1;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 64vw;
}

.link:hover {
    color: #d6d6d6;
}

.header-feedback {
    background-color: #191015;
}

/* Title section styles */

.title {
    background-image: url(../img/title_background.svg);
}

.title-wrapper {
    padding-top: 28.5vh;
    max-width: 40.62vw;
}

.presentation {
    background: linear-gradient(90deg,
     rgba(44,20,13,1) 0%, 
     rgba(54,25,15,1) 34%, 
     rgba(116,46,15,1) 81%, 
     rgba(144,74,59,1) 100%);
}

.feedback {
    background: linear-gradient(90deg, 
    rgba(139,51,19,1) 0%, 
    rgba(161,63,28,1) 12%, 
    rgba(180,80,41,1) 28%, 
    rgba(202,87,46,1) 37%,  
    rgba(169,91,84,1) 64%, 
    rgba(140,92,108,1) 88%, 
    rgba(129,91,116,1) 100%);
}

/* About Company styles */

.about-wrap {
    max-width: 64%;
}

.modal-about-wrap {
    max-width: 90%;
}

.about-button-wrap {
    padding-bottom: 240px;
    display: flex;
    align-items: flex-end;
}

.about {
    display: flex;
    justify-content: space-between;
}

.details {
    background-color: rgba(147,147,147, 0.31);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: inset 0 0 10px 4px rgba(255,255,255,0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
}

.details:hover {
    transform: translateY(-4px);
    background: rgba(211, 211, 211, 0.31);
    box-shadow: 
        0 10px 25px rgba(218, 218, 218, 0.4);
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(12px);
}

li {
    margin-bottom: 25px;
    width: 70%;
}

li.undotted {
    list-style-type:  none;
}

/* Activity areas styles */

    /* Carousel styles */
    .carousel-container {
        overflow: hidden;
        margin: 0 -112px;
        padding: 0 112px;
        position: relative;
    }
        
    .carousel-track {
        display: flex;
        gap: 42px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
        
    .carousel-card {
        flex: 0 0 657px;
        height: 526px;
        border-radius: 110px;
        background: rgba(186, 186, 186, 0.2);
        backdrop-filter: blur(100px);
        box-shadow: inset 0 0 10px 4px rgba(255, 255, 255, 0.25);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }
        
    .carousel-card:hover {
        background: rgba(255, 255, 255, 0.05);
    }
        
    .carousel-card.active {
        background: rgba(202, 87, 46, 0.1);
    }
        
    .card-content {
        padding: 80px 110px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        box-sizing: border-box;
    }

    .card-text {
        margin: 0;
    }
    
    .carousel-dots-container {
        display: flex;
        justify-content: center;
        margin: 40px 0;
    }

    .carousel-dots {
        width: 210px;
        height: 55px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(197,197,197,0.31);
        backdrop-filter: blur(10px);
        box-shadow: inset 0 0 10px 4px rgba(255, 255, 255, 0.25);
        border-radius: 20px;
        gap: 16px;
    }
        
    .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }
        
    .dot:hover {
        background: rgba(255, 255, 255, 08);
        transform: scale(1.2);
    }
        
    .dot.active {
        background: rgb(255, 255, 255);
        transform: scale(1.3);
    }
        
    .dot.active:after {
        content: '';
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border-radius: 50%;
    }
        
/* Cooperation styles */

.cooperation-grid {
    max-height: fit-content;
    display: grid;
    grid-template-columns: 20.46vw 19.27vw 20.46vw;
    justify-items: center;
    justify-content: center;
}

.separation-line {
    width: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.column {
    display: flex;
    flex-direction: column;
    padding-top: 53px;
}

.cooperation-block {
    background-color: red;
    padding: 15px 0 15px 3.02vw;
    border-radius: 50px;
}

.cooperation-text {
    margin: 12px 0 52px 3.02vw;
}

.right-column {    
    padding-top: calc(40px / 1920px * 100vw + 30px + 103px);
}
    
.block-1 {
    background: linear-gradient(180deg, #39549B 0%, #5F537C 100%);
}
    
.block-2 {
    background: linear-gradient(180deg, #99524D 0%, #BD5130 100%);
}
    
.block-3 {
    background: linear-gradient(180deg, #5F537C 0%, #805261 100%);
}
    
.block-4 {
    background: linear-gradient(180deg, #BD5130 0%, #E05013 100%);
}

/* Advantages styles */

.advantages-card {
    height: 412px;
    width: 21.5vw;
    border-radius: 50px;
}

.advantages-card-content {
    padding: 50px;
    box-sizing: border-box;
    height: 100%;
}

.topic-wrapper {
    height: 40%;
}

.card-1 {
    background: linear-gradient(90deg, #010415 0%, #702913 100%);
}

.card-2 {
    background: linear-gradient(90deg, #702913 0%, #DE4E11 100%);
}

.card-3 {
    background: linear-gradient(90deg, #DE4E11 0%, #8B5154 100%);
}

.card-4 {
    background: linear-gradient(90deg, #8B5154 0%, #395497 100%);
}

/* Clients styles */

.clients-card img {
        max-width: 20vw;
    }

/* Modal styles */

.modal {
    display: none;
    position: fixed;
    z-index: 1024;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    display: flex;
    justify-content: space-between;

    padding: 0 112px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(40px);

    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.modal.active .modal-container {
    transform: translateY(0);
    opacity: 1;
}

.close-modal{
    cursor: pointer;
}

/* Modal Feedback styles */
.modal-feedback-wrap {
    max-width: 700px;
    width: 100%;
    padding: 0;
}

.feedback-container {
    justify-content: center;
    align-items: center;
}

.feedback-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-close-feedback {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-end;
    cursor: pointer;
}

.feedback-form {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.form-group label[for="request"] {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    font-size: 16px;
    color: white;
    font-family: "Open Sans", sans-serif;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(234, 119, 32, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(234, 119, 32, 0.8);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(234, 119, 32, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

.form-actions {
    margin-top: 20px;
    text-align: center;
}

.submit-button {
    color: white;
    width: 100%;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(90deg, 
        rgba(139,51,19,1) 0%, 
        rgba(161,63,28,1) 12%, 
        rgba(180,80,41,1) 28%, 
        rgba(202,87,46,1) 37%,  
        rgba(169,91,84,1) 64%, 
        rgba(140,92,108,1) 88%, 
        rgba(129,91,116,1) 100%);
    border: none;
    cursor: pointer;
}

.submit-button:hover {
    transform: translateY(-3px);
}

.submit-button:active {
    transform: translateY(-1px);
}

.form-note {
    margin-top: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 140%;
}

.grecaptcha-badge { 
    visibility: hidden; 
}

/* Burger-menu styles */
.burger-menu {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    z-index: 501;
}

.mobile-menu {
    position: fixed;
    top: 10.8vh;
    left: 0;
    width: 100%;
    background: #2d2d2d;
    padding: 30px 40px;
    display: none;
    flex-direction: column;
    border-top: 2px solid;
    border-image: linear-gradient(90deg, rgba(228,88,34,1) 0%, rgba(182,69,84,1) 54%, rgba(234,119,32,1) 100%) 1;
    z-index: 499;
    box-sizing: border-box;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a.link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 18px;
}

.mobile-menu a.link:last-child {
    border-bottom: none;
}

.mobile-feedback.button {
    margin-top: 20px;
    background: linear-gradient(90deg, 
        rgba(139,51,19,1) 0%, 
        rgba(161,63,28,1) 12%, 
        rgba(180,80,41,1) 28%, 
        rgba(202,87,46,1) 37%,  
        rgba(169,91,84,1) 64%, 
        rgba(140,92,108,1) 88%, 
        rgba(129,91,116,1) 100%);
    text-align: center;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    border: none;
}

.mobile-feedback.button:hover {
    transform: translateY(-2px);
}

/* Mobile styles */
@media (max-width: 1024px) {
    /* Base */
    html {
        font-size: 16px;
        line-height: 120%;
    }
    
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Topics */
    h1 {
        font-size: 48px;
        line-height: 90%;
        letter-spacing: -0.01rem;
    }
    
    h2 {
        font-size: 32px;
        line-height: 110%;
    }
    
    h3 {
        font-size: 24px;
        line-height: 110%;
    }
    
    /* Header styles */
    header {
        position: fixed;
        width: 100%;
        z-index: 500;
    }
    
    .header-container {
        height: 60px;
        padding: 0 20px;
        position: relative;
    }
    
    .header-wrapper {
        width: auto;
        gap: 15px;
    }
    
    .header-wrapper a.link {
        display: none;
    }
    
    .header-feedback.button {
        display: none;
    }
    
    .header-wrapper img {
        height: 30px;
        width: auto;
    }
    
    /* Burger-menu on mobile */
    .burger-menu {
        display: block;
    }
    
    /* mobile-menu point */
    .mobile-menu {
        top: 60px;
        padding: 20px;
    }
    
    /* Basic styles */

    ul {
        padding-left: 20px;
    }

    .wrapper {
        padding-top: 0;
        max-width: 100%;
    }
    
    .large-content-wrap {
        padding-top: 50px;
    }
    
    .button {
        padding: 12px 24px;
        border-radius: 25px;
        font-size: 14px;
    }
    
    .button-wrapper {
        margin-bottom: 20px;
    }
    
    .text {
        margin: 30px 0;
    }
    
    /* Section styles */
    .section {
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding: 0 20px;
        height: auto;
        min-height: 100vh;
        padding-bottom: 50px;
    }
    
    .fade-block, .dark-block {
        height: auto;
    }
    
    /* Title section styles */
    .title-wrapper {
        padding-top: 100px;
        max-width: 100%;
    }
    
    /* About Company styles*/
    .about {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-wrap {
        max-width: 100%;
    }
    
    .about-button-wrap {
        padding-bottom: 80px;
        justify-content: center;
    }
    
    li {
        width: 100%;
        margin-bottom: 15px;
    }
    
    /* Carousel styles*/
    .carousel-container {
        margin: 0 -20px;
        padding: 0 20px;
    }
    
    .carousel-card {
        flex: 0 0 280px;
        height: 400px;
        border-radius: 40px;
    }
    
    .card-content {
        padding: 30px;
    }
    
    .carousel-dots {
        width: 160px;
        height: 40px;
    }
    
    /* Cooperation section styles */
    .cooperation-grid {
        grid-template-columns: 1fr 1px 1fr;
        gap: 15px;
    }
    
    .column {
        padding-top: 0;
        padding-bottom: 50px;
    }

    .separation-line {
        height: auto;
    }
    
    .right-column {
        padding-bottom: 0;
        justify-content: flex-end;
    }
    
    .cooperation-block {
        padding: 12px 15px;
        font-size: 18px;
    }
    
    .cooperation-text {
        margin: 10px 0 20px 20px;
        font-size: 14px;
    }
    
    /* Advantages section styles */
    .row-section {
        flex-direction: column;
    }
    
    .row-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .advantages-card {
        width: 100%;
        height: 17vh;
        border-radius: 30px;
    }
    
    .advantages-card-content {
        padding: 30px;
    }
    
    .topic-wrapper {
        height: auto;
        margin-bottom: 20px;
    }

    .card-1 {
    background: linear-gradient(180deg, #010415 0%, #702913 100%);
    }

    .card-2 {
        background: linear-gradient(180deg, #702913 0%, #DE4E11 100%);
    }

    .card-3 {
        background: linear-gradient(180deg, #DE4E11 0%, #8B5154 100%);
    }

    .card-4 {
        background: linear-gradient(180deg, #8B5154 0%, #395497 100%);
    }
    
    /* Clients styles */
    .row-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .clients-card {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px 0;
    }
    
    .clients-card img {
        max-width: fit-content;
    }
    
    /* Footer styles */
    footer {
        height: auto;
        padding: 40px 20px;
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }
    
    .footer-logo img {
        width: 150px;
    }
    
    /* Modal styles */
    .modal-container {
        padding: 20px;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: clip;
    }

    
    .close-modal {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
        padding: 10px 0;
        height: 20px;
    }
    
    /* Modal feedback styles */
    .modal-feedback-wrap {
        max-width: 100%;
    }
    
    .feedback-form-container {
        padding: 30px;
        border-radius: 20px;
    }

    .feedback-form {
        padding-top: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .submit-button {
        padding: 15px;
        font-size: 16px;
        color: white;
    }
    
    .form-note {
        font-size: 11px;
    }

    /* Menu button styles */
    .mobile-feedback.button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Very tight screens */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .carousel-card {
        flex: 0 0 250px;
        height: 350px;
    }
    
    .mobile-menu {
        padding: 15px;
    }
    
    .mobile-menu a.link {
        font-size: 16px;
        padding: 12px 0;
    }
    
    .mobile-feedback.button {
        margin-top: 15px;
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .clients-card {
        width: 100%;
        margin: 5px 0;
    }

    .feedback-form-container {
        padding: 20px;
    }
    
    .feedback-form {
        gap: 15px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .form-actions {
        margin-top: 0;
    }
}

/* Hide modal elements on Desktop */
@media (min-width: 1025px) {
    .burger-menu {
        display: none;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-feedback.button {
        display: none;
    }
}
