/* styles/about_style.css */
.about-hero {
    text-align: center;
    padding: 80px 20px;
    background-color: #f8f8f8;
}

.about-hero h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-mission {
    padding: 60px 20px;
    background-color: #fff;
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-text {
    flex: 1;
    min-width: 300px;
}

.mission-image {
    flex: 1;
    min-width: 300px;
}

.mission-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-mission h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
}

.about-mission p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    background-color: #f1f1f1;
    text-align: center;
}

.stat-item {
    flex: 1;
    max-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: #555;
}

.about-plans {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.about-plans h2 {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.about-plans p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-plans ul {
    list-style: none;
    padding-left: 0;
}

.about-plans li {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.about-plans li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.call-to-action {
    text-align: center;
    padding: 60px 20px;
    background-color: #007bff;
    color: #fff;
    margin-bottom: 100px;
}

.call-to-action h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.call-to-action p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px;
}

.call-to-action .btn-secondary {
    background-color: #fff;
    color: #007bff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.call-to-action .btn-secondary:hover {
    background-color: #eee;
}

/* styles/about_style.css */

/* Модальное окно (Pop-up) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 600px;
    animation-name: animatetop;
    animation-duration: 0.4s;
    text-align: center;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Анимация для поп-апа */
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

/* Стили для формы внутри поп-апа */
#cv-form {
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group input[type="file"] {
    padding: 8px;
}
.form-group textarea{
    width: 100%;
    resize: none;
}
.btn-cv {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-cv:hover {
    background-color: #0056b3;
}

.message-container {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    display: none;
}

.message-container.success {
    background-color: #d4edda;
    color: #155724;
}

.message-container.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 15px;
        margin-top: 20px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .mission-content {
        flex-direction: column;
        gap: 20px;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .stat-number {
        font-size: 2.5rem;
    }
    .call-to-action{
        margin-bottom: 0;
    }
}