:root {
    --main-color: #133152;
}

body {
    background: #F8FBFF;
    font-size: 14px;
    color: #7C7C7C;
    font-family: "Manrope", sans-serif;
    font-weight: normal;
}

p,
ul {
    margin: 0;
    padding: 0;
}

.custom-container {
    margin-left: 96px;
    margin-right: 96px;
}

#header {
    background: url('../img/header.webp');
    background-size: cover;
    background-position: bottom center;
    width: 100%;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: 0.3s all;
    z-index: 10;
}

header .custom-container {
    padding-top: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid white;
    display: flex;
    align-items: center;
    transition: 0.3s all;
}

header ul li {
    display: block;
}

header ul {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: 75px;
}

header ul a {
    font-size: 16px;
    color: white !important;
}

a:hover {
    text-decoration: none !important;
}

.right-header {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.socials {
    margin-right: 25px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.socials img {
    max-width: 35px;
}

a.phone {
    font-size: 17px;
    color: white !important;
    font-weight: 600;
    margin-right: 18px;
}

.btn {
    font-size: 14px;
    padding: 11px 60px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: white !important;
    border-radius: 5px;
    transition: 0.3s all;
}

.btn.btn-border {
    background: none;
    border-color: white;
}

a.btn:hover {
    background: none;
    border-color: var(--main-color);
    color: var(--main-color) !important;
    transition: 0.3s all;
}

a.btn.btn-border:hover {
    background: none;
    color: white !important;
    border-color: white;
    transition: 0.3s all;
}

.header-text {
    color: white;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

#header .custom-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 250px;
}

h1 {
    font-size: 50px;
    font-family: 'Forum';
    font-weight: normal;
    text-transform: uppercase;
    max-width: 760px;
}

.header-text p {
    font-size: 16px;
    max-width: 350px;
}

#pluses {
    margin-top: -8%;
}

#pluses .custom-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    row-gap: 20px;

}

.box-plus {
    background: white;
    border-radius: 17px;
    padding: 30px;
}

.box-plus p {
    color: var(--main-color);
    font-size: 18px;
    min-height: 60px;
}

.box-plus span {
    font-size: 16px;
    display: block;
    margin-top: 20px;
    margin-bottom: 50px;
    max-width: 260px
}

#about .grid-about {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    row-gap: 30px;
}

.box-about {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

.box-about.image {
    background: url('../img/about.webp');
    background-size: cover;
    background-position: center center;
}



.flex-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

#about .flex-header {
    gap: 470px;
}

.flex-header p {
    color: #535353;
}

h2 {
    font-size: 33px;
    font-family: 'Forum';
    font-weight: normal;
    color: #133152;
    text-transform: uppercase;
}

h2 span {
    opacity: 0.5;
}

.box-about:not(.image) {
    border: 1px solid #D0D6DC;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.box-about p {
    color: var(--main-color);
    margin-top: 20px;
    font-size: 18px;
}

.box-about span {
    display: block;
    font-size: 16px;
    max-width: 380px;
    line-height: 200%;
}

header.active {
    background: #F8FBFF;
    border-bottom: none;

}

header.active .custom-container {
    border-bottom: none;
}

header svg path,
header svg rect {
    transition: 0.3s all;
}

header.active svg path,
header.active svg rect {
    fill: var(--main-color);
}

header ul a {
    transition: 0.3s all;
}

header.active ul a {
    color: var(--main-color) !important;
}

header .phone {
    transition: 0.3s all;
}

header.active .phone {
    color: var(--main-color) !important;
}

header.active .btn {
    background: var(--main-color);
    border-color: var(--main-color);

}

.mt-100 {
    margin-top: 100px;
}

.grid-cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 35px;
    row-gap: 35px;
}

.case-box {
    width: 100%;
    aspect-ratio: 1/1;
    border: 1px solid #D0D6DC;
    border-radius: 8px;
    padding: 12px;
}

.case-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.case-image img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.case-image .sticky {
    position: absolute;
    color: var(--main-color);
    font-weight: 500;
    background: white;
    border-radius: 5px;
    padding: 11px 40px;
    z-index: 1;
    top: 18px;
    left: 18px;
}

#blue {
    background: var(--main-color);
    padding-top: 150px;
    padding-bottom: 150px;
    color: white;
}

#blue h2 {
    color: white;
    max-width: 750px;
}

#blue .flex-header p {
    color: white;
    opacity: 0.7;
}

#blue .flex-header {
    gap: 430px;
}

.gift-image {
    border-radius: 8px;
    height: 438px;
    width: 528px;
    background: url('../img/gift.webp');
    background-size: cover;
    background-position: center center;
    flex-shrink: 0;
}

.flex-gifts {
    display: flex;
    align-items: flex-start;
    gap: 83px;
}

.gift-lines {
    display: flex;
    flex-direction: column;
    width: 100%;

}

.gift-line-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.gift-line {
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 35px;
    padding-bottom: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.gift-line:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.gift-line-header-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.gift-line-header-left p {
    font-size: 18px;
}

.gift-line-hidden p.text {
    opacity: 0.8;
    font-size: 14px;
}

.gift-line-hidden p.price {
    margin-top: 10px;
    opacity: 1;

    font-size: 18px;
}

.gift-line-hidden {
    font-size: 16px;
    max-height: 0;
    transition: max-height 0.15s ease-out;
    overflow: hidden;
}

.gift-line:hover .gift-line-hidden {
    max-height: 500px;
    transition: max-height 0.25s ease-in;
}

.gift-line .arrow {
    transition: 0.25s;
}

.gift-line:hover .arrow {
    transform: rotate(90deg);
}

.gift-line.active .gift-line-hidden {
    max-height: 500px;
    transition: max-height 0.25s ease-in;
}

.gift-line.active .arrow {
    transform: rotate(90deg);
}

.about-sales {
    text-align: center;
    padding-top: 150px;

}

.about-sales h2 {
    max-width: unset !important;
}

.about-sales p {
    font-size: 16px;
    max-width: 700px;
    line-height: 210%;
    margin: 0 auto;
}

.grid-logos {
    padding-top: 90px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    row-gap: 30px;
}

.logo-box {
    width: 100%;
    height: 160px;
    border-radius: 7px;
    background: #FFFFFF;
    border: 1px solid #D0D6DC;
    display: flex;
    align-items: center;
    justify-content: center;

}

.logo-box img {
    max-height: 80%;
    max-width: 60%;
}

#price .flex-header,
#company .flex-header {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
}

.flex-text-about {
    display: flex;
    align-items: flex-end;
    gap: 300px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(19, 49, 82, 0.2);
    padding-bottom: 45px;
    margin-bottom: 45px;
}
p.text-price{
    font-size: 16px;
}
#case{
    margin-top: 150px;
}
#case .flex-header{
    gap: 50px;
}
.flex-text-about p {
    font-size: 18px;
    line-height: 210%;
    max-width: 1000px;
}

.grid-company {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.item-company {
    display: flex;
    padding: 25px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 3.333329916000366px 8px rgba(19, 49, 82, 0.1);

}

.item-company p {
    font-family: 'Forum';
    color: var(--main-color);
    font-size: 41px;

}

#contacts {
    height: 1000px;
    width: 100%;
    background: url('../img/contacts.webp');
    background-position: center center;
    background-size: cover;
    position: relative;
}

.box-contacts {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 3.333329916000366px 8px rgba(19, 49, 82, 0.1);
    max-width: 830px;
    text-align: center;
    padding: 50px 80px;
    position: absolute;
    bottom: -10%;
    left: 95px;
    z-index: 2;
}

.box-contacts p {
    max-width: 400px;
    margin: 0 auto;
}

.flex-btns {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

footer {
    margin-top: 150px;
    text-align: center;
    background: var(--main-color);
    padding-top: 25px;
    padding-bottom: 25px;
}

p.title-price {
    color: var(--main-color);
    font-size: 18px;

}

p.text-price {
    margin-top: 12px;
    margin-bottom: 12px;
}

.price-line {
    margin-bottom: 10px;
}

.swiper-slide .btn {
    margin-top: 20px;
}

.price-line span {
    font-family: 'Forum';
    color: var(--main-color);
    font-size: 21px;
    font-weight: normal;
}

.burger {
    display: none;
}

.right-menu {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 11;
}

.right-menu-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #071e2f;
    opacity: 0.4;

}

.right-menu-block {
    position: absolute;
    right: 0;
    top: 0;
    max-width: 260px;
    background-color: var(--main-color);

    height: 100%;
    padding: 48px 40px 38px;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: 0.3s;
    transform: translateX(100%);
}

.right-menu.active .right-menu-block {
    transition: 0.3s;
    transform: translateX(0);
}

.bottom-right-menu .btn {
    margin-top: 20px;
    max-width: 100%;
    padding: 11px;
}

.right-menu-block ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 180px;
    padding: 0;
}

.right-menu-block li {
    display: block;
}

.right-menu-block li a {
    font-size: 16px;
    color: white;
    font-weight: normal;
}

.right-menu-block .close {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.fixed-loader {
   
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
    z-index: 15;
    background: var(--main-color);
}

.fixed-modal {

    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
    z-index: 15;
    background: var(--main-color);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.fixed-modal h2 {
    color: white;
    text-align: center;
}

.fixed-modal.order-modal .custom-container {
    margin-top: 80px;
}

.loader-center {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-center svg {
    max-width: 60%;
}

.loader-center path {
    stroke: white;
    stroke-width: 1px;
    stroke-dasharray: 1000px;
    stroke-dashoffset: 0px;
    -webkit-animation: dash 7s ease-in-out;
    -moz-animation: dash 7s ease-in-out;
    -o-animation: dash 7s ease-in-out;
    animation: dash 7s ease-in-out;
    transition: .7s;
}

@keyframes dash {
    0% {
        stroke-dashoffset: 1000px;
        fill-opacity: 0;
    }

    100% {
        stroke-dashoffset: 0px;
        fill-opacity: 1;
    }
}

form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input {
    width: 100%;
}

form input[type='text'] {
    padding: 11px;
    background: none;
    border: none;
    border-bottom: 1px solid white;
    color: white;
}

form input[type='submit'] {
    margin-top: 15px;
    background: white !important;
    color: var(--main-color) !important;
}

::placeholder {
    color: white;
    opacity: 0.8;
}

.fixed-modal.order-modal .custom-container {
    max-width: 40%;
    margin: 0 auto;
    margin-top: 150px;
}

input {
    outline: none !important;
}

.modal-case .custom-container {
    margin-top: 150px;
}

.modal-case p {
    color: white;
}
.container-grid{
    padding-top: 50px;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.bottom-content-image {
    height: 100%;
    width: 100%;
    background: url('../img/projects/1.jpg');
    background-size: cover;
    background-position: center center;
    aspect-ratio: 1/1;
    position: relative;
}
.modal-case{
    overflow-y: auto;
}
.fixed-circle{
    position: fixed;
    right: 15px;
    bottom: 15px;
    background: #1a80ce;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    border-radius: 100%;
    z-index: 2;
  
}
.fixed-circle img{
    max-height: 30px;
}
.animphone:before, .animphone:after {
    content: " ";
    display: block;
    position: absolute;
    border: 50%;
    border: 1px solid #1a80ce;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: animate 1.5s linear infinite;
    opacity: 0;
    backface-visibility: hidden;
}
.animphone:after {
    animation-delay: .5s;
}
@keyframes animate
{
    0%
    {
        transform: scale(0.5);
        opacity: 0;
    }
    50%
    {
        opacity: 1;
    }
    100%
    {
        transform: scale(1.2);
        opacity: 0;
    }
}

@media screen and (max-width: 1500px) {
    .custom-container {
        margin-left: 50px;
        margin-right: 50px;
    }
}

@media screen and (max-width: 992px) {
    .custom-container {
        margin-left: 10px;
        margin-right: 10px;
    }

    .burger {
        display: block;
        max-height: 45px;
    }

    header ul {
        display: none;
    }

    header a.phone {
        display: none;
    }

    .right-header .btn {
        display: none;
    }

    header svg {
        height: 35px;
        width: 175px;
    }

    header .custom-container {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #pluses {
        margin-top: 50px;
    }

    #pluses .custom-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .header-text {
        flex-direction: column;
    }

    h1 {
        font-size: 32px;
        max-width: unset;
    }

    .header-text p {
        font-size: 12px;
        max-width: unset;
    }

    #header .custom-container {
        padding-bottom: 50px;
    }

    .box-plus span {
        max-width: unset;
    }

    #about .grid-about {
        grid-template-columns: repeat(1, 1fr);
    }

    #about .flex-header,
    #blue .flex-header {
        gap: 20px;
    }

    .flex-header {
        align-items: flex-start;
        flex-direction: column !important;
    }

    h2 {
        font-size: 25px;
    }

    footer img {
        max-height: 35px;
    }

    .box-about {
        height: 250px;
    }

    .box-about span,
    .box-plus span {
        font-size: 14px;
    }

    .box-about p,
    .box-plus p {
        font-size: 16px;
    }

    .box-plus span {
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .box-plus p {
        min-height: unset;
    }

    .flex-header {
        margin-bottom: 20px;
    }

    .mt-100 {
        margin-top: 70px;
    }

    .grid-cases {
        grid-template-columns: repeat(1, 1fr);
    }

    .gift-image {
        width: 100%;
        height: 250px;
    }

    .flex-gifts {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .grid-logos {
        padding-top: 30px;
        grid-template-columns: repeat(2, 1fr);
    }

    .about-sales p {
        max-width: unset;
        font-size: 14px;
    }

    .gift-line {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .gift-line-header-left p {
        font-size: 16px;
    }

    .about-sales {
        padding-top: 70px;
    }

    .gift-line.active .gift-line-hidden {
        max-height: 500px !important;
        transition: max-height 0.25s ease-in;
    }

    .gift-line:hover .gift-line-hidden {
        max-height: 0px;
        transition: max-height 0.25s ease-in;
    }

    .gift-line:hover .arrow {
        transform: unset;
    }

    .gift-line.active .arrow {
        transform: rotate(90deg) !important;
    }

    .flex-text-about {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .flex-text-about p {
        max-width: unset;
    }

    .grid-company {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 30px;
    }

    #contacts {
        height: 500px;
    }

    .box-contacts {
        padding: 20px;
        width: calc(100% - 20px);
        left: 10px;
    }

    .flex-btns {
        flex-direction: column;
        gap: 10px;
    }

    .flex-btns a {
        flex: 1;
        width: 100%;
    }

    .close-modal {
        position: absolute;
        right: 10px;
        top: 10px;
        cursor: pointer;
    }

    .fixed-modal.order-modal .custom-container {
        max-width: unset;
        margin-top: 100px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .modal-case .custom-container {
        margin-top: 100px;
    }
    #case{
        margin-top: 90px;
    }
    #case .flex-header{
        gap: 20px;
    }
}