.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #111111;
    opacity: 0;
    visibility: hidden;
    z-index: 2000;
    transition: all 0.6s ease;
}

.contact-sidebar {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 75vw;
    height: 100vh;
    background: #FAFAFA;
    z-index: 2001;
    transition: right 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    padding: 60px 8%;
    display: flex;
    flex-direction: column;
    transition: right 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.contact-sidebar.active {
    right: 0;
    transition: right 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-sidebar.active {
    right: 0;
}

.contact-content,
.contact-header {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.contact-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 50px;
}

.contact-close {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #757575;
    transition: color 0.2s;
}

.contact-close:hover {
    color: #111;
}

.contact-title {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    color: #111;
    margin-bottom: 24px;
    margin-top: 40px;
    letter-spacing: -0.02em;
}

.contact-title:first-child {
    margin-top: 0;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-pill {
    padding: 10px 20px;
    background: #EEEEEE;
    border: none;
    border-radius: 30px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #757575;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-pill:hover {
    background: #D5D5D5;
    color: #111;
}

.contact-pill.active {
    background: #111;
    color: #FFF;
}

.contact-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    background: #EAEAEA;
    border: none;
    border-radius: 30px;
    padding: 16px 24px;
    font-family: inherit;
    font-size: 14px;
    color: #111;
    outline: none;
    resize: none;
    transition: background 0.3s;
}

.contact-form-row .contact-input {
    flex: 1;
}

.contact-textarea {
    border-radius: 12px;
}

.contact-input:focus,
.contact-textarea:focus {
    background: #DFDFDF;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #999;
}

.contact-submit {
    margin-top: 32px;
    padding: 8px 8px 8px 32px;
    background: #111;
    color: #FFF;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: background 0.3s ease;
}

.contact-submit i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #424242;
    border-radius: 50%;
    font-size: 20px;
    color: #FFF;
    transition: background 0.3s ease;
}

.contact-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    padding-bottom: 60px;
    width: 100%;
}

.contact-footer-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-text p {
    margin: 0 0 4px 0;
    font-size: clamp(14px, 1.1vw, 22px);
    font-weight: 400;
    color: #111;
}

.contact-info-text .contact-address {
    margin-top: 16px;
    line-height: 1.5;
}

.contact-copyright {
    margin: 0;
    font-size: clamp(12px, 0.85vw, 18px);
    color: #BDBDBD;
    font-weight: 400;
}

.contact-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-social-title {
    margin-bottom: 24px;
}

.contact-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-social-list a {
    font-size: clamp(32px, 2.5vw, 64px);
    font-weight: 500;
    text-decoration: none;
    color: #BDBDBD;
    transition: color 0.4s ease, transform 0.4s ease;
    letter-spacing: -0.02em;
    display: inline-block;
    line-height: 1;
}

.contact-social-list a.active,
.contact-social-list a:hover {
    color: #111;
    transform: translateX(10px);
}

@media (max-width: 1024px) and (min-width: 768px) {
    .contact-sidebar {
        width: 85vw;
        padding: 50px;
    }

    .contact-social-list a {
        font-size: clamp(28px, 3vw, 48px);
    }
}

@media (max-width: 765px) {
    .contact-sidebar {
        width: 100vw;
        right: -100vw;
        padding: 40px 6% 48px;
    }

    .contact-header {
        margin-bottom: 32px;
    }

    .contact-title {
        font-size: 20px;
        margin-bottom: 16px;
        margin-top: 32px;
    }

    .contact-title:first-child {
        margin-top: 0;
    }

    .contact-options {
        gap: 8px;
        margin-bottom: 16px;
    }

    .contact-pill {
        padding: 8px 16px;
        font-size: 12px;
    }

    .contact-form-row {
        flex-direction: column;
        gap: 12px;
    }

    .contact-input,
    .contact-textarea {
        padding: 14px 20px;
        font-size: 13px;
    }

    .contact-textarea {
        border-radius: 16px;
    }

    .contact-submit {
        width: fit-content; 
        padding: 6px 6px 6px 20px;
        font-size: 13px;
        margin-top: 20px;
    }

    .contact-submit i {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .contact-footer {
        flex-direction: column;
        gap: 40px;
        margin-top: 48px;
        padding-bottom: 0;
    }

    .contact-footer-left {
        gap: 32px;
    }

    .contact-info-text p {
        font-size: 15px;
    }

    .contact-info-text .contact-address {
        margin-top: 12px;
    }

    .contact-copyright {
        font-size: 12px;
    }

    .contact-social-list a {
        font-size: clamp(28px, 9vw, 40px);
    }

    .contact-social-list a:hover,
    .contact-social-list a.active {
        transform: translateX(6px);
    }
}