/* Main Variables */
:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --primary-color: #e0e0e0;
    --accent-color: #3b82f6;
    /* Modern Blue */
    --accent-glow: rgba(59, 130, 246, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* Hero Section & Video Background */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(2px);
}

/* Navbar */
.navbar {
    position: fixed;
    /* Sticky on scroll */
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    /* Ensure on top */
    background: rgba(0, 0, 0, 0.3);
    /* Semi-transparent background */
    backdrop-filter: blur(15px);
    /* Glass effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.highlight {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.btn-contact {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    background: var(--glass-bg);
}

.btn-contact:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-btn {
    background: none;
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition-speed);
    font-family: var(--font-body);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}


/* Hero Content */
.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
    margin-top: 15vh;
    /* Pushes content down */
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-glow);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    z-index: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* Sections General */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Products Section (Glassmorphism) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: var(--transition-speed);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-card p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* Image Styling */
.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Quality Section */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-layout>div {
    flex: 1;
}

.placeholder-box {
    width: 100%;
    height: 400px;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    color: #555;
    border: 1px dashed #333;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: #050505;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #111;
    color: #555;
    font-size: 0.8rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Clients Hero */
.clients-hero {
    background: linear-gradient(180deg, rgba(59,130,246,0.06) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.clients-stat-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem 3rem;
    max-width: 500px;
    margin: 2.5rem auto 0;
    backdrop-filter: blur(12px);
}

.clients-stat {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.clients-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    margin: 0 1.5rem;
}

/* Client Logos Grid System */
.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
}

.client-logo-wrapper {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.client-logo-wrapper::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    left: var(--mx, 50%);
    top: var(--my, 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.client-logo-wrapper:hover::before {
    opacity: 1;
}

.client-logo-wrapper:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.client-logo-img {
    max-width: 75%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.8) opacity(0.45);
    transition: filter 0.4s ease, transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.client-logo-wrapper:hover .client-logo-img {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.06);
}

@media (max-width: 768px) {
    .client-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .client-logo-wrapper {
        height: 140px;
        padding: 1.5rem;
    }
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

/* Nav Right (Lang + Hamburger) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: var(--transition-speed);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

/* Clients Section - Infinite Marquee */
.logos-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scroll 30s linear infinite;
    padding: 2rem 0;
}

.logos-track:hover {
    animation-play-state: paused;
}

.client-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 80px;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.3s ease;
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-logo-item:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half the width (since we duplicated contents) */
    }
}

/* RTL Support for Marquee */
[dir="rtl"] .logos-track {
    animation-direction: reverse;
}

/* Responsive */
@media (max-width: 900px) {

    /* Trigger mobile menu earlier */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .split-layout {
        flex-direction: column;
    }
}

/* RTL Support */
[dir="rtl"] .nav-right {
    flex-direction: row-reverse;
}

[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .hero-content h1 {
    line-height: 1.3;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
}

.btn-submit:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

/* =========================================
   Contact Page Styles - Premium Redesign
   ========================================= */

.contact-page-container {
    padding-top: 150px;
    padding-bottom: 100px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    grid-template-rows: auto auto;
    /* Two explicit rows */
    gap: 2rem;
    /* Consistent gap */
    margin-top: 4rem;
    align-items: stretch;
    /* Stretch to fill height if needed */
}

/* Force specific grid positions to ensure correct flow */
.info-card-grid {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0 !important;
}

.form-card-grid {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0 !important;
}

.map-header {
    padding: 1.5rem;
    background: transparent;
    flex-shrink: 0;
}

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

.map-card {
    grid-column: 1;
    grid-row: 2;
}

.whatsapp-direct-card {
    grid-column: 2;
    grid-row: 2;
}

/* Responsive: Stack on mobile */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .info-card-grid,
    .form-card-grid,
    .map-card,
    .whatsapp-direct-card {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Cards */
.contact-card {
    background: #0f0f0f;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* Fill the grid cell */
    display: flex;
    flex-direction: column;
}

.map-card {
    padding: 0 !important;
    height: 500px !important;
    /* Force explicit height for bottom row matching */
}

.whatsapp-direct-card {
    height: 500px !important;
    padding: 0 !important;
    background: #e5ddd5 !important;
}

.map-frame {
    flex: 1;
    width: 100%;
    border: none;
    min-height: 0;
    border-radius: 8px;
    /* Slight radius for map */
}

.map-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
    margin-top: auto;
    /* Push to bottom if needed */
    padding: 1rem 1.5rem;
    background: #fff;
    /* Match white card bg from screenshot if needed, or keep dark? User has dark theme, but screenshot is white card. Assuming dark theme consistency, but user screenshot is white. Keeping dark theme consistency for now unless asked */
    background: transparent;
}

.map-footer .qr-code {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background: white;
    padding: 2px;
}

.btn-open-maps {
    background: #4285F4;
    /* Google Blue */
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    flex: 1;
    text-align: center;
    transition: background 0.3s ease;
}

.btn-open-maps:hover {
    background: #3367D6;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-color: #333;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

/* Info List */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: #ffd700;
    /* Gold/Yellow accent if suitable, or white */
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item div strong {
    display: block;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.info-item div p {
    font-size: 1rem;
    color: #ddd;
    font-weight: 500;
}

/* QR Code */
.qr-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qr-code {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: white;
    padding: 4px;
}

.qr-section span {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.4;
}

/* Map */
.map-card {
    padding: 0;
    height: 300px;
    border: 1px solid #222;
    margin-top: 2rem;
}

.map-frame {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(90%);
    /* Dark map styling */
    transition: filter 0.3s;
}

.map-card:hover .map-frame {
    filter: grayscale(0%) invert(0%);
}

.btn-open-maps {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: white;
    color: black;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Form */
.form-subtitle {
    margin-bottom: 2rem;
    color: #888;
    font-size: 0.95rem;
    margin-top: -1.5rem;
}

.form-group-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #aaa;
    margin-left: 2px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #161616;
    border: 1px solid #333;
    padding: 1rem;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #555;
    background: #202020;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

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

.btn-primary {
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #ddd;
    transform: translateY(-2px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-group-row {
        flex-direction: column;
    }

    .contact-page-container {
        width: 95%;
        padding-top: 120px;
    }
}

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

[dir="rtl"] .info-item {
    text-align: right;
}

[dir="rtl"] .whatsapp-float {
    left: 40px;
    right: auto;
}

/* WhatsApp Chat Widget - Premium */
.whatsapp-widget {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2002;
    padding: 0;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
}

.whatsapp-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}

.whatsapp-chat-box.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.wa-header {
    background: #095e54;
    /* WhatsApp Dark Green */
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.wa-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.wa-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.wa-body {
    background: #e5ddd5;
    /* WhatsApp Chat BG */
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 200px;
}

.wa-message-bubble {
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 0 12px 12px 12px;
    font-size: 0.95rem;
    color: #111;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 90%;
}

.wa-message-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 10px solid white;
    border-left: 10px solid transparent;
}

.wa-message-bubble.from-them strong {
    color: #095e54;
}

.wa-footer {
    padding: 1rem;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
}

.wa-open-chat-btn {
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s;
}

.wa-open-chat-btn:hover {
    transform: translateY(-2px);
    background: #20bd5a;
}

/* RTL Support for Widget */
[dir="rtl"] .whatsapp-widget {
    right: auto;
    left: 40px;
    align-items: flex-start;
}

[dir="rtl"] .whatsapp-chat-box {
    right: auto;
    left: 0;
    transform-origin: bottom left;
}

[dir="rtl"] .wa-message-bubble {
    border-radius: 12px 0 12px 12px;
}

[dir="rtl"] .wa-message-bubble::before {
    left: auto;
    right: -8px;
    border-left: none;
    border-right: 10px solid transparent;
}

/* =========================================
   Mobile Navigation Responsive Styles
   ========================================= */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-right {
        gap: 1rem;
    }

    /* Keep lang switcher visible */
    .lang-switcher {
        display: flex;
    }
}

/* WhatsApp Direct Card (Embedded) */
.whatsapp-direct-card {
    padding: 0 !important;
    overflow: hidden;
    background: #e5ddd5 !important;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.wa-direct-header {
    background: #075e54;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.wa-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    padding: 2px;
}

.wa-header-info h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.wa-header-info p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.wa-direct-body {
    flex: 1;
    padding: 1.5rem;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    /* WhatsApp Doodle BG */
    background-size: 400px;
    background-repeat: repeat;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
}

.wa-direct-footer {
    padding: 10px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
}

.wa-input-container {
    display: flex;
    width: 100%;
    gap: 10px;
    background: white;
    padding: 5px 10px;
    border-radius: 25px;
}

.wa-input-container input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 1rem;
    background: transparent;
    color: #333;
}

.wa-send-btn {
    background: #25D366;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.wa-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: #999;
    margin-top: 5px;
}

/* RTL Adjustments for Direct Card */
[dir="rtl"] .wa-send-btn svg {
    transform: rotate(180deg);
}

[dir="rtl"] .wa-message-bubble {
    border-radius: 12px 0 12px 12px;
}