/* Contact Page Styles */
.contact-page-section {
    width: 100%;
    min-height: calc(100vh - 200px);
    padding: 20px 20px;
    padding-bottom: 100px;
    font-family: 'Agrandir', sans-serif;
    position: relative;
    overflow-x: hidden;
    box-sizing: border-box;
}

.contact-page-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header Section */
.contact-page-header {
    background: linear-gradient(135deg, #0c463d 0%, #0a3a32 100%);
    border-radius: 28px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 20px 60px rgba(12, 70, 61, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(235, 244, 214, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-page-title {
    font-size: 48px;
    font-weight: normal;
    margin: 0 0 16px;
    color: #ffffff;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.contact-page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Wrapper */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Image Section */
.contact-page-image {
    position: sticky;
    top: 100px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.contact-page-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: contain;
}

/* Form Wrapper */
.contact-page-form-wrapper {
    background: #ffffff;
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(12, 70, 61, 0.1);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
}

.form-progress {
    width: 100%;
    height: 4px;
    background-color: #e8e8e8;
    border-radius: 2px;
    margin-bottom: 32px;
    overflow: hidden;
}

.form-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0c463d, #0a3a32);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 33.33%;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: normal;
    color: #0c463d;
    margin-bottom: 8px;
    font-family: 'Agrandir', sans-serif;
}

.required {
    color: #ff4a11;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Agrandir', sans-serif;
    color: #0c463d;
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0c463d;
    box-shadow: 0 0 0 3px rgba(12, 70, 61, 0.1);
}

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

.char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Agrandir', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #0c463d;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0a3a32;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 70, 61, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #f7f6f1;
    color: #0c463d;
    border: 2px solid #e8e8e8;
}

.btn-secondary:hover {
    background: #ebf4d6;
    border-color: #0c463d;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success/Error Messages */
.form-success,
.form-error {
    text-align: center;
    padding: 40px 20px;
    border-radius: 16px;
    animation: fadeIn 0.3s ease;
}

.form-success {
    background: #f0f9f4;
    border: 2px solid #4caf50;
}

.form-error {
    background: #fff5f5;
    border: 2px solid #ff4a11;
}

.success-icon,
.error-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.success-icon {
    background: #4caf50;
    color: #ffffff;
}

.error-icon {
    background: #ff4a11;
    color: #ffffff;
}

.form-success h3,
.form-error h3 {
    font-size: 24px;
    font-weight: normal;
    color: #0c463d;
    margin: 0 0 12px;
}

.form-success p,
.form-error p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* reCAPTCHA */
.g-recaptcha {
    margin: 20px 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .contact-page-wrapper {
        gap: 40px;
    }

    .contact-page-form-wrapper {
        padding: 40px;
    }
}

@media (max-width: 992px) {
    .contact-page-section {
        padding: 60px 16px;
    }

    .contact-page-header {
        padding: 48px 32px;
        margin-bottom: 40px;
    }

    .contact-page-title {
        font-size: 40px;
    }

    .contact-page-subtitle {
        font-size: 18px;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-page-image {
        position: relative;
        top: 0;
        max-width: 600px;
        margin: 0 auto;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-page-section {
        padding: 0;
        min-height: auto;
        background: #f7f6f1;
    }

    .contact-page-container {
        padding: 0;
    }

    .contact-page-header {
        border-radius: 0;
        padding: 48px 24px 40px;
        margin-bottom: 0;
    }

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

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

    .contact-page-wrapper {
        gap: 0;
    }

    .contact-page-image {
        display: none;
    }

    .contact-page-form-wrapper {
        border-radius: 0;
        padding: 32px 20px 40px;
        box-shadow: none;
        border: none;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 16px;
        font-size: 16px;
    }

    .form-actions {
        flex-direction: column;
        margin-top: 24px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
        margin-left: -7.5%;
    }
}

@media (max-width: 480px) {
    .contact-page-header {
        padding: 40px 20px 32px;
    }

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

    .contact-page-subtitle {
        font-size: 15px;
    }

    .contact-page-form-wrapper {
        padding: 24px 16px 32px;
    }

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

    .g-recaptcha {
        transform: scale(0.75);
        margin-left: -12.5%;
    }
}

