body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f5f5;
}

.bannernepo {
    background-image: url('../img/nepo.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 80px;
}

.banner-content {
    max-width: 800px;
    padding: 0 20px;
}

.titlenepo {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1a252f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.containerspeaker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.quote-box {
    flex: 1;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-right: 40px;
}

.quote-box p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #2c3e50;
    font-style: italic;
}

.author-image-container {
    flex: 0 0 300px;
    text-align: center;
}

.author-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.author-name {
    font-size: 1.2rem;
    margin-top: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.block_kon {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 0 20px;
    justify-content: center;
}


.form {
    flex: 1;
    background-color: #292824;
    color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 2;
    max-width: 700px;
}

.title h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 3px;
    background: #646560;
}

.form-content {
    margin-bottom: 30px;
}

.info, .info2, .info1 {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.info {
    height: 120px;
    resize: vertical;
}

.mal {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.mal .form-group {
    flex: 1;
}

.btn-top {
    background-color: #646560;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.btn-top:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@media (max-width: 1200px) {
    .containerspeaker {
        flex-direction: column;
    }

    .quote-box {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .block_kon {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .titlenepo {
        font-size: 2.5rem;
    }

    .quote-box p {
        font-size: 1.2rem;
    }

    .mal {
        flex-direction: column;
        gap: 15px;
    }

    .form {
        padding: 25px;
    }
}

.btnzajavka{
    display: flex;
    justify-content: center;
}


