*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Segoe UI',Tahoma,sans-serif;line-height:1.8;color:#1f2937;background:#fff}
.container{max-width:1100px;margin:0 auto;padding:0 20px}
header{position:sticky;top:0;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-bottom:1px solid #e5e7eb;z-index:100}
nav{display:flex;justify-content:space-between;align-items:center;padding:15px 0}
nav .logo{font-size:20px;font-weight:700;color:#1f2937;text-decoration:none}
nav ul{display:flex;gap:20px;list-style:none}
nav a{color:#4b5563;text-decoration:none;font-size:15px;transition:color .2s}
nav a:hover{color:#2563eb}
.hero{padding:80px 0;text-align:center;background:linear-gradient(135deg,#eff6ff,#f0f9ff)}
.hero h1{font-size:42px;margin-bottom:20px;color:#111827}
.hero p{font-size:18px;color:#4b5563;max-width:700px;margin:0 auto 30px}
.btn{display:inline-block;background:#2563eb;color:#fff;padding:12px 28px;border-radius:8px;text-decoration:none;font-weight:500;transition:background .2s}
.btn:hover{background:#1d4ed8}
section{padding:70px 0}
section h2{font-size:32px;margin-bottom:30px;text-align:center;color:#111827}
.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.service-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:28px;transition:transform .2s,box-shadow .2s}
.service-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,0,0,.08)}
.service-card h3{font-size:19px;margin-bottom:10px;color:#111827}
.service-card p{color:#6b7280;font-size:15px}
footer{background:#111827;color:#9ca3af;text-align:center;padding:30px 0;font-size:14px}
#chat-widget{position:fixed;bottom:24px;left:24px;z-index:9999;font-family:inherit}
#chat-toggle{width:60px;height:60px;border-radius:50%;background:#2563eb;color:#fff;border:0;cursor:pointer;font-size:26px;box-shadow:0 4px 20px rgba(37,99,235,.4);transition:transform .2s}
#chat-toggle:hover{transform:scale(1.05)}
#chat-box{position:absolute;bottom:75px;left:0;width:340px;height:480px;background:#fff;border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.18);display:flex;flex-direction:column;overflow:hidden}
#chat-box[hidden]{display:none}
#chat-header{background:#2563eb;color:#fff;padding:14px 18px;font-weight:600}
#messages{flex:1;overflow-y:auto;padding:14px;background:#f9fafb}
.msg{margin-bottom:8px;display:flex}
.msg.user{justify-content:flex-end}
.msg span{display:inline-block;max-width:78%;padding:9px 14px;border-radius:14px;font-size:14px;word-wrap:break-word}
.msg.user span{background:#2563eb;color:#fff;border-bottom-left-radius:4px}
.msg.admin span{background:#e5e7eb;color:#111;border-bottom-right-radius:4px}
#chat-input-area{display:flex;border-top:1px solid #e5e7eb;background:#fff}
#chat-input{flex:1;border:0;padding:14px;outline:none;font-size:14px;font-family:inherit}
#chat-send{background:#2563eb;color:#fff;border:0;padding:0 20px;cursor:pointer;font-weight:500}
#chat-send:hover{background:#1d4ed8}
@media(max-width:600px){
    .hero h1{font-size:30px}
    nav ul{display:none}
    #chat-box{width:calc(100vw - 48px);height:70vh;left:0;bottom:75px}
}
/* Language switcher */
.main-nav{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.lang-switch{display:flex;gap:6px;list-style:none;margin:0;padding:0}
.lang-switch a{display:inline-block;padding:6px 12px;border-radius:8px;text-decoration:none;font-size:13px;color:#4b5563;background:#f3f4f6;transition:all .2s}
.lang-switch a:hover{background:#e5e7eb;color:#111827}
.lang-switch a.active{background:#2563eb;color:#fff}
@media(max-width:640px){
    .main-nav{display:none}
    .lang-switch a{padding:5px 10px;font-size:12px}
}
/* Language switcher - multi-language wrap */
.lang-switch{flex-wrap:wrap;justify-content:flex-end;max-width:60%}
@media(max-width:900px){
    .lang-switch{max-width:100%;justify-content:flex-start;margin-top:8px}
    nav{flex-wrap:wrap}
}