/* ==========================================
   TARQEYAH PAY - CONTACT PAGE
   Compact Modern Design - Matching Index
   ========================================== */

/* ==========================================
   CONTACT PAGE WRAPPER
   ========================================== */
.contact-page-wrapper {
    width: 100%;
    min-height: 100vh;
    padding-top: 100px;
}

/* ==========================================
   CONTACT HERO - COMPACT
   ========================================== */
.contact-hero {
    padding: 5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
    pointer-events: none;
}

.contact-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.contact-hero-content {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3B82F6;
    margin-bottom: 1.25rem;
}

.contact-hero-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-hero-desc {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: #A9ADB1;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto;
}

/* Quick Contact Cards - COMPACT */
.quick-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.quick-contact-card {
    padding: 1.5rem 1.25rem;
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.quick-card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-card-icon svg {
    width: 24px;
    height: 24px;
    color: #3B82F6;
}

.quick-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
}

.quick-card-text {
    font-size: 0.9rem;
    color: #A9ADB1;
    margin-bottom: 1rem;
}

.quick-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3B82F6;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-card-link:hover {
    gap: 0.65rem;
    color: #60A5FA;
}

.quick-card-link svg {
    width: 14px;
    height: 14px;
}

/* ==========================================
   CONTACT FORM SECTION - COMPACT
   ========================================== */
.contact-form-section {
    padding: 3rem 0;
    background: rgba(26, 29, 31, 0.3);
}

.contact-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

/* Form Box - COMPACT */
.form-box {
    padding: 2rem;
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.form-header {
    margin-bottom: 1.75rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
}

.form-subtitle {
    font-size: 0.9rem;
    color: #A9ADB1;
    line-height: 1.6;
}

/* Form Groups - COMPACT */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
}

.required {
    color: #EF4444;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #A9ADB1;
    pointer-events: none;
    transition: color 0.3s ease;
}

[dir="rtl"] .input-icon {
    left: auto;
    right: 1rem;
}

.textarea-icon {
    top: 1rem;
    transform: none;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    background: rgba(13, 15, 16, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #FFFFFF;
    font-family: inherit;
    transition: all 0.3s ease;
}

[dir="rtl"] .form-input,
[dir="rtl"] .form-textarea {
    padding: 0.75rem 2.75rem 0.75rem 1rem;
}

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

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input:focus ~ .input-icon,
.form-textarea:focus ~ .input-icon {
    color: #3B82F6;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Error States */
.form-group.error .form-input,
.form-group.error .form-textarea {
    border-color: #EF4444;
}

.error-message {
    display: none;
    font-size: 0.8rem;
    color: #EF4444;
    margin-top: 0.4rem;
}

.form-group.error .error-message {
    display: block;
}

/* Submit Button - COMPACT */
.form-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.form-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.5);
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.form-submit-btn:hover:not(:disabled) .btn-icon {
    transform: translateX(3px);
}

.btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

.form-submit-btn.loading .btn-text,
.form-submit-btn.loading .btn-icon {
    display: none;
}

.form-submit-btn.loading .btn-loader {
    display: block;
}

/* Form Messages - COMPACT */
.form-messages {
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    display: none;
}

.form-messages.show {
    display: block;
}

.form-messages.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.form-messages.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

/* ==========================================
   INFO SIDE - COMPACT
   ========================================== */
.info-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    padding: 1.5rem;
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.info-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-icon svg {
    width: 20px;
    height: 20px;
    color: #3B82F6;
}

.info-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

/* Business Hours - COMPACT */
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    color: #A9ADB1;
}

.hours-row:last-child {
    border-bottom: none;
}

/* Social Links - COMPACT */
.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    background: rgba(13, 15, 16, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #A9ADB1;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
    color: #3B82F6;
    transform: translateX(5px);
}

[dir="rtl"] .social-link-item:hover {
    transform: translateX(-5px);
}

.social-link-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Highlight Card - COMPACT */
.info-card.highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.25);
}

.highlight-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.65rem;
}

.highlight-text {
    font-size: 0.85rem;
    color: #A9ADB1;
    line-height: 1.6;
    margin-bottom: 0.85rem;
}

.highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3B82F6;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.highlight-link:hover {
    gap: 0.65rem;
    color: #60A5FA;
}

.highlight-link svg {
    width: 14px;
    height: 14px;
}

/* ==========================================
   MAP SECTION - COMPACT
   ========================================== */
.contact-map-section {
    padding: 3rem 0;
    background: rgba(13, 15, 16, 0.6);
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.contact-map-iframe {
    display: block;
    filter: grayscale(0.3) brightness(0.85);
    transition: filter 0.3s ease;
}

.contact-map-iframe:hover {
    filter: grayscale(0) brightness(1);
}

.map-overlay {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10;
}

[dir="rtl"] .map-overlay {
    left: auto;
    right: 1.5rem;
}

.map-overlay-content {
    padding: 1.5rem;
    background: rgba(26, 29, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    max-width: 280px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.map-overlay-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
}

.map-overlay-text {
    font-size: 0.9rem;
    color: #A9ADB1;
    margin-bottom: 1rem;
}

.map-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-overlay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
}

.map-overlay-btn svg {
    width: 14px;
    height: 14px;
}

/* ==========================================
   AOS ANIMATIONS
   ========================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 1024px) {
    .quick-contact-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-overlay {
        position: static;
        margin-bottom: 1.25rem;
    }

    .map-overlay-content {
        max-width: 100%;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 768px) {
    .contact-page-wrapper {
        padding-top: 90px;
    }

    .contact-hero {
        padding: 1.75rem 0 2.5rem;
    }

    .contact-hero-container,
    .contact-form-container,
    .map-container {
        padding: 0 1.5rem;
    }

    .contact-hero-content {
        margin-bottom: 2rem;
    }

    .form-box {
        padding: 1.75rem 1.5rem;
    }

    .form-title {
        font-size: 1.35rem;
    }

    .contact-map-section {
        padding: 2.5rem 0;
    }

    .info-card {
        padding: 1.35rem;
    }
}

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

    .quick-contact-card {
        padding: 1.35rem 1.15rem;
    }

    .quick-card-icon {
        width: 45px;
        height: 45px;
    }

    .quick-card-icon svg {
        width: 22px;
        height: 22px;
    }

    .form-box {
        padding: 1.5rem 1.25rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.7rem 0.85rem 0.7rem 2.5rem;
        font-size: 0.85rem;
    }

    [dir="rtl"] .form-input,
    [dir="rtl"] .form-textarea {
        padding: 0.7rem 2.5rem 0.7rem 0.85rem;
    }

    .input-icon {
        width: 16px;
        height: 16px;
        left: 0.85rem;
    }

    [dir="rtl"] .input-icon {
        right: 0.85rem;
    }

    .form-submit-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    .info-card-icon {
        width: 38px;
        height: 38px;
    }

    .info-card-icon svg {
        width: 18px;
        height: 18px;
    }

    .map-overlay-content {
        padding: 1.35rem;
    }
}

/* ==========================================
   END CONTACT PAGE CSS
   ========================================== */