/**
 * Styles for the About Us (О компании) page
 * Replicating form styles from garantiya.css and content from o-kompanii.png
 */

.about-page {
    background-color: #fff;
    color: #242424;
    font-family: 'Roboto', sans-serif;
    padding-bottom: 80px;
}

.about-page-container {
    max-width: 1300px !important;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.about-page h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
    color: #242424;
}

/* Content Section */
.about-content {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #444;
}

/* Subscription / Social Section Above Form */
.about-subscription {
    text-align: center;
    margin-bottom: 40px;
}

.about-subscription p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #242424;
}

.social-icons-dark {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons-dark img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.social-icons-dark a:hover img {
    transform: translateY(-3px);
}

/* Form Styling - Replicated from Garantiya */
.about-form-wrap {
    padding: 20px 0;
}

.about-form-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #f6f6f6;
    /* Light grey as per screenshot */
    padding: 50px 40px;
    border-radius: 20px;
    box-sizing: border-box;
}

/* CF7 Custom Layout */
.cf_kredit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: left;
}

.cf_kredit_item {
    flex: 1;
    min-width: 200px;
}

.input_credit {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
}

.submit_credit {
    background-color: #333 !important;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px 30px !important;
    border: none !important;
    cursor: pointer;
    width: 100%;
}

/* Messenger text */
.messenger-text {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #777;
}

/* Social icons mini inside form */
.about-form-container .social-icons-mini {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .cf_kredit_item p {
        margin: 0;
    }

    .cf_kredit {
        gap: 0;
    }
}

@media (max-width: 768px) {
    .about-page h1 {
        font-size: 28px;
    }

    .about-form-container {
        padding: 30px 20px;
    }
}