/* ============================================
   MODERN CONTACT SHOWCASE SECTION STYLES
   ============================================ */

/* Contact Section */
.contact-showcase {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafb 50%, #ffffff 100%);
    overflow: hidden;
    padding: 80px 0;
}

.contact-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(178, 83, 42, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(178, 83, 42, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.contact-showcase .container {
    position: relative;
    z-index: 1;
}

/* Modern Section Header */
.modern-contact-header {
    margin-bottom: 4rem;
    position: relative;
}

.header-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #07406e 0%, #07406e 100%);
    color: #ffffff;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(178, 83, 42, 0.2);
}

.modern-contact-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0.5rem 0;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.title-highlight {
    background: linear-gradient(135deg, #07406e 0%, #07406e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-tagline {
    font-size: 1.125rem;
    color: #6b7280;
    margin-top: 1rem;
    font-weight: 400;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Contact Form Card */
.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #07406e 0%, #07406e 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(178, 83, 42, 0.15);
    border-color: rgba(178, 83, 42, 0.3);
}

.contact-form-card:hover::before {
    transform: scaleX(1);
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #07406e;
    margin-bottom: 0.75rem;
    position: relative;
}

.contact-form-description {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-form .form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #1a1a1a;
    font-family: inherit;
}

.contact-form .form-input:focus {
    outline: none;
    border-color: #07406e;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(178, 83, 42, 0.1);
}

.contact-form .form-input::placeholder {
    color: #adb5bd;
}

.contact-form textarea.form-input {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

/* Submit Button */
.contact-submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #07406e 0%, #07406e 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(178, 83, 42, 0.25);
    position: relative;
    overflow: hidden;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #07406e 0%, #07406e 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(178, 83, 42, 0.4);
    color: #ffffff;
}

.contact-submit-btn:hover::before {
    left: 0;
}

.contact-submit-btn:active {
    transform: translateY(-1px);
}

.contact-submit-btn i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-submit-btn:hover i {
    transform: translateX(8px);
}

[dir="rtl"] .contact-submit-btn:hover i {
    transform: translateX(-8px);
}

/* Alert Messages */
.contact-alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: none;
}

.contact-alert-danger {
    background: #fee;
    color: #c33;
    border-left: 4px solid #c33;
}

.contact-alert-danger ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

[dir="rtl"] .contact-alert-danger {
    border-left: none;
    border-right: 4px solid #c33;
}

/* Contact Info Card */
.contact-info-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #07406e 0%, #07406e 100%);
}

/* Contact Info Item */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-item:hover {
    transform: translateX(5px);
}

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

.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(178, 83, 42, 0.3);
}

.contact-info-icon.phone {
    background: linear-gradient(135deg, #07406e 0%, #07406e 100%);
}

.contact-info-icon.email {
    background: linear-gradient(135deg, #07406e 0%, #07406e 100%);
}

.contact-info-icon.location {
    background: linear-gradient(135deg, #07406e 0%, #07406e 100%);
}

.contact-info-content {
    flex: 1;
}

.contact-info-title {
    font-size: 1rem;
    font-weight: 700;
    color: #07406e;
    margin-bottom: 0.75rem;
}

.contact-info-text {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.7;
}

.contact-info-text a {
    color: #07406e;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.contact-info-text a:hover {
    color: #07406e;
    text-decoration: underline;
    transform: translateX(3px);
}

[dir="rtl"] .contact-info-text a:hover {
    transform: translateX(-3px);
}

/* Map Container */
.contact-map-container {
    margin-top: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-map-container:hover {
    border-color: rgba(178, 83, 42, 0.3);
    box-shadow: 0 8px 25px rgba(178, 83, 42, 0.15);
}

.contact-map-container iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .modern-contact-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-showcase {
        padding: 60px 0;
    }

    .modern-contact-title {
        font-size: 2rem;
    }

    .section-tagline {
        font-size: 1rem;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 2rem;
    }

    .contact-form-title {
        font-size: 1.5rem;
    }

    .contact-info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .contact-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .modern-contact-header {
        margin-bottom: 3rem;
    }

    .modern-contact-title {
        font-size: 1.75rem;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-info-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .contact-info-icon {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }
}
