/* Contact Page - Exact Figma Design */

/* Hero Section */
.contact-hero {
    position: relative;
    
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-background-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('bg-2.png') repeat, #1d1f23;
    z-index: -1;
}

.contact-header-section {
    position: relative;
    z-index: 1;
}

.contact-page-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #838a91;
    margin-bottom: 56px;
    line-height: normal;
}

.contact-subtitle-image {
    margin-bottom: 0;
}

.contact-subtitle-image img {
    width: 100%;
    height: auto;
}

/* Main Contact Section */
.main-contact-section {
    
    padding: 80px 0 120px 0;
}

/* Contact Header */
.contact-header {
    margin-bottom: 80px;
}

.contact-headline {
    margin-bottom: 0;
}

.main-headline {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 32px;
    line-height: normal;
}

.headline-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #838a91;
    margin-bottom: 0;
    line-height: normal;
}

.sales-info {
    text-align: right;
    margin-bottom: 0;
}

.sales-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 32px;
    line-height: normal;
}

.sales-number {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 32px;
    color: #838a91;
    margin-bottom: 0;
    line-height: normal;
}

/* Contact Form Container */
.contact-form-container {
    margin-bottom: 120px;
}

.contact-form {
    margin: 0 auto;
}

/* Form Rows */
.form-row {
    display: flex;
    gap: 18px;
    margin-bottom: 164px;
}

.form-row.message-row {
    flex-direction: column;
    align-items: center;
    margin-bottom: 164px;
}

/* Form Fields */
.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.form-field.message-field {
    width: 390px;
}

/* Form Labels */
.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 0;
    line-height: normal;
}

/* Form Inputs */
.form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #838a91;
    padding: 0;
    padding-bottom: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-bottom-color: #8e61a5;
}

.form-input::placeholder {
    color: #838a91;
    opacity: 0.7;
}

.message-input {
    border-bottom: 1px solid #838a91;
    resize: none;
    min-height: 100px;
}

.message-input:focus {
    border-bottom-color: #8e61a5;
}

/* Submit Button */
.submit-container {
    display: flex;
    justify-content: center;
    margin-top: 164px;
}

.btn-submit {
    background: transparent;
    border: 1px solid #d2d2d2;
    border-radius: 250px;
    padding: 13px 61px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #8e61a5;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 239px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover {
    background: #8e61a5;
    color: #ffffff;
    border-color: #8e61a5;
}

/* Success Message */
.success-message {
    background: #f0f9ff;
    border: 2px solid #8e61a5;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-top: 24px;
    display: none;
}

.success-content i {
    font-size: 48px;
    color: #8e61a5;
    margin-bottom: 16px;
}

.success-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #1d1f23;
    margin-bottom: 8px;
    line-height: normal;
}

.success-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 24px;
}

/* Sales Section */
.sales-section {
    background: #ffffff;
    padding: 120px 0;
}

.sales-card {
    text-align: center;
    padding: 0 33px;
}

.sales-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 32px;
    color: #000000;
    margin-bottom: 32px;
    line-height: normal;
}

.sales-card-number {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 38px;
    color: #8e61a5;
    margin-bottom: 0;
    line-height: normal;
}

/* Footer Styles (inherited from other pages) */
.footer {
    
    color: #ffffff;
}

.footer-main {
    padding: 99px 0;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('bg-2.png') repeat, #1d1f23;
    z-index: -1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.footer-logo {
    height: 46px;
    width: 174px;
}

.footer-address {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #ffffff;
    line-height: normal;
}

.footer-address p {
    margin-bottom: 0;
    line-height: 21.373px;
}

.footer-contact {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    position: relative;
    padding-left: 29px;
}

.footer-contact::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #838a91;
}

.footer-contact h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 13px;
    width: min-content;
}

.footer-contact p {
    color: #838a91;
    margin-bottom: 13px;
    line-height: normal;
}

.footer-contact .email {
    color: #8e61a5;
}

.footer-about {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    position: relative;
    padding-left: 29px;
}

.footer-about::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #838a91;
}

.footer-about h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 13px;
    width: min-content;
}

.footer-about p {
    color: #838a91;
    line-height: normal;
    margin-bottom: 0;
}

.footer-bottom {
    background: #ffffff;
    padding: 45px 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.footer-links a {
    color: #8e61a5;
    text-decoration: none;
}

.footer-links span {
    color: #bcbdc0;
}

.footer-copyright {
    text-align: right;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #838a91;
}

.footer-copyright p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .form-row {
        flex-wrap: wrap;
        gap: 24px;
        margin-bottom: 80px;
    }
    
    .form-field {
        flex: 0 0 calc(50% - 12px);
    }
    
    .form-field.message-field {
        flex: 0 0 100%;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 991.98px) {
    .contact-hero {
        padding-top: 147px;
        padding-bottom: 60px;
    }
    
    .contact-page-title {
        font-size: 26px;
        margin-bottom: 40px;
    }
    
    .main-contact-section {
        padding: 60px 0 80px 0;
    }
    
    .contact-header {
        margin-bottom: 60px;
    }
    
    .main-headline {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .headline-description {
        font-size: 22px;
    }
    
    .sales-info {
        text-align: left;
        margin-top: 40px;
    }
    
    .sales-label {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .sales-number {
        font-size: 24px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 60px;
    }
    
    .form-field {
        flex: 0 0 100%;
    }
    
    .form-row.message-row {
        margin-bottom: 60px;
    }
    
    .submit-container {
        margin-top: 60px;
    }
    
    .sales-section {
        padding: 80px 0;
    }
    
    .sales-card-title {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .sales-card-number {
        font-size: 32px;
    }
    
    .footer-main {
        padding: 60px 0;
    }
    
    .footer-contact,
    .footer-about {
        margin-top: 30px;
        padding-left: 0;
    }
    
    .footer-contact::before,
    .footer-about::before {
        display: none;
    }
    
    .footer-copyright {
        text-align: left;
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        padding-top: 147px;
        padding-bottom: 40px;
    }
    
    .contact-page-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .main-contact-section {
        padding: 40px 0 60px 0;
    }
    
    .contact-header {
        margin-bottom: 40px;
    }
    
    .main-headline {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .headline-description {
        font-size: 22px;
    }
    
    .sales-label {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .sales-number {
        font-size: 22px;
    }
    
    .form-row {
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .form-label {
        font-size: 20px;
    }
    
    .form-input {
        font-size: 20px;
    }
    
    .btn-submit {
        font-size: 17px;
        padding: 10px 40px;
        min-width: 200px;
        height: 36px;
    }
    
    .form-row.message-row {
        margin-bottom: 40px;
    }
    
    .submit-container {
        margin-top: 40px;
    }
    
    .sales-section {
        padding: 60px 0;
    }
    
    .sales-card {
        padding: 0 20px;
    }
    
    .sales-card-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .sales-card-number {
        font-size: 28px;
    }
}

/* Dark theme overrides for existing elements */
body.contact-page {
    
}

.contact-page .header {
    
}

.contact-page .contact-link.active {
    color: #8e61a5;
}

.contact-page .contact-link.active::after {
    background: #8e61a5;
}

/* Form validation styles */
.form-input.error {
    border-bottom-color: #dc2626;
}

.field-error {
    color: #dc2626;
    font-size: 16px;
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
}

/* Loading state for submit button */
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit.loading {
    position: relative;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}