/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --secondary-black: #111111;
    --accent-black: #1a1a1a;
    --primary-red: #dc2626;
    --secondary-red: #ef4444;
    --accent-red: #f87171;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-light-gray: #d1d5db;
    --border-gray: #374151;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-gray);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.footer-logo-image {
    height: 40px;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}

.lang-btn {
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--border-gray);
    color: var(--text-gray);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 40px;
}

.lang-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.lang-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23374151" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-gray);
}

.btn-secondary:hover {
    border-color: var(--primary-red);
    background: rgba(220, 38, 38, 0.1);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.hero-image-container {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.hero-app-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-app-image:hover {
    transform: scale(1.05);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-food {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: floatAround 4s ease-in-out infinite;
}

.floating-food:nth-child(1) {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.floating-food:nth-child(2) {
    top: 60%;
    right: -10%;
    animation-delay: 1.5s;
}

.floating-food:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--text-white), var(--text-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Food Showcase Section */
.food-showcase {
    background: var(--primary-black);
    padding: 100px 0;
}

.food-showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.food-showcase-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.food-showcase-image:hover {
    transform: scale(1.02);
}

.food-highlights {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.food-highlight {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--accent-black);
    border-radius: 16px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.food-highlight:hover {
    border-color: var(--primary-red);
    transform: translateX(10px);
}

.food-highlight i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.food-highlight h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
}

.food-highlight p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--secondary-black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--accent-black);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-white);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Track Section */
.track {
    background: var(--primary-black);
}

.track-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.track-input-group {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.track-input {
    flex: 1;
    padding: 20px 24px;
    background: var(--accent-black);
    border: none;
    color: var(--text-white);
    font-size: 1.1rem;
    outline: none;
}

.track-input::placeholder {
    color: var(--text-gray);
}

.track-btn {
    padding: 20px 32px;
    border-radius: 0;
    font-weight: 700;
}

.track-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.feature i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

/* About Section */
.about {
    background: var(--secondary-black);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.stat p {
    color: var(--text-gray);
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.delivery-person-container {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.delivery-person-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.delivery-person-image:hover {
    transform: scale(1.05);
}

.delivery-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
    animation: pulse 2s infinite;
}

.delivery-badge i {
    font-size: 1.2rem;
}

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

/* Contact Section */
.contact {
    background: var(--primary-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-white);
}

.contact-item p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form input,
.contact-form textarea {
    padding: 20px 24px;
    background: var(--accent-black);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-red);
}

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

/* Footer */
.footer {
    background: var(--accent-black);
    border-top: 1px solid var(--border-gray);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--secondary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
    color: var(--text-gray);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    40% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
    60% {
        transform: translate(-50%, -50%) translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes speed {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .hero-container {
    grid-template-columns: 1fr 1fr;
}

[dir="rtl"] .about-content {
    grid-template-columns: 1fr 1fr;
}

[dir="rtl"] .contact-content {
    grid-template-columns: 1fr 1fr;
}

[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .nav-link::after {
    right: 0;
    left: auto;
}

[dir="rtl"] .service-card::before {
    right: 0;
    left: auto;
}

[dir="rtl"] .track-input-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--accent-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .language-switcher {
        margin-left: 0;
        margin-right: 0;
        order: -1;
        margin-bottom: 20px;
    }

    [dir="rtl"] .language-switcher {
        margin-right: 0;
        order: 1;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .track-features {
        gap: 30px;
    }

    .food-showcase-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .food-highlight:hover {
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .track-input-group {
        flex-direction: column;
    }

    .track-btn {
        border-radius: 0 0 12px 12px;
    }

    .track-input {
        border-radius: 12px 12px 0 0;
    }

    .logo-image {
        height: 40px;
        max-width: 150px;
    }

    .footer-logo-image {
        height: 30px;
    }
}

/* Chat Widget Styles */
.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    user-select: none;
}

.chat-toggle:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.6);
}

.chat-toggle-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-toggle-text {
    font-weight: 600;
    font-size: 1rem;
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.chat-notification.show {
    opacity: 1;
    transform: scale(1);
}

.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--accent-black);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.chat-widget.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-header-text h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-header-text span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    display: flex;
    gap: 10px;
    max-width: 80%;
}

.chat-message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message.bot-message {
    align-self: flex-start;
}

.message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--primary-red);
    color: white;
}

.bot-message .message-avatar {
    background: var(--secondary-black);
    color: var(--text-gray);
}

.message-content {
    background: var(--secondary-black);
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid var(--border-gray);
}

.user-message .message-content {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.message-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 5px;
    display: block;
}

.chat-input-container {
    padding: 20px;
    border-top: 1px solid var(--border-gray);
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.quick-reply {
    background: var(--secondary-black);
    border: 1px solid var(--border-gray);
    color: var(--text-white);
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-reply:hover {
    border-color: var(--primary-red);
    background: rgba(220, 38, 38, 0.1);
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input-wrapper input {
    flex: 1;
    background: var(--secondary-black);
    border: 1px solid var(--border-gray);
    border-radius: 25px;
    padding: 12px 16px;
    color: var(--text-white);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input-wrapper input:focus {
    border-color: var(--primary-red);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.chat-send-btn:hover {
    transform: scale(1.1);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* RTL Support for Chat */
[dir="rtl"] .chat-toggle {
    right: auto;
    left: 30px;
}

[dir="rtl"] .chat-widget {
    right: auto;
    left: 30px;
}

[dir="rtl"] .chat-message.user-message {
    flex-direction: row;
}

[dir="rtl"] .quick-replies {
    flex-direction: row-reverse;
}

/* Mobile Responsive Chat */
@media (max-width: 768px) {
    .chat-toggle {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
    }
    
    .chat-widget {
        bottom: 80px;
        right: 20px;
        left: 20px;
        width: auto;
        height: 450px;
    }
    
    .chat-toggle-text {
        display: none;
    }
    
    [dir="rtl"] .chat-toggle {
        right: auto;
        left: 20px;
    }
    
    [dir="rtl"] .chat-widget {
        right: auto;
        left: 20px;
    }
}
