* {
    box-sizing: border-box;
}

body {
    background: #051C2C;
    color: #F7F7F7;
    font-family: Helvetica, sans-serif;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
}

.header {
    background: #F0F0F0;
    padding: 20px 0px;
}

.header .container {
    display: flex;
    justify-content: center;
}

.hero-section {
    padding: 74px 0px;
    background: radial-gradient(117.92% 188.68% at 100% -17.97%, #2251FF 14%, #042A76 50%, #051C2C 100%);
}

.heading-primary {
    font-size: 50px;
    font-weight: 700;
    line-height: 55px;
    margin-bottom: 12px;
}

.text {
    font-size: 14px;
    font-weight: 400;
    line-height: 23.8px;
}

.btn-primary {
    background: #2251FF;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    color: #F7F7F7;
    margin-top: 32px;
    text-wrap: nowrap;
}

.hero-content {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-section {
    display: flex;
}

.about-img {
    width: 50%;
}

.about-content {
    width: 50%;
    background: #F0F0F0;
    color: #051C2C;
    padding: 74px 48px;
    display: flex;
    align-items: center;
}

.about-content .container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    max-width: 472px;
    margin-left: 0px;
}

.heading-secondary {
    font-size: 32px;
    font-weight: 700;
    line-height: 35.2px;
    letter-spacing: -0.02em;
}

.solutions-section {
    padding: 80px 0px;
}

.solutions-section .heading-secondary {
    text-align: center;
    max-width: 768px;
    margin-bottom: 32px;
}

.solutions-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solutions-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.solutions-detail img {
    margin-bottom: 12px;
}

.heading-tertiary {
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 8px;
}

.plans-section {
    padding-bottom: 80px;
}

.plans-section .heading-secondary:first-child {
    text-align: center;
    margin-bottom: 32px;
}

.plans-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.plans-item {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plans-detail {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.details-section {
    display: flex;
}

.details-info {
    background: #F0F0F0;
    color: #0A3654;
    padding: 48px;
    display: flex;
    width: 50%;
    align-items: center;
}

.details-left {
    justify-content: flex-end;
}

.details-right {
    justify-content: flex-start;
}

.details-content .btn-primary {
    margin-top: 20px;
}

.details-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    max-width: 472px;
}

.details-img {
    width: 50%;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.details-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.features-section {
    padding: 80px 0px;
}

.section-header {
    max-width: 768px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    margin: 0 auto;
}

.deatils-section .heading-secondary {
    color: #051C2C;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.features-list img {
    margin-bottom: 12px;
}

.blog-section {
    padding-bottom: 80px;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.blog-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.blog-item .text {
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
    -webkit-line-clamp: 4; 
  }

.footer {
    background: radial-gradient(117.92% 188.68% at 100% -17.97%, #2251FF 14%, #042A76 50%, #051C2C 100%);
    padding: 32px 0px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer-nav {
    display: flex;
    gap: 8px;
}

.footer-link {
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-align: center;
    color: #F7F7F7;
    padding: 8px;
}

.contact-section,
.main-content {
    padding: 80px 0px;
}

.contact-block {
   display: flex;
   gap: 48px;
   margin-top: 80px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 517px;
    width: 100%;
}

.contact-group {
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.contact-group label {
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
}

.contact-form .btn-primary {
    margin-top: 16px;
   justify-content: center;
   border: none;
   font-family: 'Noto Sans', sans-serif;
}

.contact-input {
    background: #EFF1F41A;
    box-shadow: 0px 1px 2px 0px #121A2B0D;
    border: none;
    padding: 15px;
    font-family: 'Noto Sans', sans-serif;
    color: #fff;
}

textarea.contact-input {
    resize: none;
    height: 120px;
}

.main-content .heading-secondary {
    text-align: center;
    margin-bottom: 48px;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    background: #F7F7F7;
    transform: translate(-50%, -50%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 517px;
    width: 100%;
}

.modal .heading-secondary {
    color: #051C2C;
    margin-top: 16px;
    text-align: center;
}

.modal .text {
    text-align: center;
    color: #0A3654;
    margin-top: 16px;
}

.text a {
    color:#0A3654;
}

.btn-secondary {
    border: none;
    width: 100%;
    padding: 20px;
    margin-top: 8px;
    cursor: pointer;
    background: none;
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 19.2px;
    text-align: center;
    color: #051C2C;
}

.modal .btn-primary {
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

.swiper-container {
    display: none;
}

@media(max-width: 1120px) {
    .container {
        padding: 0px 12px;
    }

    .heading-primary {
        font-size: 28px;
        font-weight: 700;
        line-height: 30.8px;
    }

    .hero-section {
        padding: 58px 0px;
    }

    .about-section {
        flex-direction: column;
    }

    .about-img {
        width: 100%;
        height: 276px;
        object-fit: cover;
    }

    .about-content {
        width: 100%;
        padding: 24px 12px;
    }

    .solutions-block {
        grid-template-columns: 1fr;
    }

    .plans-list {
        grid-template-columns: 1fr;
    }

    .plans-list .plans-item:nth-child(3) {
        grid-row: 2;
    }

    .details-section {
        flex-direction: column-reverse;
    }

    .details-img {
        width: 100%;
        height: 276px;
        object-fit: cover;
    }

    .details-info {
        width: 100%;
        padding: 24px 12px;
    }

    .details-right {
        order: -1;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .blog-list {
        display: none;
    }

    .blog-item {
        flex-direction: column;
    }

    .blog-item img {
        width: 100%;
        height: 181px;
        object-fit: cover;
    }

    .blog-item .text {
        display: block;
    }

    .footer-row {
        flex-direction: column-reverse;
        gap: 24px;
    }

    .contact-block {
        flex-direction: column;
        margin-top: 50px;
    }

    .modal {
        max-width: 300px;
        padding: 20px;
    }

    .swiper-container {
        display: block;
        width: 100%;
        max-width: 350px;
        overflow-x: hidden;
        margin: 0 auto;
        margin-top: 32px;
        position: relative;
        padding-bottom: 68px;
    }
    
    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        position: absolute;
        bottom: 0px;
        top: auto;
        z-index: 10;
        cursor: pointer;
    }
    
    .swiper-button-prev {
        left: 135px;
    }
    
    .swiper-button-next {
        right: 135px;
    }
    
    .swiper-button-prev img,
    .swiper-button-next img {
        width: 30px;
        height: 30px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
      content: '';
    }
    
}
  