/* ==========================================================================
   Contact page — scoped styles (wc-contact-* namespace)
   Loaded only by Views/Contact/Index.cshtml. Deliberately namespaced so it
   never collides with the existing .contact-* rules already defined (twice)
   in site.css, and never affects any other page.
   ========================================================================== */

.wc-contact-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0d2a5c;
}

.wc-contact-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
}

.wc-contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,42,92,.95) 0%, rgba(18,52,107,.75) 55%, rgba(18,52,107,.35) 100%);
}

.wc-contact-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 720px;
    padding-block: 48px;
}

.wc-contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 18px;
}

.wc-contact-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.wc-contact-hero-content h2 {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 500;
    color: #d7e3fb;
    margin-bottom: 14px;
}

.wc-contact-hero-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #e7edfa;
    max-width: 560px;
    margin-bottom: 0;
}

/* ==========================================================================
   Contact method cards
   ========================================================================== */

.wc-contact-methods {
    padding-block: 56px 24px;
}

.wc-method-card {
    height: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15,23,42,.06);
    border: 1px solid #eef1f6;
    transition: transform .25s ease, box-shadow .25s ease;
}

.wc-method-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(15,23,42,.12);
}

.wc-method-icon {
    width: 64px;
    height: 64px;
    margin-inline: auto;
    margin-bottom: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
}

.wc-method-icon.wc-green { background: linear-gradient(135deg,#34C759,#16a34a); }
.wc-method-icon.wc-blue { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.wc-method-icon.wc-orange { background: linear-gradient(135deg,#FFA726,#dc7a1f); }
.wc-method-icon.wc-purple { background: linear-gradient(135deg,#8B5CF6,#5B21B6); }

.wc-method-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #12346B;
    margin-bottom: 4px;
}

.wc-method-card h5 {
    font-size: .95rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
    word-break: break-word;
}

.wc-method-card p {
    color: #64748b;
    font-size: .87rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.wc-method-card .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 8px 18px;
    font-size: .88rem;
}

/* ==========================================================================
   Form + Map section
   ========================================================================== */

.wc-contact-panels {
    padding-block: 24px 64px;
}

.wc-panel {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(15,23,42,.06);
    border: 1px solid #eef1f6;
    padding: 28px;
    height: 100%;
}

.wc-panel h3 {
    color: #12346B;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-panel h3 i {
    color: #F47A20;
}

/* Form */

.wc-contact-form .form-label {
    font-size: .8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 5px;
}

.wc-contact-form .form-control,
.wc-contact-form textarea.form-control {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 11px 14px;
    font-size: .92rem;
    background: #f8fafc;
    transition: .2s;
}

.wc-contact-form .form-control:focus {
    border-color: #12346B;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(18,52,107,.12);
}

.wc-contact-form .btn-wc-send {
    background: linear-gradient(135deg, #12346B, #1a4a8a);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: .95rem;
    width: 100%;
    transition: .25s;
}

.wc-contact-form .btn-wc-send:hover {
    background: linear-gradient(135deg, #0d2a5c, #163d78);
    color: #fff;
    transform: translateY(-1px);
}

.wc-contact-form .btn-wc-send:disabled {
    opacity: .7;
    transform: none;
}

/* Map / location panel */

.wc-map-frame {
    width: 100%;
    height: 220px;
    border: none;
    border-radius: 12px;
    margin-bottom: 20px;
}

.wc-location-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wc-location-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wc-location-item .wc-location-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef2ff;
    color: #12346B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.wc-location-item h5 {
    font-size: .85rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 2px;
}

.wc-location-item p {
    font-size: .85rem;
    color: #64748b;
    margin-bottom: 0;
}

.wc-social-row {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.wc-social-row a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #12346B;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
    font-size: 15px;
}

.wc-social-row a:hover {
    background: #12346B;
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
    .wc-contact-hero {
        min-height: 340px;
    }

    .wc-panel {
        padding: 22px;
    }
}

@media (max-width: 575.98px) {
    .wc-contact-hero-content {
        padding-block: 34px;
    }

    .wc-method-card {
        padding: 22px 16px;
    }

    .wc-map-frame {
        height: 180px;
    }
}

/* RTL: flexbox/logical-property based, so this needs no direction-specific
   overrides beyond text alignment, which already follows the document
   direction automatically via inline-flex/flex layouts above. */
