@charset "utf-8";
/* CSS Document */

body {
            font-family: Arial, sans-serif;
            background-color: #f8f9fa;
            padding: 0px;
        }
        .form-container {
            max-width: 1200px;
            margin: 20px auto;
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }
        .info-text {
            background-color: #e3f2fd;
            border-left: 4px solid #2196f3;
            padding: 15px;
            margin-bottom: 30px;
            border-radius: 5px;
        }
        .info-text p {
            margin-bottom: 15px;
            font-weight: 500;
            line-height: 1.6;
            font-size: 0.95rem;
        }
        .info-text p:last-child {
            margin-bottom: 0;
            color: #d32f2f;
            font-weight: 600;
        }
        .form-section {
            margin-bottom: 2rem;
        }
        .radio-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0.3rem;
            margin-top: 0.8rem;
        }
        .form-check {
            margin-bottom: 0.3rem;
        }
        .radio-card {
            background: #ffffff;
            border: 1px solid #e9ecef;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            margin-top: 15px;
        }
        .radio-card:hover {
            box-shadow: 0 4px 16px rgba(0,0,0,0.12);
            transform: translateY(-2px);
        }
        .radio-card .form-label {
            color: #495057;
            font-weight: 600;
            margin-bottom: 15px;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 8px;
        }
        .radio-card .radio-group {
            margin-top: 0;
        }
        .input-card {
            background: #ffffff;
            border: 1px solid #e9ecef;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            margin-top: 15px;
        }
        .bp-measurements {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
            padding: 25px;
            margin-top: 20px;
        }
        .bp-measurements .card {
            border: none;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        .bp-measurements .card:hover {
            transform: translateY(-3px);
        }
        
        /* Validation styles */
        .is-invalid {
            border-color: #dc3545;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.7.7'/%3e%3cpath d='m6.2 8.4-.7-.7'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right calc(0.375em + 0.1875rem) center;
            background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
        }
        
.invalid-feedback {
    display: none; /* Изначально скрыто */
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.invalid-feedback.show {
    display: block; /* Показываем только когда нужно */
}
        
        .form-check-input.is-invalid {
            border-color: #dc3545;
        }
        
        .form-check-input.is-invalid ~ .form-check-label {
            color: #dc3545;
        }
        
        .radio-group-error {
            border: 2px solid #dc3545;
            border-radius: 8px;
            padding: 10px;
            background-color: #f8d7da;
        }
        
        .submit-container {
            text-align: center;
            margin-top: 3rem;
            padding: 2rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
        }
        
        .btn-submit {
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            border: none;
            padding: 15px 40px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
            transition: all 0.3s ease;
        }
        
        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
        }
        
        .success-message {
            display: none;
            background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
            border: 2px solid #28a745;
            border-radius: 10px;
            padding: 20px;
            margin-top: 20px;
            text-align: center;
        }
        
        .validation-summary {
            display: none;
            background: #f8d7da;
            border: 2px solid #dc3545;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
        }
        
        @media (min-width: 768px) {
            .form-container {
                padding: 40px;
            }
            .info-text {
                padding: 25px;
            }
            .info-text p {
                font-size: 1rem;
            }
            .radio-group {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 0.5rem;
            }
            .form-check {
                margin-bottom: 0.4rem;
            }
        }
        @media (min-width: 992px) {
            .radio-group {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (min-width: 1200px) {
            .radio-group.three-cols {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
    .form-check-input[type="radio"] {
    width: 1.1em;
    height: 1.1em;
    border: 1px solid #6c757d;
    margin-right: 7px;
    cursor: pointer;
} 

/* Custom styles for cardio navbar */
.navbar-cardio {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand:hover {
    color: rgba(255,255,255,0.9) !important;
}

.navbar-brand i {
    margin-right: 10px;
    font-size: 1.8rem;
    color: #ff6b6b;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.8rem 1.2rem !important;
    margin: 0 0.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background-color: rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255,255,255,0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1rem !important;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0;
        white-space: normal;
    }
}

/* Carousel Styles */
/* Sponsors Slide Styles */
.sponsors-slide {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #2c3e50;
}

.sponsors-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.sponsors-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #6c757d;
}

.sponsors-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.sponsor-item:hover {
    transform: translateY(-10px);
}

.sponsor-logo {
    height: 140px;
    max-width: 200px;
    object-fit: contain;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.sponsor-item:hover .sponsor-logo {
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.logo-placeholder {
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: inline-block;
}

.placeholder-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    letter-spacing: 2px;
    border: 3px solid #3498db;
    padding: 15px 25px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Responsive Design for Sponsors */
@media (max-width: 1200px) {
    .sponsors-container {
        gap: 3rem;
    }
    
    .sponsor-logo {
        height: 70px;
        max-width: 180px;
    }
}

@media (max-width: 992px) {
    .sponsors-container {
        gap: 2.5rem;
        justify-content: space-around;
        padding: 0 2rem;
    }
    
    .sponsor-logo {
        height: 65px;
        max-width: 160px;
        padding: 15px;
    }
    
    .sponsors-title {
        font-size: 2.2rem;
    }
    
    .sponsors-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .sponsors-container {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }
    
    .sponsor-logo {
        height: 60px;
        max-width: 150px;
        padding: 15px;
    }
    
    .sponsors-title {
        font-size: 2rem;
    }
    
    .sponsors-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .placeholder-logo {
        font-size: 1.4rem;
        padding: 10px 20px;
    }
}

@media (max-width: 576px) {
    .sponsors-container {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .sponsor-logo {
        height: 50px;
        max-width: 120px;
        padding: 10px;
    }
    
    .sponsors-title {
        font-size: 1.8rem;
    }
    
    .placeholder-logo {
        font-size: 1.2rem;
        padding: 8px 15px;
    }
}
.carousel {
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.carousel-slide {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.slide-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.slide-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.carousel-content {
    width: 100%;
    z-index: 2;
}

.slide-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slide-icon {
    font-size: 8rem;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

.btn {
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Carousel Controls - Fixed */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0.7;
    z-index: 3;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-size: 20px 20px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    padding: 10px;
    border: 2px solid rgba(255,255,255,0.8);
}

.carousel-control-prev-icon:after,
.carousel-control-next-icon:after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.carousel-control-prev-icon:after {
    content: "\f104"; /* fa-angle-left */
}

.carousel-control-next-icon:after {
    content: "\f105"; /* fa-angle-right */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid white;
}

.carousel-indicators button.active {
    background-color: white;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-slide {
        height: 400px;
        padding: 2rem 0;
    }
    
    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .slide-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .slide-icon {
        font-size: 4rem;
        margin-top: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .carousel-slide {
        height: 350px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-icon {
        font-size: 3rem;
    }
}
/*--------- Survay ---------*/
        .survey-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.2);
            padding: 3rem;
            width: 100%;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .survey-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
        }
        
        .main-title {
            color: #2c3e50;
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 2rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        }
        
        .subtitle {
            color: #7f8c8d;
            font-size: 1.2rem;
            margin-bottom: 3rem;
            line-height: 1.6;
        }
        
        .user-type-section {
            margin-bottom: 2rem;
        }
        
.user-type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center; /* center the grid itself */
}
        
        .user-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 2px solid #dee2e6;
            border-radius: 15px;
            padding: 2rem;
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            position: relative;
            overflow: hidden;
        }
        
        .user-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            border-color: #667eea;
            text-decoration: none;
            color: inherit;
        }
        
        .user-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: left 0.5s ease;
        }
        
        .user-card:hover::before {
            left: 100%;
        }
        
        .medical-card {
            border-color: #28a745;
        }
        
        .medical-card:hover {
            border-color: #28a745;
            background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
        }
        
        .visitor-card {
            border-color: #007bff;
        }
        
        .visitor-card:hover {
            border-color: #007bff;
            background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
        }
        
        .user-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        
        .medical-card .user-icon {
            color: #28a745;
        }
        
        .visitor-card .user-icon {
            color: #007bff;
        }
        
        .user-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: #2c3e50;
        }
        
        .user-description {
            color: #6c757d;
            font-size: 0.95rem;
            line-height: 1.4;
        }
        
        .footer-note {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid #dee2e6;
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        .footer-note i {
            color: #dc3545;
            margin-right: 0.5rem;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .survey-card {
                margin: 1rem;
                padding: 2rem;
            }
            
            .main-title {
                font-size: 2rem;
            }
            
            .user-type-cards {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .user-card {
                padding: 1.5rem;
            }
            
            .user-icon {
                font-size: 2.5rem;
            }
        }
        
        @media (max-width: 576px) {
            .main-title {
                font-size: 1.8rem;
            }
            
            .subtitle {
                font-size: 1.1rem;
            }
            
            .user-title {
                font-size: 1.2rem;
            }
        }