﻿.contact-body,
.contact-body * {
    box-sizing: border-box;
}

.contact-body {
    background: #ffffff;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
}

#main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 70px;
    width: 1334px;
    margin: 0 auto;
}

.left-section {
    padding: 30px;
    width: 400px;
    position: absolute;
    left: 0;
    top: 70px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 20;
}

    .left-section .roadmap {
        font-size: 16px;
        color: #333333;
        margin-left: 0;
    }

        .left-section .roadmap a {
            color: #333333;
            text-decoration: none;
            font-weight: 500;
            position: relative;
        }

            .left-section .roadmap a:hover {
                color: #dc3545;
            }

                .left-section .roadmap a:hover::after {
                    content: '';
                    position: absolute;
                    left: 0;
                    bottom: -3px;
                    width: 100%;
                    height: 2px;
                    background-color: #dc3545;
                }

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
    background: #f5f5f5;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    align-items: center;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

    .contact-header h2 {
        font-size: 28px;
        font-weight: 700;
        color: #333333;
        margin-bottom: 10px;
    }

    .contact-header p {
        font-size: 16px;
        color: #666666;
    }

.contact-details {
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
}

.contact-info {
    flex: 1;
    padding: 20px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #cccccc;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    color: #dc3545;
}

.info-support {
    margin-top: 70px;
}

.info-call {
    margin-top: 25px;
}

.info-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #dc3545;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: white;
}

.info-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

.info-item p {
    font-size: 14px;
    color: #666666;
    margin: 0 0 0 35px;
}

.contact-form {
    flex: 1;
    padding: 20px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #cccccc;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
}

    .form-group:first-child {
        margin-top: 0;
    }

    .form-group label {
        font-size: 14px;
        font-weight: 500;
        margin: 15px 0;
        color: #444444;
    }

    .form-group input,
    .form-group textarea {
        width: 440px;
        padding: 10px;
        border: 1px solid #cccccc;
        border-radius: 4px;
        font-size: 14px;
        color: #333333;
    }

    .form-group input {
        height: 40px;
    }

    .form-group textarea {
        resize: none;
        height: 120px;
    }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #999999;
        }

.form-submit {
    display: flex;
    justify-content: flex-start;
    margin-top: 5px;
}

.submit-btn {
    width: 440px;
    padding: 12px 0;
    margin-top: 15px;
    background: #dc3545;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    text-align: center;
    transition: background 0.3s ease;
}

    .submit-btn:hover {
        background: #c82333;
    }

#notification {
    display: none;
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #ffffff;
    border-radius: 5px;
}

@media (max-width: 750px) {
    #main-content {
        padding-top: 0;
        gap: 0;
        width: 100%;
    }

    .left-section {
        position: static;
        width: 100%;
        padding: 20px;
        left: auto;
        top: auto;
    }

    .contact-section {
        padding: 0;
        margin-top: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        border: none;
        background: transparent;
        gap: 20px;
    }

    .contact-container {
        padding: 0 5px;
        max-width: 100%;
    }

    .contact-header {
        margin-bottom: 0;
    }

        .contact-header h2 {
            font-size: 20px;
            margin-bottom: 15px;
        }

        .contact-header p {
            font-size: 12px;
        }

    .contact-details {
        flex-direction: column;
        gap: 15px;
    }

    .contact-info,
    .contact-form {
        min-width: 345px;
    }

    .info-item-spacing {
        margin-bottom: 0 !important;
    }

    .info-item {
        gap: 20px;
        margin-bottom: 30px;
    }

    .info-header,
    .info-support,
    .info-call {
        margin: 10px 0 0;
    }

    .info-item p {
        margin-left: 0;
    }

    .form-group input,
    .form-group textarea,
    .submit-btn {
        width: 100%;
    }

    .form-group label {
        margin: 10px 0;
    }

    .form-group input {
        height: 40px;
    }

    .form-group textarea {
        height: 100px;
    }

    .submit-btn {
        margin-top: 15px;
    }
}

@media (max-width: 375px) {
    .contact-container {
        padding: 0 5px;
    }

    .contact-header h2 {
        font-size: 20px;
    }

    .contact-header p {
        font-size: 12px;
    }

    .info-item h3 {
        font-size: 16px;
    }

    .info-item p {
        font-size: 12px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 12px;
        padding: 8px;
    }

    .submit-btn {
        font-size: 12px;
        padding: 10px 0;
    }
}
