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

html, body{
  width:100%;
  height:100%;
  background:#FFFFFF;
  font-family: Arial, sans-serif;
  overflow-x:hidden;
}

body{ padding-top:75px; }

.navbar {
  width: 100%;
  height: 75px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: #0f465c; 
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.nav-top {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.navbar.nav-scrolled {
  background: #0f465c !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.navbar.nav-solid{
  background:#0f465c !important;
}

.navbar.nav-home.nav-top{
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

.nav-left{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav-logo{
  width:40px;
  height:40px;
  background-image:url("../photo/alalay-white-logo.png");
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  flex-shrink:0;
}

.nav-brand{
  width:110px;
  height:32px;
  background-image:url("../photo/alalay-text-white-logo.png");
  background-size:contain;
  background-repeat:no-repeat;
  background-position:left center;
  flex-shrink:0;
}

.page-login .nav-logo,
.page-login .nav-brand{
  display:none;
}

.nav-center{
  display:flex;
  align-items:center;
  gap:6px;
  position:absolute;
  left:50%;
  transform:translateX(-50%);
}

.nav-link{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  padding:10px 18px;
  border-radius:0;
  transition:background .18s ease, transform .18s ease;
  white-space:nowrap;
}

.nav-link:hover{
  background:rgba(255,255,255,0.14);
  transform:translateY(-1px);
  border-radius:0;
}

.nav-link.active{
  background:rgba(255,255,255,0.18);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.20);
  font-weight:900;
  border-bottom:2px solid #fff;
  border-radius:0; 
}

.nav-right{
  display:flex;
  align-items:center;
  gap:14px;
}

.nav-btn,
.nav-btn-outline{
  height:40px;
  padding:0 18px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}

.nav-btn{
  background:#fff;
  color:#0f465c;
  box-shadow:0 10px 18px rgba(0,0,0,0.18);
}

.nav-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 26px rgba(0,0,0,0.22);
}

.nav-btn-outline{
  border:1px solid rgba(255,255,255,0.55);
  color:#fff;
  background:transparent;
}

.nav-btn-outline:hover{
  background:rgba(255,255,255,0.12);
  border-color:rgba(255,255,255,0.70);
}

@media (max-width:980px){
  .nav-center{ gap:2px; }
  .nav-link{ padding:10px 14px; }
  .navbar{ padding:0 18px; }
}

.footer{
  width:100%;
  background:#ffffff;
  color:#111;
}

.footer-disclaimer{
  color:rgb(255, 7, 7);
  padding:16px 40px;
  font-size:13px;
  font-weight:600;
  overflow:hidden;
  white-space:nowrap;
  position:relative;
}

.footer-disclaimer-track{
  display:flex;
  align-items:center;
  width:max-content;
  gap:80px;
  animation: footerTicker 20s linear infinite;
  will-change: transform;
}

.ticker-item{
  flex:0 0 auto;
}

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

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

.footer-divider{
  height:1px;
  background:#cfcfcf;
}

.footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:28px 40px 10px;
  display:grid;
  grid-template-columns: 1.4fr 1fr;
  gap:30px;
}

.footer-left-top{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:10px;
}

.footer-logo{
  width:120px;
  height:120px;
  background-image: url("../photo/alalay-full-colored-logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink:0;
}

.footer-title-main{
  font-size:44px;
  font-weight:900;
  line-height:0.95;
  background: linear-gradient(to right, #22799C, #b2b2b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.footer-desc{
  margin-top:10px;
  font-size:13px;
  line-height:1.5;
  max-width:560px;
}

.footer-right{
  width:460px;
  margin-left:auto;
  padding-right:10px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:26px;
}

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

.footer-links a{
  text-decoration:none;
  color:#111;
  font-weight:700;
  font-size:14px;
}

.footer-heading{
  margin:0 0 10px 0;
  font-size:15px;
  font-weight:800;
}

.footer-contacts-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
}

.footer-contact-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  font-size:13px;
}

.footer-contact-row .icon{
  width:20px;
  text-align:center;
  font-weight:900;
}

.footer-support{
  display:flex;
  align-items:center;
  gap:18px;
}

.support-text{
  font-weight:800;
  font-size:14px;
  min-width:90px;
}

.donate-btn{
  width:180px;
  padding:12px 0;
  border:1px solid #bdbdbd;
  background:#f4e8e6;
  font-weight:700;
  cursor:pointer;
}

.footer-bottom{
  border-top:1px solid #cfcfcf;
  padding:10px 40px 14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:11px;
}

.footer-bottom-left a{
  color:#111;
  text-decoration:none;
}

.footer-bottom-center{
  text-align:center;
  flex:1;
}

.alalay-avatar-marker{ background:transparent; border:none; }
.alalay-avatar-wrap{
  width:44px; height:44px; border-radius:50%;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  box-shadow:
    0 10px 20px rgba(0,0,0,0.25),
    0 0 0 4px rgba(34,121,156,0.55),
    0 0 0 7px rgba(178,178,178,0.35);
}

.alalay-marker-pulse .alalay-avatar-wrap{
  animation: alalayPulse 0.9s ease-out 1;
}

@keyframes alalayPulse{
  0%{ box-shadow: 0 10px 20px rgba(0,0,0,0.25), 0 0 0 4px rgba(34,121,156,0.55), 0 0 0 7px rgba(178,178,178,0.35); transform: scale(1); }
  60%{ box-shadow: 0 16px 28px rgba(0,0,0,0.30), 0 0 0 9px rgba(34,121,156,0.25), 0 0 0 16px rgba(178,178,178,0.18); transform: scale(1.06); }
  100%{ box-shadow: 0 10px 20px rgba(0,0,0,0.25), 0 0 0 4px rgba(34,121,156,0.55), 0 0 0 7px rgba(178,178,178,0.35); transform: scale(1); }
}

.alalay-me-marker{ background:transparent !important; border:none !important; }
.alalay-me-wrap{ position:relative; width:52px; height:52px; }
.alalay-me-ring{
  position:absolute; inset:0;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(34,121,156,.95), rgba(34,121,156,.35), rgba(34,121,156,0));
  box-shadow: 0 10px 18px rgba(0,0,0,.25);
  filter: saturate(1.1);
}
.alalay-me-avatar{
  position:absolute;
  inset:8px;
  border-radius:50%;
  background-size:cover;
  background-position:center;
  border:3px solid rgba(255,255,255,.95);
  box-shadow: 0 10px 16px rgba(0,0,0,.22);
}

.qa-bar{
  position:fixed;
  left:24px;
  bottom:24px;
  transform:none;
  z-index:9999;
  width: min(420px, 92vw);
}

.qa-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:54px;
  padding:0 26px;
  border-radius:999px;
  font-size:15px;
  font-weight:900;
  letter-spacing:0.2px;
  text-decoration:none;
  color:#fff;
  box-shadow:0 14px 30px rgba(0,0,0,0.25);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.qa-pill:hover{
  transform: translateY(-3px);
  box-shadow:0 18px 40px rgba(0,0,0,0.30);
}

.qa-pill--emg{
  background: linear-gradient(135deg,#e02828,#c21f1f);
  animation: qaFlicker 1.4s ease-in-out infinite;
}

.qa-pill--assist{
  background: linear-gradient(135deg,#0b8f63,#067a55);
}

.qa-ico{
  width:32px;
  height:32px;
  border-radius:999px;
  background: rgba(255,255,255,0.20);
  background-repeat:no-repeat;
  background-position:center;
  background-size:16px 16px;
  flex-shrink:0;
  position:relative;
  z-index:1;
}

.qa-pill span,
.qa-pill > *{ position:relative; z-index:1; }

.qa-ico--emg{ background-image:url("../photo/emergency-icon.png"); }
.qa-ico--assist{ background-image:url("../photo/assist-icon.png"); }

.qa-bar[hidden]{
  display:none !important;
}

@keyframes qaFlicker{
  0%,60%,100%{ filter: brightness(1); }
  70%{ filter: brightness(1.12); }
  85%{ filter: brightness(1.04); }
}


.nav-user{
  position:relative;
  display:inline-flex;
  align-items:center;
}

.nav-user-main{
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:0;
  padding:6px 12px 6px 6px;
  cursor:pointer;
  backdrop-filter:blur(6px);
  transition:background .18s ease, transform .18s ease;
}

.nav-user-main:hover{
  background:rgba(255,255,255,0.18);
}

.nav-user-avatar{
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(0,0,0,0.15);
  background-image:url("../photo/default-user.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}

.nav-user-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  text-align:left;
}

.nav-user-welcome{
  font-size:10px;
  font-weight:800;
  color:rgba(255,255,255,0.72);
  letter-spacing:0.2px;
}

.nav-user-name{
  font-size:12px;
  font-weight:900;
  color:#fff;
  max-width:150px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  letter-spacing:0.2px;
}

.nav-user-actions{
  position:absolute;
  right:0;
  top:calc(100% + 6px);
  z-index:9999;
  min-width:190px;
  padding:6px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:0;
  backdrop-filter: blur(6px);
  box-shadow:0 14px 34px rgba(0,0,0,0.22);
  display:flex;
  flex-direction:column;
  gap:2px;
  text-align:left;
}

.nav-user-link{
  display:flex;
  align-items:center;
  height:36px;
  padding:0 12px;
  border-radius:12px;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.2px;
  color:rgba(255,255,255,0.92);
  opacity:0.95;
}

.nav-user-link:hover{
  background:rgba(255,255,255,0.10);
  opacity:1;
}

.nav-user-link.logout{
  color:rgba(255,180,180,0.98);
}

.nav-user-link.logout:hover{
  background:rgba(199,58,58,0.18);
}

.nav-user-link.active{
  background:rgba(255,255,255,0.10);
}

.nav-user-actions[hidden]{
  display:none !important;
}

.nav-user-main,
.nav-user-actions{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

.nav-user-main{
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18) !important;
}

.nav-user-main:hover{
  background: rgba(255,255,255,0.14) !important;
  border-color: rgba(255,255,255,0.32) !important;
  transform: translateY(-1px);
}

.nav-user-welcome{ color: rgba(255,255,255,0.72) !important; }
.nav-user-name{ color:#fff !important; }

.nav-user-actions{
  background: rgba(10,42,54,0.98) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.30) !important;
}

.nav-user-link{
  border-radius:0 !important;
  color: rgba(255,255,255,0.92) !important;
}
.nav-user-link:hover{
  background: rgba(255,255,255,0.10) !important;
}

.navbar.nav-top .nav-user-main,
.navbar.nav-home.nav-top .nav-user-main{
  background: rgba(15,70,92,0.06) !important;
  border: 1px solid rgba(15,70,92,0.22) !important;
  box-shadow: 0 10px 22px rgba(2,8,12,0.12) !important;
}

.navbar.nav-top .nav-user-main:hover,
.navbar.nav-home.nav-top .nav-user-main:hover{
  background: rgba(15,70,92,0.09) !important;
  border-color: rgba(15,70,92,0.30) !important;
}

.navbar.nav-top .nav-user-welcome,
.navbar.nav-home.nav-top .nav-user-welcome{
  color: rgba(15,70,92,0.62) !important;
}

.navbar.nav-top .nav-user-name,
.navbar.nav-home.nav-top .nav-user-name{
  color: #0f465c !important;
}

.navbar.nav-top .nav-user-actions,
.navbar.nav-home.nav-top .nav-user-actions{
  background: #ffffff !important;
  border: 1px solid rgba(15,70,92,0.14) !important;
  box-shadow: 0 18px 46px rgba(2,8,12,0.16) !important;
}

.navbar.nav-top .nav-user-link,
.navbar.nav-home.nav-top .nav-user-link{
  color: rgba(15,70,92,0.92) !important;
}

.navbar.nav-top .nav-user-link:hover,
.navbar.nav-home.nav-top .nav-user-link:hover{
  background: rgba(15,70,92,0.08) !important;
}

.navbar.nav-top .nav-user-link.logout,
.navbar.nav-home.nav-top .nav-user-link.logout{
  color: #c21f1f !important;
}
.navbar.nav-top .nav-user-link.logout:hover,
.navbar.nav-home.nav-top .nav-user-link.logout:hover{
  background: rgba(194,31,31,0.10) !important;
}