* {
    margin: 0;
    font-family: "Montserrat";
    scroll-behavior: smooth;

}

header {
    padding-top: 50px;
    background-color: #00B2FF;
}

.header-content {
    display: flex;
    justify-content: space-between;
    max-width: 1620px;
    margin: 0 auto;
}

.btns {
    display: flex;
    align-items: center;
    gap: 71px;
}

header .header-content .btns .btn a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    letter-spacing: 5px;
    transition: all 0.3s ease;
}

header .header-content .btns .btn a:hover {
    color: #2D2D2D;
}

.btn {
    font-size: 30px;
}

#tglogo img {
    max-width: 50px;
}

.blue {
    background-color: #00B2FF;
    display: flex;
    justify-content: space-around;
    padding-top: 100px;
    margin: 0 auto;
    padding-bottom: 243px;
}

.w {
    max-width: 1620px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

h1 {
    font-weight: bold;
    font-size: 60px;
    color: #2D2D2D;
}

p {
    font-size: 30px;
    color: white;
}

.text {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.button {
    color: white;
    letter-spacing: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 30px;
    padding: 30px 40px;
    border: white 1px solid;
    max-width: 466px;
    transition: all 0.3s ease;
}

.button:hover {
    color: #2D2D2D;
}

.black {
    background-color: #2D2D2D;
    display: flex;
    justify-content: space-around;
    padding-top: 100px;
    margin: 0 auto;
    padding-bottom: 243px;
}

h3 {
    color: white;
    font-size: 30px;
    letter-spacing: 5px;
}

.awards {
    display: flex;
    flex-direction: column;
    gap: 50px;
}


.award {
    display: flex;
    border: white 1px solid;
    padding: 10px;
}

.t {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

h2 {
    font-size: 40px;
    color: #00B2FF;
    font-weight: bold;
}

.d2 {
    color: #2D2D2D;
    margin-top: 30px;
}

.cases {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.case-item {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.case-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay span {
    color: #00B2FF;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

.case-item:hover .overlay {
    opacity: 1;
}

.task-row {
    background-color: #E5E5E5;
    padding-bottom: 50px;
}

.bo {
    padding-top: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 1620px;
    margin: 40px auto 0;
    gap: 60px;
}

.task-left {
    flex: 1 1 420px;
    max-width: 520px;
}

.task-title {
    text-align: left;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 18px;
}

.task-form-fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.task-form-fields input,
.task-form-fields textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-family: Montserrat, Arial, sans-serif;
}

.task-policy {
    font-size: 14px;
    color: #2D2D2D;
    text-align: left;
}

.task-policy a {
    color: #00B2FF;
}

.task-submit {
    background: #00B2FF;
    color: white;
    font-weight: 700;
    font-size: 18px;
    padding: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.task-submit:hover {
    background: #0094cc;
}

.task-right {
    flex: 1 1 240px;
    padding-top: 16px;
    min-width: 280px;
}

.task-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
}

.task-benefits {
    list-style: disc inside;
    font-size: 18px;
    color: #2D2D2D;
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

.task-benefits li {
    margin-bottom: 10px;
}

.task-right {
    flex: 1 1 330px;
    min-width: 320px;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.task-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
}

.task-right-title {
    font-size: 22px;
    font-weight: bold;
    color: #00B2FF;
    margin-bottom: 2px;
}

.task-right-desc {
    font-size: 17px;
    color: #555;
}

.task-benefits {
    list-style: disc inside;
    font-size: 18px;
    color: #2D2D2D;
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

.task-benefits li {
    margin-bottom: 7px;
}

.task-right-process {
    font-size: 20px;
    font-weight: bold;
    color: #2D2D2D;
    margin: 16px 0 7px 0;
}

.task-process-list {
    font-size: 17px;
    color: #333;
    margin: 0 0 10px 0;
    padding-left: 20px;
}

.task-process-list li {
    margin-bottom: 6px;
}

.task-contact-block {
    background: #F4F8FD;
    padding: 13px 18px;
    border-radius: 7px;
    font-size: 16px;
    color: #222;
}

.task-contact-block h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: bold;
    color: #008cce;
}

.task-contact-block a {
    color: #0071ae;
    text-decoration: none;
}

.task-contact-block a:hover {
    text-decoration: underline;
}

footer {
    background-color: #00B2FF;
}

.footer-content {
    max-width: 1620px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
}

.contacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacts a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    letter-spacing: 5px;
    transition: all 0.3s ease;
}

.contacts a:hover {
    color: #2D2D2D;
}

.icobtn {
    display: none;
}

.icobtn img {
    max-width: 50px;
}

.burger {
    display: none;
}

.burger img {
    max-width: 50px;
}

@media (max-width: 1650px) {

    .w,
    .bo,
    .header-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .case-item img {
        max-width: 350px;
    }
}

@media (max-width: 1470px) {

    .header-content,
    .w,
    .footer-content,
    .bo {
        max-width: 1400px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .case-item img {
        max-width: 480px;
    }

    .w img {
        max-height: 300px;
        margin-top: 50px;
    }

    #phone {
        display: none;
    }

}

@media (max-width: 1080px) {

    .header-content,
    .w,
    .footer-content,
    .bo {
        max-width: 990px;
        padding-left: 10px;
        padding-right: 10px;
    }

    h1 {
        font-size: 42px;
    }

    .case-item img {
        max-width: 350px;
    }

    .task-row,
    .bo,
    .black,
    .blue {
        flex-direction: column;
        gap: 25px;
    }

    .awards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    #tglogo {
        display: none;
    }

    .award {
        display: flex;
        flex-direction: column-reverse;
        max-width: 300px;
        justify-content: flex-end;
    }

    .btns {
        display: none;
    }

    .burger {
        display: block;
        cursor: pointer;
        width: 40px;
        height: 40px;
    }

    .services {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .award .t h3 {
        font-size: 25px;
    }

    .btns {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background: #555;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .btns.active {
        display: flex;
    }

    .btn {
        font-size: 20px;
    }

}

@media (max-width: 800px) {
    .contacts .btn {
        display: none;
    }

    .contacts .icobtn {
        display: block;
    }

    .lupaman {
        display: none;
    }

    .award img {
        max-width: 200px;
    }

    .awards {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
        justify-items: center;
    }

}

@media (max-width: 425px) {

    .header-content,
    .w,
    .footer-content,
    .bo {
        max-width: 415px;
        padding-left: 10px;
        padding-right: 10px;
    }

    h1 {
        font-size: 26px;
    }

    p,
    h3,
    h2,
    .button {
        font-size: 18px;
    }

    .case-item img {
        max-width: 200px;
    }

    .btns {
        gap: 20px;
    }

    .award img {
        max-width: 150px;
    }


    .logolittle {
        max-width: 150px;
    }
}

@media (max-width: 320px) {

    .header-content,
    .w,
    .footer-content,
    .bo {
        max-width: 310px;
        padding-left: 10px;
        padding-right: 10px;
    }

    h1 {
        font-size: 18px;
    }

    p,
    h3,
    h2,
    .button {
        font-size: 14px;
    }

    .case-item img {
        max-width: 150px;
    }

}