body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

@font-face {
    font-family: 'InvolveRegular'; 
    src: url(../fonts/Involve-Regular.ttf); 
}

.div1 {
	position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*background-color: red;*/
    padding: 0 20px;
    height: 100px;
    position: relative;
}

.logo_and_links {
    display: flex;
    align-items: center;
    gap: 80px;
}

.logo {
    width: 143px;
    height: 51px;
}

.nav-links {
    display: flex;
    gap: 80px;
    background-color: white;
}

.div1_text1 {
    font-family: InvolveRegular, Arial, sans-serif;
    color: black;
    margin: 0;
    font-size: 18px;
    transition: color 0.3s;
}

.div1_text1:hover {
    color: #702113;
}

a {
    text-decoration: none;
}






.right-images {
    display: flex;
    flex-direction: column;
    align-items: flex;
    gap: 2px;
    position: absolute;
    right: 50px;
    top: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.contact-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.8;
}

.right-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    object-fit: contain;
}

.icon-placeholder {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.contact-text {
    margin: 0;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    font-family: InvolveRegular;
}

.contact-email {
    font-family: InvolveRegular;
}




@media (max-width: 1100px) {
    .right-images {
        flex-direction: row;
        justify-content: flex-end; /* точное выравнивание по правому краю */
        gap: 10px; /* больше расстояние между иконками */
        right: 10px;
        top: 25px;
    }
    .contact-email{
        visibility: hidden;
    }
    
    .contact-item {
        margin-bottom: 0;
    }
    
    .contact-text {
        display: none;
    }
    
    .right-icon {
        top: 25px;
       width: 50px;
        height: 50px;
    }
    
    .right-icon:hover,
    .icon-placeholder:hover {
        transform: scale(1.1); /* легкое увеличение при наведении */
    }
    
    /* Скрываем плейсхолдер для email и оставляем только текст */
    .contact-item:last-child .icon-placeholder {
        display: none;
    }
    
    
}

/* Адаптация для планшетов (900px и меньше) */
@media (max-width: 900px) {
    .right-images {
        right: 25px;
        top: 25px;
        gap: 18px;
    }
    .contact-email{
        visibility: hidden;
    }
    
    .right-icon,
    .icon-placeholder {
        width: 26px;
        height: 26px;
    }
    
    .contact-item:last-child .contact-text {
        font-size: 12px;
        padding: 5px 10px;
    }
}






/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: black;
    transition: all 0.3s;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .logo_and_links {
        gap: 40px;
    }
    
    .nav-links {
        gap: 40px;
    }
    
    .right-images {
        gap: 15px;
    }
    
    .right-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        /*background-color: red;*/
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }
    
    .right-images {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 480px) {
    .div1 {
        padding: 0 15px;
    }
    
    .logo {
        width: 120px;
        height: 43px;
    }
    
    .logo_and_links {
        gap: 20px;
    }
}





















.div2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin-left: 100px;
    padding: 0 20px;
}

.div2_text {
    color: #972727;
    font-size: 50px;
    font-weight: bold;
    font-family: InvolveRegular, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 200px;
}

.div2_img {
    width: 100px; /* Маленькая картинка */
    height: 100px;
    border-radius: 10px;
    margin-right: 100px;
    flex-shrink: 0;
    transform: scaleX(-1);
}

/* Адаптация для больших экранов (1600px и больше) */
@media (min-width: 1600px) {
    .div2 {
        max-width: 1400px;
    }
    
    .div2_text {
        font-size: 46px;
        margin-left: 120px;
    }
    
    .div2_img {
        width: 200px;
        height: 140px;
        margin-right: 120px;
    }
}

/* Адаптация для планшетов (1024px и меньше) */
@media (max-width: 1024px) {
    .div2 {
        max-width: 1000px;
        margin: 35px auto;
    }
    
    .div2_text {
        font-size: 34px;
        margin-left: 70px;
    }
    
    .div2_img {
        width: 150px;
        height: 100px;
        margin-right: 70px;
    }
}

/* Адаптация для средних устройств (768px и меньше) */
@media (max-width: 768px) {
    .div2 {
        max-width: 900px;
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .div2_text {
        font-size: 28px;
        margin-left: 50px;
        min-width: 150px;
    }
    
    .div2_img {
        width: 120px;
        height: 80px;
        margin-right: 50px;
        border-radius: 8px;
    }
}

/* Адаптация для мобильных устройств (480px и меньше) */
@media (max-width: 480px) {
    .div2 {
        margin: 25px auto;
        padding: 0 10px;
    }
    
    .div2_text {
        font-size: 22px;
        margin-left: 30px;
        min-width: 120px;
    }
    
    .div2_img {
        width: 90px;
        height: 60px;
        margin-right: 30px;
        border-radius: 6px;
        border-width: 1px;
    }
}

/* Адаптация для очень маленьких экранов (360px и меньше) */
@media (max-width: 360px) {
    .div2 {
        margin: 20px auto;
        padding: 0 8px;
    }
    
    .div2_text {
        font-size: 20px;
        margin-left: 20px;
        min-width: 100px;
        letter-spacing: 0.5px;
    }
    
    .div2_img {
        width: 70px;
        height: 50px;
        margin-right: 20px;
        border-radius: 5px;
    }
}

/* Адаптация для экстремально узких экранов (320px и меньше) */
@media (max-width: 320px) {
    .div2_text {
        font-size: 18px;
        margin-left: 15px;
    }
    
    .div2_img {
        width: 60px;
        height: 40px;
        margin-right: 15px;
    }
}



















.head_text {
    text-align: left;
    margin-left: 100px;
    padding: 25px 25px 25px 0;
    font-size: 20px;
    line-height: 1.6;
    margin-top: -30px;
    color: #2c3e50;
    font-family: InvolveRegular, sans-serif;
    max-width: 1200px;
    font-weight: 400;
}

/* Адаптация для планшетов (1024px и меньше) */
@media (max-width: 1024px) {
    .head_text {
        margin-left: 80px;
        margin: 35px 0 35px 80px;
        font-size: 19px;
        max-width: 900px;
        line-height: 1.5;
    }
}

/* Адаптация для средних устройств (768px и меньше) */
@media (max-width: 768px) {
    .head_text {
        margin-left: 60px;
        margin: 30px 0 30px 60px;
        font-size: 18px;
        max-width: 800px;
        padding: 20px 20px 20px 0;
    }
}

/* Адаптация для мобильных устройств (480px и меньше) */
@media (max-width: 480px) {
    .head_text {
        margin-left: 40px;
        margin: 25px 0 25px 40px;
        font-size: 17px;
        max-width: 100%;
        line-height: 1.5;
        padding: 15px 15px 15px 0;
    }
}

/* Адаптация для маленьких мобильных (360px и меньше) */
@media (max-width: 360px) {
    .head_text {
        margin-left: 30px;
        margin: 20px 0 20px 30px;
        font-size: 16px;
        line-height: 1.4;
        padding: 12px 12px 12px 0;
    }
}

/* Адаптация для очень маленьких экранов (320px и меньше) */
@media (max-width: 320px) {
    .head_text {
        margin-left: 20px;
        margin: 15px 0 15px 20px;
        font-size: 15px;
        padding: 10px 10px 10px 0;
    }
}






















.video-lessons {
    max-width: 900px;
    margin: 60px auto;
    padding: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    border: 3px solid #D9C07C;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    font-family: InvolveRegular, sans-serif;
}

.video-title {
    color: #972727;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #D9C07C;
}

.video-description {
    font-size: 19px;
    line-height: 1.7;
    color: #2c3e50;
    margin-bottom: 35px;
    text-align: center;
    padding: 0 20px;
}

.course-title {
    color: #972727;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #D9C07C;
    display: inline-block;
}

.course-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.course-item {
    position: relative;
    padding: 18px 0 18px 50px;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
    color: #2c3e50;
    background: rgba(217, 192, 124, 0.1);
    border-radius: 12px;
    border-left: 4px solid #D9C07C;
}

.course-item:last-child {
    margin-bottom: 0;
}

.course-item::before {
    content: "🎬";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
}

/* Адаптация для планшетов (1024px и меньше) */
@media (max-width: 1024px) {
    .video-lessons {
        max-width: 800px;
        margin: 50px auto;
        padding: 40px;
    }
    
    .video-title {
        font-size: 28px;
        margin-bottom: 22px;
    }
    
    .video-description {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .course-title {
        font-size: 24px;
        margin-bottom: 22px;
    }
    
    .course-item {
        font-size: 17px;
        padding-left: 45px;
        margin-bottom: 18px;
    }
    
    .course-item::before {
        font-size: 20px;
        left: 13px;
    }
}

/* Адаптация для мобильных устройств (768px и меньше) */
@media (max-width: 768px) {
    .video-lessons {
        max-width: 90%;
        margin: 40px auto;
        padding: 30px;
    }
    
    .video-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .video-description {
        font-size: 17px;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .course-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .course-item {
        font-size: 16px;
        padding-left: 40px;
        margin-bottom: 16px;
        line-height: 1.5;
    }
    
    .course-item::before {
        font-size: 18px;
        left: 12px;
    }
}

/* Адаптация для маленьких мобильных (480px и меньше) */
@media (max-width: 480px) {
    .video-lessons {
        max-width: 95%;
        margin: 30px auto;
        padding: 25px;
    }
    
    .video-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .video-description {
        font-size: 16px;
        margin-bottom: 22px;
        padding: 0;
    }
    
    .course-title {
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .course-item {
        font-size: 15px;
        padding-left: 35px;
        margin-bottom: 14px;
    }
    
    .course-item::before {
        font-size: 16px;
        left: 10px;
    }
}











.buy-course {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    text-align: center;
    border: 1px solid black;
    color: white;
}

.buy-title {
    font-size: 36px;
    font-weight: 700;
    font-family: InvolveRegular, sans-serif;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #972727;
}
.buy-description {
    font-size: 20px;
    line-height: 1.6;
    font-family: InvolveRegular, sans-serif;
    margin: 0;
    opacity: 0.95;
    font-weight: 400;
    color: black;
}

.buy-button {
    background: #D9C07C;
    color: #972727;
    border: none;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    margin-top: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: InvolveRegular, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Адаптация для планшетов (1024px и меньше) */
@media (max-width: 1024px) {
    .buy-course {
        max-width: 550px;
        margin: 50px auto;
        padding: 35px;
    }
    
    .buy-title {
        font-size: 32px;
        margin-bottom: 22px;
    }
    
    .buy-description {
        font-size: 19px;
    }
}

/* Адаптация для мобильных устройств (768px и меньше) */
@media (max-width: 768px) {
    .buy-course {
        max-width: 85%;
        margin: 40px auto;
        padding: 30px;
    }
    
    .buy-title {
        font-size: 28px;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }
    
    .buy-description {
        font-size: 18px;
        line-height: 1.5;
    }
}

/* Адаптация для маленьких мобильных (480px и меньше) */
@media (max-width: 480px) {
    .buy-course {
        max-width: 90%;
        margin: 30px auto;
        padding: 25px;
    }
    
    .buy-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .buy-description {
        font-size: 16px;
        line-height: 1.4;
    }
}

/* Адаптация для очень маленьких экранов (360px и меньше) */
@media (max-width: 360px) {
    .buy-course {
        padding: 20px;
        margin: 25px auto;
    }
    
    .buy-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .buy-description {
        font-size: 15px;
    }
}





















.container {
    max-width: 1000px;
    width: 100%;
    padding: 20px;
    margin-left: 100px;
}

.div3 {
    overflow: hidden;
    margin-bottom: 90px;
}

.div3_head {
    color: #972727;
    font-family: InvolveRegular;
    padding: 20px 25px;
    font-size: 30px;
    font-weight: 600;
    margin: 0;
}

.div3_stick {
    border-left: 6px solid #972727;
    padding: 25px 30px;
    margin: 0;
}

.div3_text {
    font-size: 18px;
    margin-bottom: 20px;
    font-family: InvolveRegular;
    line-height: 1.7;
    color: #2c3e50;
}

.div3_text1 {
    font-size: 17px;
    margin-left: 40px;
    font-family: InvolveRegular;
    margin-bottom: 12px;
    padding-left: 15px;
    line-height: 1.6;
    color: #34495e;
    position: relative;
}

.div3_text1:before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #972727;
    border-radius: 50%;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .container {
        margin-left: 50px;
        padding: 15px;
    }
    
    .div3 {
        margin-bottom: 70px;
    }
    
    .div3_head {
        font-size: 26px;
        padding: 18px 20px;
    }
    
    .div3_stick {
        padding: 20px 25px;
        border-left-width: 5px;
    }
    
    .div3_text {
        font-size: 17px;
        margin-bottom: 18px;
    }
    
    .div3_text1 {
        font-size: 16px;
        margin-left: 30px;
        padding-left: 12px;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .container {
        margin-left: 0;
        padding: 15px;
        max-width: 100%;
    }
    
    .div3 {
        margin-bottom: 50px;
    }
    
    .div3_head {
        font-size: 22px;
        padding: 15px;
        text-align: center;
    }
    
    .div3_stick {
        padding: 15px 20px;
        border-left-width: 4px;
        margin: 0 10px;
    }
    
    .div3_text {
        font-size: 16px;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .div3_text1 {
        font-size: 15px;
        margin-left: 20px;
        margin-bottom: 10px;
        padding-left: 10px;
        line-height: 1.5;
    }
    
    .div3_text1:before {
        left: -8px;
        width: 5px;
        height: 5px;
    }
}

/* Адаптивность для маленьких мобильных устройств */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .div3 {
        margin-bottom: 40px;
    }
    
    .div3_head {
        font-size: 20px;
        padding: 12px;
    }
    
    .div3_stick {
        padding: 12px 15px;
        border-left-width: 3px;
        margin: 0 5px;
    }
    
    .div3_text {
        font-size: 15px;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .div3_text1 {
        font-size: 14px;
        margin-left: 15px;
        padding-left: 8px;
    }
    
    .div3_text1:before {
        left: -6px;
        width: 4px;
        height: 4px;
    }
}

/* Дополнительные медиа-запросы для очень больших экранов */
@media (min-width: 1600px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

























.programs-container {
    margin: 50px auto;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 100px;
    margin-top: -50px;
}

.programs-title {
    font-size: 42px;
    font-weight: bold;
    color: #972727;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-family: InvolveRegular, sans-serif;
    display: inline-block;
}

.programs-list {
    list-style: none;
    counter-reset: program-counter;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
    text-align: left;
}

.programs-list li {
    counter-increment: program-counter;
    margin-bottom: 20px;
    padding: 20px 25px 20px 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 5px solid #D9C07C;
    font-family: InvolveRegular, sans-serif;
    font-size: 22px;
    line-height: 1.7;
    color: #2c3e50;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.programs-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.programs-list li::before {
    content: counter(program-counter);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #D9C07C;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Адаптация для планшетов (1024px и меньше) */
@media (max-width: 1024px) {
    .programs-container {
        max-width: 800px;
        margin: 40px auto;
    }
    
    .programs-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .programs-list li {
        font-size: 20px;
        padding: 18px 22px 18px 70px;
        margin-bottom: 18px;
    }
    
    .programs-list li::before {
        width: 35px;
        height: 35px;
        font-size: 18px;
        left: 22px;
    }
}

/* Адаптация для мобильных устройств (768px и меньше) */
@media (max-width: 768px) {
    .programs-container {
        max-width: 100%;
        padding: 0 15px;
        margin: 35px auto;
    }
    
    .programs-title {
        font-size: 26px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .programs-list {
        max-width: 100%;
    }
    
    .programs-list li {
        font-size: 18px;
        padding: 16px 20px 16px 60px;
        margin-bottom: 16px;
        line-height: 1.6;
    }
    
    .programs-list li::before {
        width: 32px;
        height: 32px;
        font-size: 16px;
        left: 18px;
    }
}

/* Адаптация для маленьких мобильных (480px и меньше) */
@media (max-width: 480px) {
    .programs-container {
        padding: 0 10px;
        margin: 30px auto;
    }
    
    .programs-title {
        font-size: 24px;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }
    
    .programs-list li {
        font-size: 16px;
        padding: 14px 16px 14px 50px;
        margin-bottom: 14px;
        line-height: 1.5;
    }
    
    .programs-list li::before {
        width: 28px;
        height: 28px;
        font-size: 14px;
        left: 14px;
    }
}

/* Адаптация для очень маленьких экранов (360px и меньше) */
@media (max-width: 360px) {
    .programs-list li {
        font-size: 15px;
        padding: 12px 14px 12px 45px;
        margin-bottom: 12px;
    }
    
    .programs-list li::before {
        width: 25px;
        height: 25px;
        font-size: 13px;
        left: 12px;
    }
}



















.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    padding: 0 20px;
}

.next {
    background: linear-gradient(135deg, #972727 0%, #7a1f1f 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 18px;
    font-family: InvolveRegular, sans-serif;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(151, 39, 39, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 280px;
    text-align: center;
}

.next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(151, 39, 39, 0.4);
    background: linear-gradient(135deg, #a82d2d 0%, #852222 100%);
}

.next:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(151, 39, 39, 0.3);
}

.next:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.next:hover:before {
    left: 100%;
}

/* Адаптивность для кнопки */
@media (max-width: 768px) {
    .button-container {
        margin: 30px 0;
    }
    
    .next {
        padding: 16px 28px;
        font-size: 16px;
        min-width: 250px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .button-container {
        margin: 25px 0;
        padding: 0 15px;
    }
    
    .next {
        padding: 14px 24px;
        font-size: 15px;
        min-width: 220px;
        border-radius: 8px;
        width: 100%;
        max-width: 300px;
    }
}


























a{
    text-decoration: none;
    color: white;
}









.application-section {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
    padding: 20px;
}

.application-info {
    background-color: #f0f0f0;
    width: 45%;
    height: 300px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.application-buttons {
    background-color: #f0f0f0;
    width: 45%;
    height: 300px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    box-sizing: border-box;
}

.application-title {
    font-size: 35px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    font-family: InvolveRegular;
}

.application-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    line-height: 1.4;
    font-family: InvolveRegular;
}

.btn-primary {
    background-color: #972727;
    color: white;
    border: none;
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: InvolveRegular;
    min-width: 160px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: white;
    border: 1px solid #972727;
    color: #972727;
}

.btn-outline {
    background-color: white;
    border: 2px solid #972727;
    padding: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background-color: #fff0f0;
}

.btn-icon {
    width: 35px;
    height: 35px;
    display: block;
}

/* Адаптация для планшетов */
@media (max-width: 1024px) {
    .application-section {
        gap: 30px;
        padding: 15px;
    }
    
    .application-info,
    .application-buttons {
        width: 48%;
        height: 280px;
    }
    
    .application-title {
        font-size: 28px;
    }
    
    .btn-primary {
        padding: 18px 25px;
        font-size: 16px;
        height: 65px;
        min-width: 140px;
    }
    
    .btn-outline {
        width: 65px;
        height: 65px;
    }
    
    .btn-icon {
        width: 30px;
        height: 30px;
    }
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .application-section {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }
    
    .application-info,
    .application-buttons {
        width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .application-info {
        padding: 30px 20px;
    }
    
    .application-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 30px 20px;
    }
    
    .application-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .application-subtitle {
        font-size: 14px;
    }
    
    .btn-primary {
        width: 100%;
        max-width: 280px;
        height: 60px;
        font-size: 16px;
        min-width: auto;
    }
    
    .btn-outline {
        width: 60px;
        height: 60px;
    }
    
    .btn-icon {
        width: 28px;
        height: 28px;
    }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
    .application-section {
        padding: 10px;
        gap: 15px;
    }
    
    .application-info,
    .application-buttons {
        min-height: 180px;
        border-radius: 12px;
    }
    
    .application-title {
        font-size: 20px;
    }
    
    .application-subtitle {
        font-size: 13px;
    }
    
    .btn-primary {
        height: 55px;
        font-size: 15px;
        border-radius: 8px;
    }
    
    .btn-outline {
        width: 55px;
        height: 55px;
        border-radius: 8px;
    }
    
    .btn-icon {
        width: 25px;
        height: 25px;
    }
}


















.div10 {
    background-color: #972727;
    color: white;
    padding: 40px 20px 30px 20px; 
    font-family: InvolveRegular;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

.up {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px; /* Увеличил отступ снизу */
    flex-wrap: wrap;
    gap: 25px;
}

.up img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.div10_text {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.div10 a{
    text-decoration: none;
    color: white;
}
.div10_text p {
    margin: 0;
    font-size: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.div10_text p:hover {
    opacity: 0.8;
}

/* Новый контейнер для центрирования контактов */
.contact-center {
    display: flex;
    justify-content: center;
    margin: -40px 0 30px 0; /* Поднял контакты выше */
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 25px; /* Увеличил расстояние между иконками */
    align-items: center;
    margin: 10px 0;
}

.social-icons img {
    width: 45px; /* Увеличил размер иконок */
    height: 45px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.phone-number {
    margin: 0;
    font-size: 24px !important; /* Крупный размер телефона */
    font-weight: 600 !important;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact-links p {
    margin: 0;
    font-size: 18px; /* Увеличил размер текста контактов */
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.down {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
    margin-top: auto;
}

.down p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .div10 {
        padding: 30px 15px 25px 15px;
        min-height: 250px;
    }
    
    .up {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        align-items: center;
        margin-bottom: 25px;
    }
    
    .div10_text {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .div10_text p {
        font-size: 18px;
    }
    
    .contact-center {
        margin: 15px 0 30px 0;
    }
    
    .phone-number {
        font-size: 22px !important;
    }
    
    .contact-links p {
        font-size: 16px;
    }
    
    .up img {
        width: 70px;
        height: 70px;
    }
    
    .social-icons {
        gap: 20px;
    }
    
    .social-icons img {
        width: 40px;
        height: 40px;
    }
    
    .down {
        text-align: center;
        padding-top: 20px;
    }
    
    .down p {
        font-size: 14px;
    }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
    .div10 {
        padding: 25px 10px 20px 10px;
        min-height: 220px;
    }
    
    .div10_text p {
        font-size: 16px;
    }
    
    .phone-number {
        font-size: 20px !important;
    }
    
    .contact-links p {
        font-size: 14px;
    }
    
    .down p {
        font-size: 13px;
    }
    
    .up img {
        width: 60px;
        height: 60px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icons img {
        width: 35px;
        height: 35px;
    }
}

















/* Модальное окно */
/* Модальное окно */
.modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto; /* Разрешаем прокрутку */
    padding: 20px 0; /* Отступы для мобильных устройств */
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content0 {
    background-color: white;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh; /* Ограничиваем высоту */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    margin: auto;
    overflow-y: auto; /* Включаем прокрутку внутри контента */
    overflow-x: hidden; /* Скрываем горизонтальную прокрутку */
    -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
}

/* Стили для скроллбара */
.modal-content0::-webkit-scrollbar {
    width: 6px;
}

.modal-content0::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-content0::-webkit-scrollbar-thumb {
    background: #972727;
    border-radius: 3px;
}

.modal-content0::-webkit-scrollbar-thumb:hover {
    background: #7a1f1f;
}

.modal.show .modal-content0 {
    transform: translateY(0);
}

.modal-content0 h2 {
    margin-bottom: 25px;
    color: #333;
    text-align: center;
    font-size: 24px;
    position: sticky;
    top: 0;
    background: white;
    padding-bottom: 15px;
    z-index: 10;
    border-bottom: 2px solid #f0f0f0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #972727;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
    position: sticky;
    bottom: 0;
    background: white;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.modal-buttons button {
    padding: 14px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    flex: 1;
}

.submit-btn {
    background-color: #972727;
    color: white;
}

.submit-btn:hover {
    background-color: #7a1f1f;
    transform: translateY(-2px);
}

.cancel-btn {
    background-color: #f1f1f1;
    color: #333;
}

.cancel-btn:hover {
    background-color: #ddd;
    transform: translateY(-2px);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 20; /* Повышаем z-index чтобы была поверх всего */
}

.modal-close:hover {
    color: #333;
}

.send-method-buttons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    flex-wrap: wrap; /* Для мобильных устройств */
}

.send-method-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 80px; /* Минимальная ширина кнопок */
}

.send-method-btn:hover {
    transform: translateY(-2px);
}

.send-method-btn.whatsapp.active {
    border-color: #25D366;
    background-color: #25D366;
    color: white;
}

.send-method-btn.telegram.active {
    border-color: #0088cc;
    background-color: #0088cc;
    color: white;
}

.send-method-btn.email.active {
    border-color: #EA4335;
    background-color: #EA4335;
    color: white;
}

.send-method-btn.active {
    font-weight: bold;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
    .modal-content0 {
        padding: 20px;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-content0 h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .send-method-buttons {
        flex-direction: column;
    }
    
    .send-method-btn {
        width: 100%;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 24px;
    }
}

/* Анимация появления и скрытия */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
}

.modal.show .modal-content0 {
    animation: modalSlideIn 0.3s ease forwards;
}

.modal:not(.show) .modal-content0 {
    animation: modalSlideOut 0.3s ease forwards;
}

/* Предотвращение прокрутки body когда модальное окно открыто */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}