/*
////////////////////////////////////////////////////////////
// Contact Page Styles
////////////////////////////////////////////////////////////
*/

.contact-page-container {
    margin-top: var(--header-height);
    padding-top: 60px;
}

.contact-hero {
    background-color: var(--grey-background);
    padding: 60px 20px;
    text-align: center;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    margin-top: 0;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-form-section {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.form-container {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.required {
    color: var(--accent-color);
    font-weight: 700;
}

.form-input,
.form-textarea {
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Inter Tight', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(230, 34, 0, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    color: var(--accent-color);
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.form-error:not(:empty) {
    display: block;
}

.captcha-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.g-recaptcha {
    transform: scale(1);
    transform-origin: 0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-submit {
    flex: 1;
    padding: 14px 30px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #d41c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 34, 0, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-cancel {
    flex: 1;
    padding: 14px 30px;
    background-color: #f0f0f0;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cancel:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.contact-info {
    flex: 0 1 300px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 30px;
}

.contact-info-block {
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--grey-background);
    border-radius: 10px;
}

.contact-info-block h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--primary-color);
}

.contact-info-block a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.contact-info-block a:hover {
    text-decoration: underline;
}

.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-error {
    background-color: #fee;
    border: 2px solid var(--accent-color);
    color: var(--primary-color);
}

.alert-error p {
    margin: 0 0 10px 0;
    font-weight: 600;
}

.alert-error ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.alert-error li {
    margin-bottom: 5px;
    font-size: 14px;
    border: none;
    counter-increment: none;
}

.alert-error li::before {
    content: "";
    display: none;
}

/* Success Page */
.success-section {
    min-height: calc(100vh - var(--header-height) - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.success-content {
    max-width: 600px;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: var(--grey-background);
    border-radius: 50%;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.success-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 0;
}

.success-message {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.success-details {
    font-size: 18px;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 40px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d41c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 34, 0, 0.3);
}

/* Media Queries */

/* Media Queries */
@media (max-width: 768px) {
    .contact-page-container {
        padding-top: 40px;
    }

    .contact-hero {
        padding: 40px 20px;
    }

    .contact-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .contact-form-section {
        flex-direction: column;
        gap: 40px;
        margin: 40px auto;
    }

    .form-container {
        padding: 25px;
    }

    .contact-form {
        gap: 20px;
    }

    .form-label {
        font-size: 15px;
    }

    .form-input,
    .form-textarea {
        padding: 10px 12px;
        font-size: 15px;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
    }

    .contact-info h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .contact-info-block {
        padding: 15px;
        margin-bottom: 20px;
    }

    .contact-info-block h4 {
        margin-bottom: 8px;
        font-size: 16px;
    }

    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 0 15px;
    }

    .form-container {
        padding: 20px;
    }

    .form-label {
        font-size: 14px;
    }

    .contact-title {
        font-size: 28px;
    }

    .form-input,
    .form-textarea {
        font-size: 14px;
    }

    .g-recaptcha {
        transform: scale(0.75);
        transform-origin: 0;
    }
}

