/* --- Global Variables & Theme Config --- */
:root {
    --font-cairo: 'Cairo', sans-serif;
    --brand-blue: #00c3ff; --brand-orange: #ff8c00;
    --brand-blue-dark: #0056b3; --brand-orange-dark: #cc7000;
    --brand-db: #9c27b0; --brand-net: #e91e63; --brand-sec: #00e676; --brand-hard: #607d8b;

    /* Dark Mode (Default) */
    --bg-body: #020617; --bg-surface: #0f172a; --bg-surface-alt: #1e293b;
    --text-primary: #ffffff; --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(15, 23, 42, 0.9);
    --shadow-color: rgba(0, 195, 255, 0.2);
}

[data-theme="light"] {
    --bg-body: #f0f2f5; --bg-surface: #ffffff; --bg-surface-alt: #f8fafc;
    --text-primary: #0f172a; --text-secondary: #475569;
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.08);
}

/* --- Base Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; height: 100%; }
body {
    font-family: var(--font-cairo); background-color: var(--bg-body); color: var(--text-primary);
    overflow-x: hidden; transition: all 0.3s ease; min-height: 100%; display: flex; flex-direction: column;
}
html[lang="ar"] { direction: rtl; } html[lang="en"] { direction: ltr; }
a { text-decoration: none; color: inherit; } ul { list-style: none; }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }
.section-pad { padding: 80px 0; } .bg-alt { background-color: var(--bg-surface-alt); }
.text-center { text-align: center; } .app-content { flex: 1; }

/* --- Typography & Buttons --- */
.main-title { font-size: 2.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.highlight-text { background: linear-gradient(to right, var(--brand-blue), var(--brand-orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-title { font-size: 2rem; font-weight: 800; margin-bottom: 40px; position: relative; display: inline-block; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: linear-gradient(to right, var(--brand-blue), var(--brand-orange)); margin: 15px auto 0; border-radius: 2px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 30px; border-radius: 50px; font-weight: 700; cursor: pointer; transition: all 0.3s; border: none; outline: none; font-family: var(--font-cairo); font-size: 1rem; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark)); color: white; box-shadow: 0 8px 25px rgba(0, 195, 255, 0.3); }
.btn-accent { background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark)); color: white; box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3); }
.btn-glass { background: rgba(255,255,255,0.05); backdrop-filter: blur(5px); border: 1px solid var(--border-color); color: var(--text-primary); font-size: 0.9rem; padding: 10px 20px; }
.btn-glass:hover { background: rgba(255,255,255,0.1); border-color: var(--brand-blue); }

/* --- Header & Navigation --- */
.global-header { position: fixed; top: 0; width: 100%; z-index: 900; padding: 15px 0; background: var(--glass-bg); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-color); transition: all 0.3s; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.brand-logo { height: 45px; width: auto; }
.menu-list { display: flex; gap: 10px; align-items: center; }
.menu-link { 
    font-weight: 700; padding: 8px 20px; border-radius: 30px; transition: all 0.3s ease;
    position: relative; overflow: hidden; font-size: 1.05rem;
}
.menu-link.active-link {
    background: var(--brand-orange) !important; color: white !important; box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4) !important;
}
.menu-link:not(.active-link):hover { background: var(--bg-surface-alt); color: var(--brand-orange); transform: translateY(-2px); }

.mobile-close { display: none; background: none; border: none; color: var(--text-primary); font-size: 2rem; cursor: pointer; position: absolute; top: 20px; right: 20px; z-index: 10; }
html[lang="en"] .mobile-close { right: auto; left: 20px; }
.header-tools { display: flex; gap: 10px; align-items: center; }
.tool-btn, .mobile-toggle { background: var(--bg-surface-alt); border: 1px solid var(--border-color); color: var(--text-primary); width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.3rem; transition: all 0.3s; }
.tool-btn:hover, .mobile-toggle:hover { border-color: var(--brand-blue); color: var(--brand-blue); transform: rotate(10deg); }
#lang-txt { font-size: 0.8rem; font-weight: 800; }

/* --- Hero Section --- */
.hero-section { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; padding-top: 80px; }
.hero-slideshow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; transform: scale(1.05); }
.slide.active { opacity: 1; transform: scale(1); transition: opacity 1.5s ease-in-out, transform 6s linear; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, var(--bg-body), rgba(2, 6, 23, 0.6), var(--bg-body)); z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; }
.hero-text-box { max-width: 800px; margin: 0 auto; }
.hero-desc { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 35px; line-height: 1.6; }

/* --- Services Cards --- */
.services-grid-global { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.srv-card { background: var(--bg-surface); border-radius: 25px; border: 1px solid var(--border-color); text-align: center; transition: all 0.4s; display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.srv-card:hover { transform: translateY(-10px); border-color: var(--brand-blue); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.srv-img-box { height: 200px; width: 100%; position: relative; overflow: hidden; }
.srv-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.srv-card:hover .srv-img-box img { transform: scale(1.1); }
.srv-content { padding: 30px 25px; position: relative; flex-grow: 1; display: flex; flex-direction: column; }
.srv-icon-small { width: 50px; height: 50px; background: var(--bg-surface-alt); border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--brand-blue); position: absolute; top: -25px; right: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.4s; border: 1px solid var(--border-color); }
html[lang="en"] .srv-icon-small { right: auto; left: 25px; }
.srv-card:hover .srv-icon-small { background: var(--brand-blue); color: white; transform: rotateY(360deg); border-color: transparent; }
.ai-glow { color: var(--brand-orange); } .srv-card:hover .ai-glow { background: var(--brand-orange); }
.db-glow { color: var(--brand-db); } .srv-card:hover .db-glow { background: var(--brand-db); }
.net-glow { color: var(--brand-net); } .srv-card:hover .net-glow { background: var(--brand-net); }
.sec-glow { color: var(--brand-sec); } .srv-card:hover .sec-glow { background: var(--brand-sec); }
.hard-glow { color: var(--brand-hard); } .srv-card:hover .hard-glow { background: var(--brand-hard); }
.srv-card h3 { font-size: 1.4rem; margin-bottom: 15px; font-weight: 800; margin-top: 15px; }
.srv-card p { color: var(--text-secondary); margin-bottom: 25px; flex-grow: 1; line-height: 1.6; font-size: 0.95rem; }
.srv-actions { display: flex; gap: 10px; justify-content: center; }
.srv-popup-btn, .srv-order-btn { flex: 1; padding: 10px 15px; font-size: 0.9rem; }

/* --- News Section --- */
.news-carousel-container { position: relative; display: flex; align-items: center; }
.news-track-viewport { overflow: hidden; width: 100%; }
.news-track { display: flex; gap: 20px; transition: transform 0.5s ease-in-out; padding: 20px 0; }
.news-card { min-width: 300px; max-width: 350px; flex: 0 0 auto; background: var(--bg-surface); border-radius: 20px; overflow: hidden; border: 1px solid var(--border-color); transition: 0.3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); border-color: var(--brand-blue); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.news-img-box { height: 180px; overflow: hidden; }
.news-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.news-card:hover .news-img-box img { transform: scale(1.1); }
.news-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.news-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; flex-grow: 1; }
.news-date { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 15px; display: block; }
.news-read-btn { align-self: flex-start; margin-top: auto; }
.news-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 45px; height: 45px; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--border-color); color: var(--text-primary); font-size: 1.8rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.news-nav-btn:hover { background: var(--brand-blue); color: white; }
.prev-btn { right: -20px; } .next-btn { left: -20px; } html[lang="en"] .prev-btn { right: auto; left: -20px; } html[lang="en"] .next-btn { left: auto; right: -20px; }
.loading-spinner { text-align: center; color: var(--text-secondary); font-size: 1.2rem; padding: 30px; width: 100%; }

/* --- About Section --- */
.about-grid-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.about-visual-box { position: relative; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.about-visual-box img { width: 100%; height: auto; display: block; transition: transform 0.5s; }
.about-visual-box:hover img { transform: scale(1.05); }
.about-content-box .section-title { margin-bottom: 30px; text-align: right; } html[lang="en"] .about-content-box .section-title { text-align: left; }
.about-full-text p { margin-bottom: 20px; line-height: 1.8; color: var(--text-secondary); font-size: 1.05rem; }
.about-full-text strong { color: var(--brand-blue); }

/* --- Contact & Footer --- */
.contact-boxes-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.contact-box { background: var(--bg-surface); padding: 30px 40px; border-radius: 20px; border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; min-width: 200px; transition: 0.3s; }
.contact-box:hover { border-color: var(--brand-orange); transform: translateY(-5px); }
.whatsapp-box i { color: #25d366; font-size: 2.8rem; margin-bottom: 15px; }
.app-footer { background: var(--bg-surface); padding: 25px; text-align: center; border-top: 1px solid var(--border-color); color: var(--text-secondary); margin-top: auto; }

/* --- Scroll to Top Button --- */
#scroll-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: var(--brand-orange); color: white; border: none; border-radius: 50%;
    font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4); transition: all 0.3s;
    opacity: 0; visibility: hidden; z-index: 1000;
}
html[lang="en"] #scroll-top { right: auto; left: 30px; }
#scroll-top.show { opacity: 1; visibility: visible; }
#scroll-top:hover { transform: translateY(-5px); background: var(--brand-orange-dark); }

/* ================= MODALS ================= */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all 0.3s ease; padding: 20px; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box { background: var(--bg-surface); width: 100%; max-width: 450px; border-radius: 30px; border: 1px solid var(--border-color); box-shadow: 0 25px 50px rgba(0,0,0,0.5); transform: scale(0.8); opacity: 0; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative; overflow: hidden; max-height: 90vh; display: flex; flex-direction: column; }
.modal-overlay.active .modal-box { transform: scale(1); opacity: 1; }
.modal-close { position: absolute; top: 15px; left: 15px; background: var(--bg-surface-alt); border: none; width: 35px; height: 35px; border-radius: 50%; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; }
html[lang="en"] .modal-close { left: auto; right: 15px; }
.modal-content { padding: 40px 30px; overflow-y: auto; text-align: center; }
.modal-icon { font-size: 3.5rem; color: var(--brand-blue); margin-bottom: 20px; }
#modal-title, .modal-content h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--text-primary); }
#modal-body, .modal-content p { color: var(--text-secondary); line-height: 1.7; text-align: right; }
html[lang="en"] #modal-body, html[lang="en"] .modal-content p { text-align: left; }
#modal-body ul { margin-top: 15px; padding-right: 20px; } html[lang="en"] #modal-body ul { padding-right: 0; padding-left: 20px; }
#modal-body li { margin-bottom: 10px; list-style: disc; }
.form-group { margin-bottom: 20px; }
.form-input { width: 100%; padding: 15px; border-radius: 15px; border: 1px solid var(--border-color); background: var(--bg-surface-alt); color: var(--text-primary); font-family: var(--font-cairo); outline: none; transition: 0.3s; font-size: 1rem; }
.form-input:focus { border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2); }
textarea.form-input { resize: vertical; }
.news-modal-box { max-width: 600px; }
.news-modal-img-container { width: 100%; height: 250px; overflow: hidden; }
.news-modal-img-container img { width: 100%; height: 100%; object-fit: cover; }
.news-modal-content { text-align: right; } html[lang="en"] .news-modal-content { text-align: left; }
#news-modal-date { display: block; margin-bottom: 20px; color: var(--brand-orange); font-size: 0.9rem; }

/* ================= CHATBOT & MIC ================= */
.chatbot-container { position: fixed; bottom: 25px; left: 25px; z-index: 1500; }
html[lang="en"] .chatbot-container { left: auto; right: 25px; }
.mascot-trigger { position: relative; cursor: pointer; width: 90px; height: 90px; }
.mascot-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0, 195, 255, 0.4)); }
.floating-anim { animation: float 3s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.chat-hint { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--brand-orange); color: white; padding: 6px 12px; border-radius: 12px; font-size: 0.85rem; white-space: nowrap; font-weight: bold; opacity: 0; transition: 0.3s; pointer-events: none; margin-bottom: 12px; box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3); }
.mascot-trigger:hover .chat-hint { opacity: 1; transform: translateX(-50%) translateY(-5px); }
.chat-window { position: absolute; bottom: 100px; left: 0; width: 340px; height: 480px; background: var(--bg-surface); border-radius: 25px; border: 1px solid var(--border-color); box-shadow: 0 25px 50px rgba(0,0,0,0.4); display: flex; flex-direction: column; overflow: hidden; transform: scale(0.8) translateY(20px); opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); transform-origin: bottom left; }
html[lang="en"] .chat-window { left: auto; right: 0; transform-origin: bottom right; }
.chat-window.active { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.chat-header { background: var(--bg-surface-alt); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); }
.chat-agent-info { display: flex; align-items: center; gap: 12px; }
.chat-agent-avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--brand-blue); background: #000; padding: 2px; object-fit: contain; }
.chat-agent-info h4 { font-size: 1rem; margin-bottom: 2px; font-weight: 700; }
.online-status { font-size: 0.75rem; color: #25d366; display: flex; align-items: center; gap: 5px; font-weight: 600; }
.online-status::before { content: ''; width: 8px; height: 8px; background: #25d366; border-radius: 50%; box-shadow: 0 0 5px #25d366; }
.chat-controls { display: flex; align-items: center; gap: 8px; }
.chat-control-btn { background: var(--bg-surface); border: 1px solid var(--border-color); color: var(--text-secondary); width: 38px; height: 38px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.chat-control-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.chat-close:hover { border-color: #ff4757; color: #ff4757; }
.chat-messages { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; scrollbar-width: thin; }
.message { display: flex; } .bot-message { justify-content: flex-start; } .user-message { justify-content: flex-end; }
.msg-bubble { max-width: 85%; padding: 14px 18px; border-radius: 20px; font-size: 0.95rem; line-height: 1.5; position: relative; word-wrap: break-word; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.bot-message .msg-bubble { background: var(--bg-surface-alt); color: var(--text-primary); border-bottom-right-radius: 5px; }
html[lang="en"] .bot-message .msg-bubble { border-bottom-right-radius: 20px; border-bottom-left-radius: 5px; }
.user-message .msg-bubble { background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark)); color: white; border-bottom-left-radius: 5px; font-weight: 600; }
html[lang="en"] .user-message .msg-bubble { border-bottom-left-radius: 20px; border-bottom-right-radius: 5px; }
.msg-bubble a { color: var(--brand-orange); text-decoration: underline; font-weight: bold; }
.chat-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.chat-action-btn { background: var(--bg-surface); border: 1px solid var(--brand-blue); color: var(--brand-blue); padding: 8px 15px; border-radius: 20px; cursor: pointer; font-family: var(--font-cairo); font-size: 0.9rem; transition: 0.3s; }
.chat-action-btn:hover { background: var(--brand-blue); color: white; }
.chat-action-btn:disabled { opacity: 0.5; cursor: not-allowed; border-color: var(--border-color); color: var(--text-secondary); background: none; }

.chat-input-area { padding: 15px; border-top: 1px solid var(--border-color); background: var(--bg-surface-alt); display: flex; gap: 10px; align-items: center; }
#chat-input { flex: 1; padding: 14px; border-radius: 30px; border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-primary); font-family: var(--font-cairo); outline: none; transition: 0.3s; }
#chat-input:focus { border-color: var(--brand-blue); }
#chat-send { width: 48px; height: 48px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark)); color: white; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; box-shadow: 0 5px 15px rgba(0, 195, 255, 0.3); }
#chat-send:disabled { background: var(--text-secondary); opacity: 0.6; cursor: not-allowed; box-shadow: none; }
#chat-mic { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--brand-blue); font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
#chat-mic:hover { background: var(--bg-surface-alt); border-color: var(--brand-blue); }
#chat-mic.listening { background: var(--brand-orange); border-color: var(--brand-orange); color: white; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(255, 140, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); } }

/* --- Responsive --- */
@media (max-width: 992px) {
    .about-grid-layout { grid-template-columns: 1fr; gap: 30px; }
    .about-visual-box { height: 300px; } .about-visual-box img { height: 100%; object-fit: cover; }
    .about-content-box .section-title { text-align: center; }
}
@media (max-width: 768px) {
    .main-title { font-size: 2rem; }
    .mobile-toggle { display: flex; } .mobile-close { display: block; }
    
    /* قائمة الموبايل - شاشة كاملة مع أنميشن ظهور */
    .main-menu {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(2, 6, 23, 0.95); backdrop-filter: blur(15px);
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        opacity: 0; visibility: hidden; transition: all 0.4s ease-in-out;
        z-index: 999; padding: 0; border: none; border-radius: 0; box-shadow: none; transform: none; max-width: none; max-height: none;
    }
    .main-menu.active { opacity: 1; visibility: visible; }
    .mobile-close { top: 30px; right: 30px; font-size: 2.5rem; } html[lang="en"] .mobile-close { right: auto; left: 30px; }
    .menu-list { flex-direction: column; gap: 30px; width: 100%; text-align: center; }
    .menu-link, .btn-accent.nav-target { width: auto; justify-content: center; padding: 10px 25px; font-size: 1.5rem; }
    .menu-link[href="#contact"] { border: none; }

    .srv-actions { flex-direction: column; }
    .news-nav-btn { width: 35px; height: 35px; font-size: 1.4rem; }
    #scroll-top { bottom: 80px; right: 20px; } html[lang="en"] #scroll-top { left: 20px; }

    /* --- تعديلات الشات بوت للموبايل (شاشة كاملة) --- */
    .chatbot-container { bottom: 20px; left: 20px; z-index: 1600; } html[lang="en"] .chatbot-container { right: 20px; }
    .mascot-trigger { width: 70px; height: 70px; }
    
    /* الحالة العادية للشات (مخفي) */
    .chat-window {
        width: 100%; height: 100%;
        position: fixed; top: 0; left: 0; bottom: auto; right: auto;
        border-radius: 0; transform: translateY(100%);
        opacity: 0; visibility: hidden; transition: all 0.4s ease-in-out;
        z-index: 2000; background: var(--bg-body); border: none; box-shadow: none;
    }
    /* الحالة النشطة للشات (ظاهر شاشة كاملة) */
    .chat-window.active {
        transform: translateY(0); opacity: 1; visibility: visible; scale: 1;
    }
    .chat-header { padding: 25px 20px; }
    .chat-close { font-size: 1.8rem; width: 45px; height: 45px; background: rgba(255, 71, 87, 0.1); color: #ff4757; border: none; }
    .chat-input-area { padding: 20px 15px 30px; }
}