/* Contact Us Page Styles */

.contact-page {
    background: var(--White);
}

/* Hero Section */
.contact-hero-section {
    position: relative;
    width: 100%;
    min-height: 774px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    padding-top: 135px;
}

.hero-blur {
    position: absolute;
    width: 467px;
    height: 467px;
    border-radius: 50%;
    background: var(--Blue-main);
    opacity: 0.65;
    filter: blur(255.2px);
    top: -67px;
    left: 486px;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration {
    position: absolute;
    background: var(--Blue-main);
    opacity: 0.4;
}

.decoration-1 {
    width: 72px;
    height: 80px;
    border-radius: 20px;
    transform: rotate(25deg);
    top: 498px;
    left: 105px;
}

.decoration-2 {
    width: 85px;
    height: 95px;
    border-radius: 25px;
    transform: rotate(-15deg);
    top: 64px;
    left: 370px;
}

.decoration-3 {
    width: 72px;
    height: 80px;
    border-radius: 20px;
    transform: rotate(25deg);
    top: 289px;
    right: 132px;
}

.hero-image-container {
    margin: 50px auto;
    max-width: 1280px;
    width: 100%;
    height: 498px;
    border-radius: 68px;
    overflow: hidden;
    border: 11px solid var(--White);
    filter: drop-shadow(-11px -13px 18px rgba(0, 0, 0, 0.06));
    background: url('../images/crm/crm-home-bg.png') lightgray 50% / cover no-repeat;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.63) 0%, rgba(0, 0, 0, 0.63) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-family: 'Sora', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: var(--White);
    margin: 0 0 12px 0;
    line-height: normal;
}

.hero-subtitle {
    font-family: 'Sora', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 40px;
    color: var(--White);
    margin: 0;
    line-height: normal;
}

/* Contact Form Section */
.contact-form-section {
    padding: 0 80px;
    position: relative;
    margin-bottom: 50px;
    z-index: 20;
}

.contact-form-container {
    max-width: 1280px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--White-grey);
    border-radius: 68px;
    padding: 60px;
    max-width: 1440px;
    width: 100%;
    min-height: 1291px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-content {
    width: 100%;
    max-width: 1010px;
    display: flex;
    flex-direction: column;
    gap: 68px;
}

.form-header {
    text-align: center;
}

.form-title {
    font-family: 'Sora', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #171A1F;
    line-height: 22px;
    margin: 0;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.form-row {
    display: flex;
    gap: 74px;
    width: 100%;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.form-group.full-width {
    width: 100%;
}

.form-label {
    font-family: 'Sora', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #171A1F;
    line-height: 20px;
    margin: 0;
}

.input-wrapper,
.textarea-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    height: 72px;
    padding: 0 31px;
    border-radius: 100px;
    border: 0.8px solid rgba(0, 0, 0, 0.25);
    background: var(--White);
    font-family: 'Sora', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #171A1F;
    line-height: 20px;
    outline: none;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: var(--Grey-1);
}

.form-textarea {
    width: 100%;
    height: 193px;
    padding: 33px 20px;
    border-radius: 28px;
    border: 0.8px solid rgba(0, 0, 0, 0.25);
    background: var(--White);
    font-family: 'Sora', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #171A1F;
    line-height: 20px;
    resize: none;
    outline: none;
    box-sizing: border-box;
}

.form-textarea::placeholder {
    color: var(--Grey-1);
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin: 5px 0 0 0;
}

/* Submit Section */
.submit-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.submit-button {
    width: 262px;
    height: 80px;
    border-radius: 100px;
    background: var(--Blue-main);
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    box-shadow: -3px 4px 8.3px 0 rgba(0, 0, 0, 0.12);
    color: var(--White);
    font-family: 'Segoe UI', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-button:hover {
    background: #2d8fdf;
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading-message {
    color: var(--Blue-main);
    font-size: 16px;
}

/* Visit Hours Section */
.visit-hours-section {
    display: flex;
    align-items: center;
    gap: 37px;
    width: 100%;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
}

.visit-hours {
    width: 269px;
    text-align: center;
}

.visit-title {
    font-family: 'Sora', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--Bar-Grey);
    line-height: 20px;
    margin: 0 0 13px 0;
}

.hours-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-text {
    font-family: 'Sora', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--Blue-main);
    line-height: 18px;
    margin: 0;
}

/* Form Footer */
.form-footer {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.terms-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.consent-checkbox .form-check-input {
    margin-top: 4px;
    border-color: #E48356;
    min-width: 25px;
    height: 30px;
}

.consent-checkbox .form-check-input:checked {
    background-color: #E48356;
    border-color: #E48356;
}

.consent-checkbox .form-check-label {
    font-family: 'Sora', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--Blue-main);
    line-height: 22px;
}

.terms-links {
    text-align: center;
}

.terms-link {
    color: #E48356;
    text-decoration: underline;
    font-weight: 700;
    font-size: 14px;
}

/* Contact Icons */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 42px;
}

.contact-icon {
    width: 135px;
    height: 135px;
    border-radius: 31px;
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    background: var(--White);
    box-shadow: -6px 6px 8px 0 rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact-icon:hover {
    transform: translateY(-3px);
}

.contact-icon svg {
    width: 60px;
    height: 60px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-form-wrapper {
        padding: 40px;
    }

    .hero-image-container {
        width: 90%;
        left: 5%;
    }

    .hero-blur {
        left: 20%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-image-container {
        border-radius: 30px;
        margin-top: 0;
    }

    .hero-background {
        padding-top: 70px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
        border-radius: 40px;
    }

    .contact-form-section {
        padding: 0 20px;
    }

    .contact-icons {
        align-items: center;
        gap: 10px;
    }

    .contact-icon {
        width: 100%;
        max-width: 110px;
        height: 110px;
    }

    .contact-hero-section {
        min-height: 600px;
    }

    .visit-hours-section {
        flex-direction: column;
        gap: 20px;
    }

    .divider-line {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .submit-button {
        width: 200px;
        height: 60px;
        font-size: 18px;
    }
}