/**
 * معرض الدوحة الدولي للكتاب
 * Doha International Book Fair Styles
 * -----------------------------------
 */

/* استيراد الخطوط العربية */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
    /* الألوان الرئيسية مستوحاة من هوية معرض الدوحة الدولي للكتاب */
    --doha-primary: #3c879e; /* اللون الأزرق المائل للخضرة الرئيسي */
    --doha-primary-dark: #1d6a80;
    --doha-primary-light: #5fa9c0;
    --doha-primary-lighter: #df95ac;
    --doha-primary-lightest: #f7e4e9;
    --doha-secondary: #b08452; /* اللون البني/البيج الثانوي */
    --doha-secondary-dark: #8e6a40;
    --doha-secondary-light: #d0a978;
    --doha-brown: #644529; /* اللون البني الغامق */
    --doha-maroon: #8D1B3D; /* اللون العنابي القطري */
    --doha-light: #f5f3ed; /* لون فاتح للخلفية */
    --doha-dark: #333333; /* لون غامق للنصوص */
    --doha-gold: #c8a871; /* اللون الذهبي المستخدم في شعار الدوحة */
    --doha-text-dark: #4a4a4a; /* لون النصوص الرئيسية */
    --doha-heading-color: #013c84; /* لون العناوين الرئيسية */
    --doha-subtitle-color: #074b86; /* لون العناوين الفرعية */

    /* تعريف خصائص الخطوط */
    --doha-font-primary: 'Tajawal', sans-serif;
    --doha-font-secondary: 'Cairo', sans-serif;
    --doha-font-tertiary: 'IBM Plex Sans Arabic', sans-serif;
}

/* أنماط عامة */
body.doha-theme {
    font-family: var(--doha-font-primary);
    background-color: var(--doha-light);
    color: var(--doha-text-dark);
    line-height: 1.6;
}

/* أنماط العناوين */
.doha-theme h1, .doha-theme h2, .doha-theme h3, .doha-theme h4, .doha-theme h5, .doha-theme h6 {
    font-family: var(--doha-font-primary);
    font-weight: 700;
    color: var(--doha-heading-color);
    line-height: 1.3;
}

.doha-theme h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.doha-theme h2 {
    font-size: 2.25rem;
    margin-bottom: 1.2rem;
}

.doha-theme h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.doha-theme h4 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.doha-theme h5 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.doha-theme .subtitle {
    font-family: var(--doha-font-secondary);
    color: var(--doha-subtitle-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* أنماط الأزرار */
.btn-doha {
    background-color: var(--doha-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--doha-font-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-doha:hover {
    background-color: var(--doha-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-doha-outline {
    background-color: transparent;
    color: var(--doha-primary);
    border: 2px solid var(--doha-primary);
    padding: 10px 22px;
    border-radius: 6px;
    font-family: var(--doha-font-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-doha-outline:hover {
    background-color: var(--doha-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* أنماط عناوين الأقسام */
.section-title {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--doha-heading-color);
    font-weight: 700;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: var(--doha-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--doha-subtitle-color);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
}

/* أنماط البطاقات */
.doha-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.doha-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* أنماط الشارات */
.doha-badge {
    background-color: var(--doha-secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

/* أنماط الأيقونات */
.doha-icon {
    color: var(--doha-primary);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.doha-icon:hover {
    color: var(--doha-primary-dark);
    transform: scale(1.1);
}

/* تناسق العناوين في الصفحات */
.section-header {
    background: linear-gradient(to right, var(--doha-primary-dark), var(--doha-primary));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header h3 {
    color: white;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.section-header i {
    font-size: 1.25rem;
}

/* تناسق محتوى التحليل في صفحة تفاصيل الكتاب */
.book-analysis {
    color: var(--doha-text-dark);
    line-height: 1.8;
    font-size: 1rem !important;
}

.book-analysis h3, .book-analysis h4 {
    color: var(--doha-heading-color);
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
    font-size: 1.25rem !important;
}

.book-analysis p {
    margin-bottom: 1rem;
    color: var(--doha-text-dark);
    font-size: 1rem !important;
}

.book-analysis ul, .book-analysis ol {
    margin: 1rem 0;
    padding-right: 1.5rem;
}

.book-analysis li {
    margin-bottom: 0.5rem;
    color: var(--doha-text-dark);
    font-size: 1rem !important;
}

/* فرض حجم خط موحد على جميع العناصر داخل تحليل الكتاب */
.book-analysis * {
    font-size: 1rem !important;
}

.book-analysis strong, 
.book-analysis b {
    font-weight: bold;
    font-size: 1rem !important;
}

.book-analysis h1, 
.book-analysis h2, 
.book-analysis h3, 
.book-analysis h4, 
.book-analysis h5, 
.book-analysis h6 {
    font-size: 1.25rem !important;
    font-weight: bold;
    margin: 1.5rem 0 0.75rem;
    color: var(--doha-heading-color);
}

.book-analysis a {
    color: var(--doha-primary);
    text-decoration: none;
    font-size: 1rem !important;
}

.book-analysis a:hover {
    text-decoration: underline;
}

/* تحسين مظهر الشات بوت */
#chat-window.scale-0 {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

#chat-window.scale-100 {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

/* تحسينات لحالة التكبير */
#chat-window[data-expanded="true"] {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#chat-window[data-expanded="false"] {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#chat-window #chat-messages {
    transition: height 0.3s ease;
}

/* تحسين زر التكبير */
#expand-chat {
    transition: all 0.3s ease;
}

#expand-chat:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* أنماط الروابط في تذييل الصفحة */
.doha-footer-link {
    color: var(--doha-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.doha-footer-link:hover {
    color: var(--doha-primary);
}

.doha-footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--doha-primary);
    transition: width 0.3s ease;
}

.doha-footer-link:hover::after {
    width: 100%;
}

/* أنماط روابط التواصل الاجتماعي */
.doha-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--doha-primary);
    color: white;
    margin-right: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

.doha-social-link:hover {
    background-color: var(--doha-primary-dark);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* أنماط الخلفية المميزة لمعرض الدوحة */
.doha-pattern-bg {
    background-color: var(--doha-light);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233c879e' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* أنماط شريط التنقل */
.doha-navbar {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.doha-navbar .nav-link {
    color: var(--doha-text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.75rem 1rem;
}

.doha-navbar .nav-link:hover {
    color: var(--doha-primary);
}

.doha-navbar .nav-link.active {
    color: var(--doha-primary);
    font-weight: 700;
    position: relative;
}

.doha-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--doha-primary);
    border-radius: 3px;
}

/* تنسيق الشعار والرسوم المتحركة */
.doha-logo {
    width: 180px;
    height: auto;
    animation: pulse 3s infinite alternate;
}

.doha-logo-sm {
    width: 45px;
    height: auto;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* تذييل الصفحة */
.doha-footer {
    background-color: var(--doha-light);
    border-top: 1px solid #eee;
    padding: 60px 0 20px;
}

.doha-footer h5 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.doha-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--doha-primary);
}

/* البرواز الحدودي بالألوان القطرية */
.doha-border {
    position: relative;
    border: 2px solid transparent;
    border-radius: 12px;
    background-image: linear-gradient(white, white), 
                      linear-gradient(90deg, var(--doha-maroon) 0%, var(--doha-maroon) 100%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    padding: 1px;
}

/* نمط خاص للصورة الرئيسية */
.doha-hero-image {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, box-shadow 0.8s ease;
}

.doha-hero-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* نمط خاص بصفحة الاستبيان */
.doha-survey-container {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.doha-survey-header {
    background-color: var(--doha-primary);
    color: white;
    border-radius: 16px 16px 0 0;
    padding: 30px;
    margin: -40px -40px 30px -40px;
    position: relative;
    overflow: hidden;
}

.doha-survey-header::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.doha-survey-question {
    margin-bottom: 40px;
    padding: 25px;
    background-color: var(--doha-light);
    border-radius: 12px;
    border-left: 5px solid var(--doha-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doha-survey-question:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.doha-survey-option {
    display: block;
    padding: 18px;
    border: 2px solid #eee;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 45px;
}

.doha-survey-option:hover {
    border-color: var(--doha-primary-light);
    background-color: #f9f9f9;
}

.doha-survey-option.selected {
    border-color: var(--doha-primary);
    background-color: rgba(60, 135, 158, 0.1);
    font-weight: 600;
}

.doha-survey-option.selected::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--doha-primary);
}

/* تحسينات إضافية */
.doha-box-shadow {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.doha-border-radius {
    border-radius: 12px;
}

.doha-transition {
    transition: all 0.4s ease;
}

/* Hero section styles */
.doha-hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(to right, var(--doha-primary), var(--doha-primary-dark));
    overflow: hidden;
}

.doha-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.doha-hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.doha-hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: auto;
}

/* Feature cards */
.doha-feature-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 5px solid var(--doha-primary);
}

.doha-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.doha-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(60, 135, 158, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-inline: auto;
    color: var(--doha-primary);
    font-size: 28px;
    transition: all 0.3s ease;
}

.doha-feature-card:hover .doha-feature-icon {
    background-color: var(--doha-primary);
    color: white;
    transform: scale(1.1);
}

.doha-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--doha-heading-color);
    text-align: center;
}

.doha-feature-card p {
    color: var(--doha-text-dark);
    text-align: center;
    flex-grow: 1;
}

/* Category cards */
.doha-category-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.doha-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--doha-primary);
}

.doha-category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(60, 135, 158, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--doha-primary);
    font-size: 24px;
    transition: all 0.3s ease;
}

.doha-category-card:hover .doha-category-icon {
    background-color: var(--doha-primary);
    color: white;
}

.doha-category-card h5 {
    font-size: 1.1rem;
    color: var(--doha-text-dark);
    margin-bottom: 0;
}

/* Doha Book Fair Pattern Background */
.doha-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238d1b3d' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Doha Buttons */
.btn-doha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--doha-primary);
    color: white;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-doha:hover,
.btn-doha:focus {
    background-color: var(--doha-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(141, 27, 61, 0.15);
}

.btn-doha-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--doha-primary);
    font-weight: 500;
    border: 2px solid var(--doha-primary);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-doha-outline:hover,
.btn-doha-outline:focus {
    background-color: var(--doha-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(141, 27, 61, 0.15);
}

/* Section Titles with Doha Style */
.doha-title-section {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

.doha-title-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--doha-text-dark);
    margin-bottom: 1rem;
}

.doha-title-section h5 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--doha-primary);
    margin-bottom: 0.5rem;
}

.doha-title-section::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 3px;
    background-color: var(--doha-primary);
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

/* Doha Cards */
.doha-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-top: 4px solid var(--doha-primary);
}

.doha-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Doha Badge */
.doha-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Doha Icons */
.doha-icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background-color: var(--doha-primary-lightest);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.doha-icon-circle i {
    color: var(--doha-primary);
    font-size: 1.5rem;
}

/* Doha Footer Links */
.doha-footer-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.doha-footer-link i {
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

.doha-footer-link:hover {
    color: white;
}

/* RTL Support for Doha Theme */
[dir="rtl"] .doha-footer-link i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Doha Social Links */
.doha-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.doha-social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Doha Logo Animation */
@keyframes doha-logo-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.doha-logo-animate {
    animation: doha-logo-pulse 3s infinite ease-in-out;
}

/* Chat window styling */
.chat-window {
    transition: all 0.3s ease-in-out, transform 0.3s ease !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.chat-window.scale-0 {
    opacity: 0;
    pointer-events: none;
}

.chat-window.scale-100 {
    opacity: 1;
    pointer-events: auto;
}

.chat-messages {
    transition: all 0.3s ease;
}

/* Chat expand button styling */
#expand-chat {
    transition: all 0.2s ease;
}

#expand-chat:hover {
    background-color: var(--color-primary-dark); 
    color: white;
}

/* Responsive adjustments for expanded chat */
@media (max-width: 768px) {
    .chat-window[data-expanded="true"] {
        width: 95vw !important;
        height: 90vh !important;
        max-height: 90vh !important;
        margin: 0 auto; 
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
} 