.contact-page .sub-header {
    max-height: 75%;
}

.contact-page .contact-message p {
    font-size: 14px;
    max-width: 60%;
    color: rgba(1, 60, 93, 1);
}

.contact-page .contact-message-title {
    font-size: 19px;
    color: rgba(1, 60, 93, 1);
}

.contact-container {
    max-width: 912px;
}

.contact-container .contact-item, .inquary-dropdown .inquary-toggle {
    flex: 1;
    background-color: white;
    border: 1px solid rgba(197, 197, 197, 1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item {
    padding: 16px 24px;
}

.contact-item.area {
    height: 174px;
    resize: vertical;
    position: relative; 
    z-index: 1;
}

.contact-input, .inquary-dropdown, .inquary-toggle {
    height: 60px;
    min-height: 60px;
    max-height: 60px;
}

.inquary-dropdown {
    flex: 1;
    position: relative;
}

.contact-container .inquary-toggle .selected-inquary, .contact-container input, .contact-container textarea {
    font-size: 14px;
}

.contact-container .inquary-toggle-icon {
    color: rgba(65, 80, 101, 0.2);
    transition: transform 0.3s ease;
}

.inquary-toggle[aria-expanded="true"] .inquary-toggle-icon {
    transform: rotate(180deg);
}

.contact-container .inquary-menu {
    min-width: 100%;
    border-radius: 14px;
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border: 1px solid rgba(197, 197, 197, 1);
}

.contact-container .inquary-menu li {
    cursor: pointer;
}

.contact-container:has(.inquary-menu.show) .inquary-toggle {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid rgba(197, 197, 197, 1);
}

.submit-contact-request {
    background-color: rgba(0, 122, 255, 1);
    height: 44px;
    width: 133px;
    font-size: 14px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.submit-contact-request:hover, .submit-contact-request:active {
    background-color: rgb(1, 112, 231) !important;
    transform: translateY(-2px);
}

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

.contact-page .contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: rgba(0, 122, 255, 1);
    border: 1px solid rgba(0, 122, 255, 1);
}

.contact-page .contact-option span {
    direction: ltr;
}

.contact-item.error,
.inquary-toggle.error {
    border-color: #dc3545 !important;
    animation: shake 0.3s ease;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.contact-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9000;
    min-width: 350px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-notification i {
    font-size: 1.5rem;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.contact-success-box {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.5s ease;
    max-width: 600px;
    margin: 2rem auto;
}

.contact-success-box .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #81FBB8 0%, #28C76F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease 0.2s backwards;
}

.contact-success-box .success-icon i {
    font-size: 3rem;
    color: white;
}

.contact-success-box h5 {
    color: #2d3748;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-success-box > p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-success-box .success-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-success-box .success-details p {
    margin: 0.5rem 0;
    color: #2d3748;
    font-size: 0.95rem;
}

.contact-success-box .success-details strong {
    color: #667eea;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-page .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.contact-page .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .contact-container {
        max-width: 85%;
    }
}

@media (max-width: 991.98px) {
    .contact-page .contact-message p {
        max-width: 100%;
    }
    .contact-container {
        max-width: 90%;
    }
}