@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gradient-start: #FDF2FF;
    --gradient-end: #C4E5FF;
    --transition: all 0.3s ease;
}

* {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.custom-container {
    margin-left: 15vw;
    margin-right: 15vw;
    width: 70%;
    transition: all 0.3s ease;
}

.services {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2vw;
}

#photo1 {
    width: 30%;
    margin-right: 15vw;
    border-radius: 1vw;
    transition: all 0.3s ease;
}

#photo2 {
    width: 30%;
    margin-left: 15vw;
    border-radius: 1vw;
    transition: all 0.3s ease;
}

.medical_check-up {
    margin-bottom: 4vw;
    margin-top: 10vw;
}

h2 {
    margin: 2vw 12vw 3vw 15vw;
    font-size: 2vw;
    font-weight: 700;
    color: #021c41;
    transition: all 0.3s ease;
}

h3 {
    font-size: 1.3vw;
    margin-bottom: 2vw;
    font-weight: 600;
    color: #021c41;
    transition: all 0.3s ease;
}

.form-check {
    margin: 1rem 0;
}
.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.form-check-label {
    font-size: 0.8rem;
    color: #1e293b;
}
.form-check-label a {
    color: #005DE2;
    text-decoration: none;
}
.form-check-label a:hover {
    text-decoration: underline;
}

.description {
    margin-left: 0vw;
    width: 100%;
    text-align: left;
    font-weight: 500;
}

.text1 {
    display: block;
}

.text1 p {
    margin-left: 15vw;
    margin-right: 3vw;
    font-size: 1vw;
    color: #021c41;
    transition: all 0.3s ease;
}

.text2 {
    display: block;
}

.text2 p {
    margin-left: 3vw;
    margin-right: 15vw;
    font-size: 1vw;
    color: #021c41;
    transition: all 0.3s ease;
}

.elemens {
    display: flex;
}

.card1 {
    background-color: rgb(255, 255, 255);
}

.cards {
    margin-left: 15vw;
    margin-right: 15vw;
    margin-bottom: 13vw;
    padding-top: 3vw;
    padding-bottom: 2vw;
    transition: all 0.3s ease;
}

.servicesblock {
    border-radius: 2vw;
    background-color: rgb(255, 255, 255);
    padding: 2vw 1.5vw;
    width: 20%;
    min-height: 20vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 2vw;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.servicesblock:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.servicesblock .circle-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transition: all 0.4s ease;
}


.servicesblock .circle-blob:nth-child(1) {
    width: 70px;
    height: 70px;
    bottom: -20px;
    left: -20px;
    background: rgba(168, 213, 255, 0.5);
}


.servicesblock .circle-blob:nth-child(2) {
    width: 60px;
    height: 60px;
    bottom: 5px;
    left: 0px;
    background: rgba(0, 93, 226, 0.4);
    z-index: 1;
}

.servicesblock:nth-child(1) .circle-blob:nth-child(1) {
    bottom: -15px;
    left: -25px;
    width: 45%;
    height: 30%;
}

.servicesblock:nth-child(1) .circle-blob:nth-child(2) {
    bottom: 2.5vw;
    left: -1vw;
    width: 33%;
    height: 20%;
}

.servicesblock:nth-child(2) .circle-blob:nth-child(1) {
    bottom: -15px;
    left: -25px;
    width: 45%;
    height: 30%;
}

.servicesblock:nth-child(2) .circle-blob:nth-child(2) {
    bottom: 2.5vw;
    left: -1vw;
    width: 33%;
    height: 20%;
}

.servicesblock:nth-child(3) .circle-blob:nth-child(1) {
    bottom: -15px;
    left: -25px;
    width: 45%;
    height: 30%;
}

.servicesblock:nth-child(3) .circle-blob:nth-child(2) {
    bottom: 2.5vw;
    left: -1vw;
    width: 33%;
    height: 20%;
}

.servicesblock:nth-child(4) .circle-blob:nth-child(1) {
    bottom: -15px;
    left: -25px;
    width: 45%;
    height: 30%;
}

.servicesblock:nth-child(4) .circle-blob:nth-child(2) {
    bottom: 2.5vw;
    left: -1vw;
    width: 33%;
    height: 20%;
}

/* При наведении круги становятся прозрачнее */
.servicesblock:hover .circle-blob {
    opacity: 0.3;
}

.servicesblock p {
    color: rgb(255, 255, 255);
    font-size: 1.5vw;
    font-weight: bold;
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 0;
}

.servicesblock .icon-container p {
    color: #021c41;
    font-size: 0.85vw;
    font-weight: 600;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    display: flex;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

.icon-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s ease;
}

/* Увеличенная картинка */
.servicesblock img {
    width: 50%;
    height: auto;
    margin-bottom: 0.8vw;
    transition: all 0.4s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: -2vw;
}

/* Голубая черточка между изображением и названием */
.servicesblock .icon-container .blue-dash {
    width: 40px;
    height: 3px;
    background: #005DE2;
    border-radius: 3px;
    margin: 0.6vw auto 0.8vw auto;
    transition: all 0.3s ease;
}

.servicesblock:hover .icon-container .blue-dash {
    width: 60px;
    background: linear-gradient(90deg, #005DE2, #a8d5ff);
}

.title {
    color: rgb(44, 76, 65);
    font-size: 1.2vw;
    font-weight: bold;
    margin: 0;
    z-index: 2;
    transition: all 0.4s ease;
}

.hover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

#btn1 {
    font-size: 0.8vw;
    background-color: #005DE2;
    border: none;
    transition: all 0.3s ease;
}

#btn2 {
    font-size: 0.8vw;
    transition: all 0.3s ease;
}

.hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    z-index: 3;
    color: white;
    font-size: 1.2vw;
}

.hover-content h3 {
    font-size: 1vw;
    margin-bottom: 1vw;
    color: white;
    margin-bottom: 2vw;
    text-align: left;
}

.hover-content .description {
    font-size: 0.7vw;
    line-height: 1.4;
    margin-bottom: 1.5vw;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hover-content .percent {
    font-size: 1.2vw;
    font-weight: 700;
    color: #a8d5ff;
    margin: 0;
}

.more-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.5vw 1.2vw;
    border-radius: 0.5vw;
    font-size: 0.8vw;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 600;
}

.more-btn:hover {
    background: white;
    font-weight: 600;
    color: #021c41;
}

.servicesblock:hover .hover-bg {
    opacity: 1;
}

.servicesblock:hover .icon-container,
.servicesblock:hover .title {
    opacity: 0;
    transform: translateY(-20px);
}

.servicesblock:hover .hover-content {
    opacity: 1;
    transform: translateY(0);
}

.servicesblock::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.servicesblock:hover::after {
    opacity: 1;
}

/* ===== БЛОК СТАТИСТИКИ ===== */
#form {
    width: 100%;
}

.diagnostics-card {
    background: aliceblue;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    transition: all 0.3s ease;
}

.diagnostics-wrapper {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.chart-side {
    flex: 1.5;
    min-width: 280px;
    transition: all 0.3s ease;
}

.stats-side {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-content: start;
    transition: all 0.3s ease;
}

.custom-chart-container {
    position: relative;
    padding: 0;
    background: transparent;
}

.chart-with-lines {
    position: relative;
    height: 380px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.y-axis-labels {
    position: absolute;
    left: -10px;
    top: 0;
    width: 45px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 5;
}

.y-label-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: auto;
}

.y-percent {
    font-size: 11px;
    color: #8ba0b5;
    font-weight: 500;
    white-space: nowrap;
    padding-right: 8px;
}

.chart-grid-line {
    position: absolute;
    left: 35px;
    right: 0;
    height: 1px;
    background: #d4e0e8;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.chart-canvas-wrapper {
    position: relative;
    height: 100%;
    margin-left: 30px;
    z-index: 2;
}

#earlyDetectionChart {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.chart-x-labels {
    display: flex;
    justify-content: space-evenly;
    margin-top: 0.5rem;
    margin-left: 35px;
    padding: 0;
    width: calc(100% - 35px);
}

.x-label {
    font-size: 13px;
    color: #4a627a;
    font-weight: 600;
    text-align: center;
    flex: 1;
}

.x-label small {
    font-size: 11px;
    font-weight: 400;
    color: #8ba0b5;
}

.stat-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stat-card .stat-number {
    font-size: 2vw;
    font-weight: 700;
    color: #a8d5ff;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stat-card .stat-label {
    font-size: 0.9vw;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
}

.stat-card .stat-description {
    font-size: 0.8vw;
    color: #6c757d;
    font-weight: 400;
    transition: all 0.3s ease;
}

.conclusion-text {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.conclusion-text p {
    color: #495057;
    font-size: 0.8vw;
    margin-bottom: 0;
    font-weight: 500;
    transition: all 0.3s ease;
}


@media (max-width: 1300px) {
    .diagnostics-wrapper {
        gap: 2rem;
    }
    
    .stat-card .stat-number {
        font-size: 2.2vw;
    }
    
    .stat-card .stat-label {
        font-size: 1vw;
    }
    
    .stat-card .stat-description {
        font-size: 0.9vw;
    }
}

@media (max-width: 1100px) {
    .diagnostics-wrapper {
        gap: 1.5rem;
    }
    
    .chart-with-lines {
        height: 320px;
    }
    
    .stat-card {
        padding: 1rem 0.8rem;
    }
    
    .stat-card .stat-number {
        font-size: 2.5vw;
    }
    
    .stat-card .stat-label {
        font-size: 1.1vw;
    }
    
    .stat-card .stat-description {
        font-size: 1vw;
    }
    
    .conclusion-text p {
        font-size: 0.9vw;
    }
}

@media (max-width: 950px) {
    .diagnostics-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .chart-side {
        width: 100%;
    }
    
    .stats-side {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    
    .chart-with-lines {
        height: 300px;
    }
    
    .stat-card {
        aspect-ratio: auto;
        min-height: 110px;
        padding: 1rem;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-card .stat-description {
        font-size: 0.7rem;
    }
}


@media (max-width: 850px) {
    .diagnostics-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .chart-with-lines {
        height: 280px;
    }
    
    .stats-side {
        gap: 0.8rem;
    }
    
    .stat-card {
        min-height: 100px;
        padding: 0.8rem;
    }
    
    .stat-card .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-card .stat-description {
        font-size: 0.65rem;
    }
    
    .conclusion-text p {
        font-size: 0.85rem;
    }
}

@media (min-width: 900px) and (max-width: 980px) {
    .diagnostics-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .chart-side {
        width: 100%;
    }
    
    .stats-side {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 1rem;
    }
    
    .chart-with-lines {
        height: 320px;
    }
    
    .stat-card {
        aspect-ratio: auto;
        min-height: 120px;
        padding: 1rem;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.85rem;
    }
    
    .stat-card .stat-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) and (min-width: 551px) {
    .diagnostics-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .chart-side {
        width: 100%;
    }
    
    .stats-side {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .chart-with-lines {
        height: 260px;
    }
    
    .stat-card {
        min-height: 90px;
        padding: 0.8rem;
    }
    
    .stat-card .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-card .stat-description {
        font-size: 0.6rem;
    }
    
    .conclusion-text p {
        font-size: 0.8rem;
    }
}

@media (max-width: 550px) {
    .stats-side {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stat-card {
        min-height: 80px;
        padding: 0.8rem;
    }
    
    .stat-card .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-card .stat-description {
        font-size: 0.6rem;
    }
}

.banner {
    position: relative;
    overflow: hidden;
    margin-bottom: 6vw;
}

.banner-image-wrapper {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background: linear-gradient(135deg, #021c41 0%, #0a3a6e 100%);
    display: flex;
    align-items: flex-start;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 28, 65, 0.75) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    padding: 7vw 0 15vw 0;
}

.animated-text {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1.2s ease forwards;
}

.banner .row {
    min-height: auto;
    align-items: flex-start;
}

.banner-content h1 {
    font-size: 2vw;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    margin-top: 4vw;
    transition: all 0.3s ease;
}

.banner-content .lead {
    font-size: 0.8vw;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.banner-buttons {
    margin-top: 1.5vw;
    display: flex;
    gap: 1.2vw;
    flex-wrap: wrap;
}

.btn-banner {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-banner-primary {
    background-color: #005DE2;
    color: white;
    border: 2px solid #005DE2;
}

.btn-banner-primary:hover {
    background-color: transparent;
     color: white;
    border-color: #005DE2;
    transform: translateY(-3px);
}

.btn-banner-secondary {
    background-color: #ffffff;
    color: #021c41;
}

.btn-banner-secondary:hover {
    background-color: white;
    color: #021c41;
    border-color: white;
    transform: translateY(-3px);
}

.banner-advantages {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 0.8vw;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    width: 11.7vw;
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
}

.advantage-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.advantage-text {
    flex: 1;
}

.advantage-title {
    font-size: 0.7vw;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: white;
    transition: all 0.3s ease;
}

.advantage-desc {
    font-size: 0.6vw;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#formtext {
    display: flex;
    justify-content: flex-start;
    color: #021c41;
    font-size: 2vw;
    font-weight: 700;
    margin: 2vw 0 1vw 15vw;
    padding: 0;
    text-align: left;
    width: auto;
    transition: all 0.3s ease;
}

#formtexth3 {
    font-size: 1.5vw;
    display: flex;
    justify-content: flex-start;
    color: #021c41;
    font-weight: 700;
    margin: 0 0 2vw 15vw;
    padding: 0;
    text-align: left;
    width: auto;
    transition: all 0.3s ease;
}

.contact-form {
    margin-top: 7vw;
    padding: 2rem 0;
    margin-bottom: 7vw;
}

.contact-form-content {
    width: 100%;
}

.contact-form .row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.contact-form .col-lg-8 {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.form-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    width: 100%;
    transition: all 0.3s ease;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #2d3748;
    display: flex;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-primary {
    background: #005DDE;
    border: none;
    border-radius: 0.5vw;
    font-weight: 500;
    font-size: 0.8vw;
    transition: var(--transition);
    padding: 0.8rem 2rem;
    cursor: pointer;
    color: white;
}

.btn-primary:hover {
    background: #021c41;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
}

#feedbackMessage {
    margin-bottom: 1rem;
}

#messageCounter {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: #6c757d;
}

.section-titel {
    margin-left: 15vw;
}

@media (min-width: 1921px) {
    .custom-container {
        margin-left: 20vw !important;
        margin-right: 20vw !important;
        width: 60% !important;
    }
    
    .banner .col-12 {
        margin-left: -10vw !important;
    }
    
    .banner-content h1 {
        font-size: 1.8rem !important;
    }
    
    .servicesblock {
        min-height: 16vw;
    }
    
    .servicesblock .icon-container p {
        font-size: 0.8vw !important;
    }
}

@media (min-width: 1600px) and (max-width: 1920px) {
       .custom-container{
        margin-left: 15vw !important;
        margin-right: 15vw !important;
        width: 70% !important;
    }
    
    .servicesblock {
        min-height: 18vw;
    }
    
    #btn1 {
        font-size: 0.8vw;
        background-color: #005DE2;
        border: none;
        padding: 0vw 2vw;
        height: 2.7vw;
    }
    
    #btn2 {
        font-size: 0.8vw;
        padding: 0.5vw 1.5vw;
    }
}

@media (min-width: 1367px) and (max-width: 1600px) {
    .custom-container {
        margin-left: 14vw !important;
        margin-right: 14vw !important;
        width: 72% !important;
    }
    
    .banner .col-12 {
        margin-left: -7vw !important;
    }
}

@media (min-width: 1025px) and (max-width: 1366px) {
    .custom-container {
        margin-left: 12vw !important;
        margin-right: 12vw !important;
        width: 76% !important;
    }
    
    .banner .col-12 {
        margin-left: -6vw !important;
    }
    
    .banner-content h1 {
        font-size: 2.1rem !important;
    }
    
    .servicesblock {
        min-height: 20vw;
    }
    
    .servicesblock .icon-container p {
        font-size: 0.9vw !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .custom-container {
        margin-left: 8vw !important;
        margin-right: 8vw !important;
        width: 84% !important;
    }
    
    .banner .col-12 {
        margin-left: -4vw !important;
    }
    
    .banner-content h1 {
        font-size: 2.8vw !important;
    }
    
    .banner-content .lead {
        font-size: 1.2vw !important;
    }
    
    .banner-advantages {
        display: flex;
        gap: 1rem;
    }
    
    .advantage-item {
        width: 18vw;
    }
    
    .advantage-title {
        font-size: 1vw;
    }
    
    .advantage-desc {
        font-size: 0.8vw;
    }
    
    #btn1, #btn2 {
        font-size: 1.2vw;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    #btn1 {
        background-color: #005DE2;
        border: none;
    }
    
    h2 {
        font-size: 1.8rem !important;
        margin: 2vw 5vw 3vw 8vw;
    }
    
    h3 {
        font-size: 1.2rem !important;
    }
    
    .servicesblock {
        width: 22% !important;
        min-height: 25vw;
    }
    
    .servicesblock .icon-container p {
        font-size: 1.1vw !important;
    }
    
    .servicesblock img {
        width: 45% !important;
    }
    
    .text1 p, .text2 p {
        font-size: 1.2vw !important;
    }
    
    .text1 p {
        margin-left: 8vw;
    }
    
    .text2 p {
        margin-left: 3vw;
        margin-right: 8vw;
    }
    
    #photo1 {
        width: 35% !important;
        margin-right: 8vw;
    }
    
    #photo2 {
        width: 35% !important;
        margin-left: 8vw;
    }
    
    .cards {
        margin-left: 8vw;
        margin-right: 8vw;
        margin-bottom: 5vw;
        padding-top: 1vw;
        padding-bottom: 2vw;
    }
    
    .diagnostics-card {
        padding: 25px;
    }
    
    .chart-with-lines {
        height: 300px;
    }
    
    #formtext {
        font-size: 1.8rem !important;
        margin: 2vw 0 1vw 8vw;
    }
    
    #formtexth3 {
        font-size: 1.3rem !important;
        margin: 0 0 2vw 8vw;
    }
    
    .justify-content-center {
        justify-content: center !important;
        width: 100%;
        margin-left: 0;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .custom-container {
        margin-left: 5vw !important;
        margin-right: 5vw !important;
        width: 90% !important;
    }
    
    .banner {
        min-height: 85vh;
    }
    
    .banner-image-wrapper {
        min-height: 100vh;
        height: 100vh;
        align-items: center;
        position: relative;
    }
    
    .banner .row {
        min-height: 100vh;
        height: 100vh;
        align-items: flex-end;
        margin: 0;
        padding-bottom: 20vh;
    }
    
    .banner .col-12 {
        margin-left: 0 !important;
        text-align: center;
        padding: 0 20px;
    }
    
    .banner-content {
        padding: 0;
    }
    
    .banner-content h1 {
        font-size: 4vw !important;
        text-align: center;
        margin-top: 0;
    }
    
    .banner-content .lead {
        font-size: 2vw !important;
        text-align: center;
    }
    
    .banner-buttons {
        justify-content: center;
    }
    
    .btn-banner {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .banner-advantages {
        display: none;
    }
    
    #btn1, #btn2 {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    #btn1 {
        background-color: #005DE2;
        border: none;
        height: 8vw !important;
        padding: 3vw 5vw !important;
        font-size: 2.2vw !important;
    }
    
    #btn2 {
        padding: 2vw !important;
        font-size: 2vw !important;
        height: 8vw !important;
    }
    
    h2 {
        font-size: 4vw !important;
        text-align: center;
        margin: 20px 6vw !important;
    }
    
    h3 {
        font-size: 3vw !important;
        text-align: center;
    }
    
    .elemens {
        flex-direction: column;
        align-items: center;
    }
    
    .medical_check-up .elemens {
        display: flex;
        flex-direction: column;
    }
    
    .medical_check-up .text2 {
        order: 1;
    }
    
    .medical_check-up #photo2 {
        order: 2;
    }
    
    .text1 p, .text2 p {
        margin: 0 6vw 3vw 6vw !important;
        font-size: 2.5vw !important;
    }
    
    .aboutus .elemens {
        display: flex;
        flex-direction: column;
    }
    
    .aboutus .text1 {
        order: 1;
    }
    
    .aboutus #photo1 {
        order: 2;
    }
    
    #photo1, #photo2 {
        width: 90% !important;
        margin: 3vw auto !important;
    }
    
    .cards {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
    
    .services {
        gap: 6vw;
        justify-content: center;
    }
    
    .servicesblock {
        width: 35% !important;
        min-height: 45vw;
        aspect-ratio: 1 / 1.1;
        padding: 30px 12px;
    }
    
    .servicesblock:nth-child(1) .circle-blob:nth-child(2),
    .servicesblock:nth-child(2) .circle-blob:nth-child(2),
    .servicesblock:nth-child(3) .circle-blob:nth-child(2),
    .servicesblock:nth-child(4) .circle-blob:nth-child(2) {
        bottom: 4vw;
        left: -1vw;
        width: 33%;
        height: 23%;
    }
    
    .servicesblock img {
        width: 40% !important;
        margin-top: -6vw;
    }
    
    .servicesblock .icon-container p {
        font-size: 1.8vw !important;
    }
    
    .servicesblock .icon-container .blue-dash {
        width: 25px;
        margin: 0.8vw auto;
    }
    
    .diagnostics-card {
        padding: 20px;
        margin-left: 3vw;
        margin-right: 3vw;
    }
    
    .chart-with-lines {
        height: 300px;
    }
    
    .stats-side {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .stat-card .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-card .stat-description {
        font-size: 0.6rem;
    }
    
    .conclusion-text p {
        font-size: 1.5vw;
    }
    
    #formtext {
        display: flex;
        justify-content: center;
        text-align: center;
    }
    
    #formtexth3 {
        display: flex;
        justify-content: center;
        text-align: center;
        margin: 0;
    }
    
    .form-card {
        padding: 20px;
    }
    
    .contact-form .col-lg-8 {
        width: 100%;
        max-width: 800px;
        padding: 0 3vw;
    }
    
    .btn-primary {
        width: 100%;
        background: #005DDE;
        border: none;
        border-radius: 0.5vw;
        font-weight: 500;
        font-size: 2.1vw;
        transition: var(--transition);
        padding: 0.8rem 2rem;
        cursor: pointer;
        color: white;
    }
    
    #messageCounter {
        display: block;
        margin-top: 0.5rem;
        font-size: 1.9vw;
        color: #6c757d;
    }
}

@media (max-width: 480px) {
    .custom-container {
        margin-left: 4vw !important;
        margin-right: 4vw !important;
        width: 92% !important;
        padding: 0 !important;
    }
    
    .banner {
        margin-bottom: 0;
        min-height: 100vh;
    }
    
    .banner-image-wrapper {
        min-height: 100vh;
        background-position: 30% center;
    }
    
    .banner .row {
        padding-bottom: 15vh;
    }
    
    .banner .col-12 {
        margin-left: 0 !important;
        padding: 0 15px;
        text-align: center;
    }
    
    .banner-content {
        padding: 15vh 0 10vh 0;
    }
    
    .banner-content h1 {
        font-size: 1.6rem !important;
        margin-top: 0;
        text-align: center;
    }
    
    .banner-content .lead {
        font-size: 0.9rem !important;
        text-align: center;
    }
    
    .banner-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-banner {
        width: 80%;
        max-width: 250px;
        padding: 12px 20px;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .banner-advantages {
        display: none;
    }
    
    h2 {
        font-size: 1.4rem !important;
        margin: 20px 15px !important;
        text-align: center;
    }
    
    h3 {
        font-size: 1.1rem !important;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .elemens {
        flex-direction: column;
        align-items: center;
    }
    
    .text1 p, .text2 p {
        margin: 10px 15px !important;
        font-size: 0.85rem !important;
        text-align: center;
    }
    
    #photo1, #photo2 {
        width: 90% !important;
        margin: 15px auto !important;
        border-radius: 15px;
    }
    
    .medical_check-up {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .cards {
        margin-left: 15px !important;
        margin-right: 15px !important;
        margin-bottom: 40px;
        padding-top: 20px;
    }
    
    .services {
        gap: 15px;
        justify-content: center;
    }
    
    .servicesblock {
        width: calc(50% - 10px) !important;
        min-height: auto;
        padding: 15px 10px;
        border-radius: 20px;
        aspect-ratio: 1 / 1.1;
    }
    
    .servicesblock .icon-container p {
        font-size: 3vw !important;
    }
    
    .servicesblock img {
        width: 45% !important;
        margin-bottom: 8px;
        margin-top: 0;
    }
    
    .servicesblock .icon-container .blue-dash {
        width: 30px;
        height: 2px;
        margin: 8px auto;
    }
    
    .servicesblock .circle-blob {
        transform: scale(0.6);
    }
    
    .hover-content h3 {
        font-size: 3vw !important;
        margin-bottom: 8px;
    }
    
    .hover-content .description {
        font-size: 2.5vw !important;
        margin-bottom: 8px;
    }
    
    .hover-content .percent {
        font-size: 3.5vw !important;
    }
    
    .diagnostics-section {
        padding: 20px 0;
        margin: 20px 0;
    }
    
    .diagnostics-card {
        padding: 15px;
        border-radius: 20px;
        margin: 0 10px;
    }
    
    .diagnostics-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .chart-with-lines {
        height: 250px;
    }
    
    .stats-side {
       display: none;
    }
    
    .stat-card {
        padding: 12px 8px;
        min-height: auto;
    }
    
    .stat-card .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-card .stat-description {
        font-size: 0.6rem;
    }
    
    .conclusion-text {
        padding: 12px;
        margin-top: 15px;
    }
    
    .conclusion-text p {
        font-size: 0.8rem;
    }
    
    .chart-x-labels {
        margin-left: 30px;
    }
    
    .x-label {
        font-size: 10px;
    }
    
    .x-label small {
        font-size: 8px;
    }
    
    .y-percent {
        font-size: 9px;
    }
    
    .contact-form {
        padding: 10px 0;
        margin-bottom: 30px;
    }
    
    #formtext {
        font-size: 1.3rem !important;
        margin: 15px 0 5px 15px !important;
        text-align: left;
    }
    
    #formtexth3 {
        font-size: 1rem !important;
        margin: 0 0 15px 15px !important;
        text-align: left;
    }
    
    .contact-form .col-lg-8 {
        padding: 0 15px;
    }
    
    .form-card {
        padding: 15px;
        border-radius: 20px;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    .form-control {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    textarea.form-control {
        min-height: 100px;
    }
    
    .btn-primary {
        font-size: 0.85rem;
        padding: 10px 20px;
        width: 100%;
        max-width: 200px;
    }
    
    body {
        font-size: 14px;
    }
    
    .btn, button {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    input, textarea, button {
        font-size: 3vw !important;
    }
}


@media (max-width: 768px) and (orientation: landscape) {
    .banner {
        min-height: auto;
    }
    
    .banner-image-wrapper {
        min-height: 120vh;
    }
    
    .banner-content h1 {
        font-size: 1.4rem !important;
    }
    
    .servicesblock {
        width: calc(33.33% - 10px) !important;
    }
    
    .servicesblock .icon-container p {
        font-size: 1.5vw !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .banner-content h1 {
        font-size: 2.2rem !important;
    }
    
    .banner-advantages {
        display: none;
    }
}

@media (max-width: 600px) {
    .servicesblock .circle-blob:nth-child(1),
    .servicesblock .circle-blob:nth-child(2) {
        transform: scale(0.5);
    }
    
    .servicesblock .icon-container .blue-dash {
        width: 25px;
    }
    
    .servicesblock:hover .icon-container .blue-dash {
        width: 35px;
    }
}

@media (max-width: 1200px) and (min-width: 1101px) {
    .chart-with-lines {
        height: 280px;
    }
}

@media (max-width: 1100px) and (min-width: 1001px) {
    .chart-with-lines {
        height: 250px;
    }
    
    .conclusion-text p {
        font-size: 0.9vw;
    }
}

@media (max-width: 1000px) and (min-width: 901px) {
    .chart-with-lines {
        height: 320px;
    }
}

@media (max-width: 900px) and (min-width: 801px) {
    .chart-with-lines {
        height: 300px;
    }
}

@media (max-width: 800px) and (min-width: 769px) {
    .chart-with-lines {
        height: 280px;
    }
}

@media (min-width: 1012px) and (max-width: 1024px) {
    .chart-with-lines {
        height: 280px;
    }
}