/* ======================================
   REEMCO CONTACT US — Premium Corporate Page
   File: reemco-contact.css
   ====================================== */

/* — Override Elementor/Astra default page content — */
.reemco-contact-page .entry-content>.elementor,
.reemco-contact-page .entry-content>.e-con,
.reemco-contact-page .entry-content>.wp-block-post-content,
.reemco-contact-page .elementor.elementor-37,
.reemco-contact-page #content>.ast-container .elementor,
.reemco-contact-page .site-content .elementor-37 {
    display: none !important;
}

/* — Force full-width breakout from Astra container — */
.reemco-contact-page .rc-contact-hero,
.reemco-contact-page .rc-contact-cards,
.reemco-contact-page .rc-contact-main,
.reemco-contact-page .rc-contact-hours,
.reemco-contact-page .rc-contact-trust {
    width: 100vw;
    position: relative;
    right: 50%;
    left: 50%;
    margin-right: -50vw;
    margin-left: -50vw;
}

/* — Hide Elementor content wrapper — */
.reemco-contact-page .ast-container>.elementor-37,
.reemco-contact-page .ast-container>article {
    display: none !important;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.rc-contact-hero {
    background: linear-gradient(135deg, #1B5E3B 0%, #143D2B 50%, #0f3460 100%);
    padding: 100px 0 80px;
    text-align: center;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
}

.rc-contact-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.1) 0%, transparent 70%);
}

.rc-contact-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.06) 0%, transparent 70%);
}

.rc-contact-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 30px;
}

.rc-contact-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 162, 101, 0.12);
    border: 1px solid rgba(196, 162, 101, 0.3);
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 25px;
    animation: rcFadeDown 0.6s ease;
}

.rc-contact-hero__badge i {
    color: #C4A265;
    font-size: 0.85rem;
}

.rc-contact-hero__badge span {
    color: #C4A265;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.rc-contact-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 18px;
    animation: rcFadeUp 0.6s ease 0.15s both;
}

.rc-contact-hero h1 em {
    font-style: normal;
    color: #C4A265;
}

.rc-contact-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    max-width: 550px;
    margin: 0 auto;
    animation: rcFadeUp 0.6s ease 0.3s both;
}

/* ==========================================
   COMMON
   ========================================== */
.rc-contact-section {
    padding: 80px 0;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

.rc-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.rc-contact-section__header {
    text-align: center;
    margin-bottom: 50px;
}

.rc-contact-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #C4A265;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.rc-contact-section__eyebrow::before,
.rc-contact-section__eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background: #C4A265;
}

.rc-contact-section__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1B5E3B;
    margin-bottom: 12px;
}

.rc-contact-section__desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   CONTACT INFO CARDS
   ========================================== */
.rc-contact-cards {
    background: #f8f9fb;
}

.rc-contact-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.rc-contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.rc-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #C4A265, #A88B4A);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.rc-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.07);
}

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

.rc-contact-card__icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(196, 162, 101, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #C4A265;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.rc-contact-card:hover .rc-contact-card__icon {
    background: #C4A265;
    color: #fff;
}

.rc-contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1B5E3B;
    margin-bottom: 10px;
}

.rc-contact-card p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 6px;
}

.rc-contact-card a {
    color: #C4A265;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    direction: ltr;
    display: inline-block;
}

.rc-contact-card a:hover {
    color: #8A7238;
}

/* ==========================================
   MAP + FORM — 2-COLUMN LAYOUT
   ========================================== */
.rc-contact-main {
    background: #fff;
}

.rc-contact-main__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* — Map Side — */
.rc-contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.rc-contact-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.rc-contact-map__actions {
    padding: 18px 22px;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rc-contact-map__address {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rc-contact-map__address i {
    color: #C4A265;
}

.rc-contact-map__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1B5E3B;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rc-contact-map__btn:hover {
    background: #C4A265;
    transform: translateY(-2px);
}

/* — Form Side — */
.rc-contact-form {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.rc-contact-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1B5E3B;
    margin-bottom: 6px;
}

.rc-contact-form>p {
    font-size: 0.88rem;
    color: #888;
    margin-bottom: 25px;
}

.rc-contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.rc-contact-form__row--full {
    grid-template-columns: 1fr;
}

.rc-contact-form__group {
    display: flex;
    flex-direction: column;
}

.rc-contact-form__group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.rc-contact-form__group label .required {
    color: #e74c3c;
    margin-right: 2px;
}

.rc-contact-form__group input,
.rc-contact-form__group select,
.rc-contact-form__group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.92rem;
    color: #333;
    background: #fff;
    transition: all 0.25s ease;
    outline: none;
    direction: rtl;
    box-sizing: border-box;
}

.rc-contact-form__group input:focus,
.rc-contact-form__group select:focus,
.rc-contact-form__group textarea:focus {
    border-color: #C4A265;
    box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.12);
}

.rc-contact-form__group textarea {
    min-height: 120px;
    resize: vertical;
}

.rc-contact-form__group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 16px center;
    padding-left: 36px;
}

.rc-contact-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #C4A265, #A88B4A);
    color: #fff;
    padding: 14px 36px;
    border: none;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

.rc-contact-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 162, 101, 0.35);
}

/* ==========================================
   OPERATING HOURS
   ========================================== */
.rc-contact-hours {
    background: #f8f9fb;
}

.rc-contact-hours__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.rc-contact-hours__table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.rc-contact-hours__table table {
    width: 100%;
    border-collapse: collapse;
}

.rc-contact-hours__table th,
.rc-contact-hours__table td {
    padding: 16px 22px;
    text-align: right;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.rc-contact-hours__table thead th {
    background: #1B5E3B;
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1px;
}

.rc-contact-hours__table tbody tr {
    transition: background 0.2s;
}

.rc-contact-hours__table tbody tr:hover {
    background: rgba(196, 162, 101, 0.04);
}

.rc-contact-hours__table tbody td:first-child {
    font-weight: 700;
    color: #1B5E3B;
}

.rc-contact-hours__table .closed-day {
    color: #e74c3c;
    font-weight: 600;
}

.rc-contact-hours__table .current-shift {
    font-size: 0.82rem;
    color: #C4A265;
    font-weight: 600;
}

.rc-contact-hours__info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1B5E3B;
    margin-bottom: 15px;
    line-height: 1.5;
}

.rc-contact-hours__info h3 span {
    color: #C4A265;
}

.rc-contact-hours__info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.9;
    margin-bottom: 14px;
}

.rc-contact-hours__info-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(196, 162, 101, 0.08);
    border: 1px solid rgba(196, 162, 101, 0.2);
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.rc-contact-hours__info-note i {
    color: #C4A265;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.rc-contact-hours__info-note span {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.7;
}

/* ==========================================
   TRUST / RESPONSE
   ========================================== */
.rc-contact-trust {
    background: linear-gradient(135deg, #1B5E3B 0%, #143D2B 100%);
    padding: 60px 0;
    text-align: center;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

.rc-contact-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rc-contact-trust__item {
    padding: 30px 20px;
}

.rc-contact-trust__item-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(196, 162, 101, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #C4A265;
    margin: 0 auto 16px;
}

.rc-contact-trust__item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.rc-contact-trust__item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes rcFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rcFadeDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .rc-contact-main__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rc-contact-hours__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rc-contact-cards__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .rc-contact-hero {
        padding: 70px 0 55px;
    }

    .rc-contact-hero h1 {
        font-size: 1.9rem;
    }

    .rc-contact-section {
        padding: 55px 0;
    }

    .rc-contact-section__title {
        font-size: 1.7rem;
    }

    .rc-contact-cards__grid {
        grid-template-columns: 1fr;
    }

    .rc-contact-form__row {
        grid-template-columns: 1fr;
    }

    .rc-contact-map__actions {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .rc-contact-trust__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rc-contact-hours__info h3 {
        font-size: 1.3rem;
    }
}