/* ===================================================
   CONTACT PAGE — contact.css
   =================================================== */

/* ── Hero Banner with Split Layout ───────────────── */
.contact-hero {
    position: relative;
    background: linear-gradient(110deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
    padding: 90px 0 100px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
}

/* Diagonal layout lines in the background */
.contact-hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.8;
    z-index: 1;
}

.contact-hero-bg-pattern::after {
    content: '';
    position: absolute;
    top: -10%; right: -10%;
    width: 60%; height: 120%;
    background: radial-gradient(circle, rgba(123, 184, 216, 0.15) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.contact-hero-split {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 60px;
    align-items: center;
}

.contact-hero-text {
    max-width: 560px;
}

.contact-hero-title {
    font-family: var(--font-serif);
    font-size: 44px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.contact-hero-desc {
    font-size: 16.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* ── Frosted Glass Contact Options Card ────────── */
.contact-options-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease;
}

.contact-options-glass:hover {
    transform: translateY(-2px);
}

.contact-options-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 24px 0;
    letter-spacing: -0.3px;
}

.contact-options-list {
    list-style: none;
    margin: 0 0 32px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-options-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.95);
}

.option-icon {
    color: var(--sky);
    flex-shrink: 0;
}

.option-link {
    font-size: 15.5px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    transition: color 0.15s ease;
}

.option-link:hover {
    color: var(--sky);
}

.btn-chat-now {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--sky);
    color: var(--navy-dark);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    transition: all 0.22s ease;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(123, 184, 216, 0.25);
}

.btn-chat-now:hover {
    background: var(--white);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.chat-btn-icon {
    flex-shrink: 0;
}

/* ── Bottom Channels Section ───────────────────── */
.contact-channels {
    padding: 88px 0 96px;
    background: var(--white);
}

.contact-channels .section-title {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    margin: 0 0 48px 0;
    letter-spacing: -0.3px;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.channel-card {
    background: var(--sky-light);
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid rgba(123, 184, 216, 0.2);
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 52, 81, 0.08);
    border-color: var(--sky);
}

.channel-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

.channel-desc {
    font-size: 14.5px;
    color: var(--text-body);
    margin: 0;
    line-height: 1.5;
}

.channel-link {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--navy-mid);
    text-decoration: none;
    margin-top: 8px;
    transition: color 0.15s ease;
    display: inline-block;
    align-self: flex-start;
}

.channel-link:hover {
    color: var(--navy);
    text-decoration: underline;
}

/* Circular Social Buttons inside card */
.circle-social-container {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-border);
    color: var(--navy-mid);
    transition: all 0.22s ease;
    cursor: pointer;
    text-decoration: none;
}

.social-circle-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 52, 81, 0.12);
}

.facebook-btn:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.instagram-btn:hover {
    background: #E1306C;
    border-color: #E1306C;
}

/* ── Arabic RTL Adjustments ───────────────────── */
html[dir="rtl"] .contact-hero-title,
html[dir="rtl"] .contact-hero-desc,
html[dir="rtl"] .contact-options-title,
html[dir="rtl"] .contact-options-list li,
html[dir="rtl"] .contact-channels .section-title,
html[dir="rtl"] .channel-title,
html[dir="rtl"] .channel-desc,
html[dir="rtl"] .channel-link {
    text-align: right;
}

html[dir="rtl"] .contact-options-list li {
    flex-direction: row;
}

html[dir="rtl"] .channel-link {
    align-self: flex-start;
}

/* ── Responsive Styling ────────────────────────── */
@media (max-width: 991px) {
    .contact-hero-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .contact-hero-desc {
        margin: 0 auto;
        max-width: 600px;
    }
    
    .contact-options-glass {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-channels .section-title {
        text-align: center;
        margin-bottom: 36px;
    }
    
    html[dir="rtl"] .contact-hero-text,
    html[dir="rtl"] .contact-hero-desc,
    html[dir="rtl"] .contact-channels .section-title {
        text-align: center;
    }
    
    html[dir="rtl"] .channel-link {
        align-self: center;
    }
    
    .channel-link {
        align-self: center;
    }
    
    .channel-card {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 34px;
    }
    
    .contact-hero {
        padding: 70px 0 80px;
    }
    
    .contact-channels {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 28px;
    }
    
    .contact-options-glass {
        padding: 30px 24px;
    }
    
    .channel-card {
        padding: 32px 24px;
    }
}
