.contacts-page {
    padding: 60px 0 80px;
    background-color: #f8fafd;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info, .contact-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(12, 77, 162, 0.1);
}

.contact-info h2, .contact-form h2 {
    color: #0c4da2;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: left;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f7ff;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: #0c4da2;
    min-width: 25px;
    margin-top: 3px;
    align-self: flex-start;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.contact-item h3 {
    color: #0c4da2;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.contact-item p {
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #0c4da2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-text {
    color: #555;
    font-size: 1.1rem;
}

.contact-text strong {
    color: #333;
    display: block;
    margin-bottom: 3px;
}

.map-container {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.privacy-policy {
    background: #f0f7ff;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0 30px 0;
    border-left: 4px solid #0c4da2;
}



.privacy-policy p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.privacy-policy a {
    color: #0c4da2;
    text-decoration: none;
    font-weight: 500;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1eaf5;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0c4da2;
    box-shadow: 0 0 0 3px rgba(12, 77, 162, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-control:focus {
    outline: none;
    border-color: #0c4da2;
    box-shadow: 0 0 0 3px rgba(12, 77, 162, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 1.6;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #0c4da2;
}

.checkbox-container input:focus ~ .checkmark {
    box-shadow: 0 0 0 3px rgba(12, 77, 162, 0.2);
    outline: none;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.privacy-text {
    color: #555;
}

.privacy-text a {
    color: #0c4da2;
    text-decoration: underline;
}

.privacy-text a:hover {
    color: #0a3d8a;
}

.error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    display: block;
    font-weight: 500;
    line-height: 1.4;
}

.btn {
    background: #0c4da2;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background: #0a3d8a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 77, 162, 0.3);
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 992px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-info, .contact-form {
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info, .contact-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contacts-page {
        padding: 20px 15px;
    }
    
    
    .contact-info, .contact-form {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-item i {
        font-size: 1.3rem;
        min-width: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .privacy-policy {
        margin: 20px 0 25px 0;
        padding: 20px;
    }
    
    .checkbox-container {
        font-size: 13px;
        padding-left: 30px;
        margin-bottom: 12px;
    }
    
    .checkmark {
        height: 18px;
        width: 18px;
    }
    
    .checkbox-container .checkmark:after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 10px;
    }
}

