*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #c8102e;
  --red2:   #a50d25;
  --yellow: #f5c518;
  --yellow2:#e0b000;
  --dark:   #0f0600;
  --card-bg: rgba(255,255,255,0.06);
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--dark);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── animated bg ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200,16,46,.28) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 20%,  rgba(245,197,24,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 80% 10%,  rgba(200,16,46,.10) 0%, transparent 55%);
  z-index: 0;
  pointer-events: none;
}

/* horizontal fire-stripe at bottom */
body::after {
  content: '';
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--red));
  z-index: 999;
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  padding: .85rem 1.2rem;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid rgba(245,197,24,.25);
}

nav a {
  text-decoration: none;
  color: #ffffffcc;
  font-weight: 700;
  font-size: .88rem;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid transparent;
  transition: all .22s;
}
nav a:hover { border-color: var(--yellow); color: var(--yellow); }
nav a.cta {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
nav a.cta:hover { background: var(--red2); border-color: var(--red2); }

/* ─── HERO ─── */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 1.5rem 1.5rem;
  gap: 0;
}

/* logo badge */
.logo-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(var(--yellow), var(--red), var(--yellow));
  box-shadow: 0 0 50px rgba(200,16,46,.65), 0 0 100px rgba(245,197,24,.25);
  margin-bottom: 1.8rem;
}

.logo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #1a0a00;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.logo-inner svg {
  width: 72px;
  height: 72px;
  fill: var(--yellow);
}

h1 {
  font-size: clamp(2.6rem, 9vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--yellow);
  text-shadow: 0 2px 20px rgba(245,197,24,.4);
}
h1 .en {
  display: block;
  font-size: 38%;
  letter-spacing: .18em;
  color: #ffffff88;
  font-weight: 600;
  margin-top: .3rem;
}

.tagline {
  margin-top: .9rem;
  font-size: clamp(.95rem, 2.8vw, 1.2rem);
  color: #ffffff99;
  font-weight: 600;
  line-height: 1.6;
  max-width: 380px;
}

/* ─── HOTLINE ─── */
.hotline {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: linear-gradient(135deg, var(--red), var(--red2));
  border: 3px solid var(--yellow);
  color: #fff;
  font-weight: 900;
  font-size: 1.7rem;
  padding: .75rem 2rem;
  border-radius: 50px;
  letter-spacing: .1em;
  box-shadow: 0 6px 28px rgba(200,16,46,.55), 0 0 0 5px rgba(245,197,24,.15);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  direction: ltr;
}
.hotline:hover { transform: scale(1.05); box-shadow: 0 10px 36px rgba(200,16,46,.7); }
.hotline svg { width: 24px; height: 24px; fill: var(--yellow); flex-shrink: 0; }
.hotline .label {
  font-size: .6em;
  font-weight: 700;
  color: var(--yellow);
  display: block;
  letter-spacing: .05em;
  line-height: 1;
  margin-bottom: .1rem;
}

/* ─── DIVIDER ─── */
.divider {
  width: 90px;
  height: 3px;
  margin: 2rem auto 1.4rem;
  background: linear-gradient(90deg, transparent, var(--yellow), var(--red), transparent);
  border-radius: 99px;
}

/* ─── SOCIAL BAR ─── */
.social-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem 1rem 1.5rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: transform .22s, box-shadow .22s, filter .22s;
  position: relative;
}
.social-btn svg { width: 26px; height: 26px; fill: currentColor; }
.social-btn:hover { transform: translateY(-5px) scale(1.12); filter: brightness(1.15); }

.social-btn.fb {
  background: linear-gradient(145deg, #1877f2, #0b5cc7);
  box-shadow: 0 6px 20px rgba(24,119,242,.5);
}
.social-btn.ig {
  background: linear-gradient(145deg, #f58529, #dd2a7b, #8134af);
  box-shadow: 0 6px 20px rgba(221,42,123,.5);
}
.social-btn.lt {
  background: linear-gradient(145deg, #39c25e, #1b8e38);
  box-shadow: 0 6px 20px rgba(57,194,94,.5);
}

/* tooltip */
.social-btn::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(0,0,0,.85);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  padding: .25rem .65rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.social-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── BRANCHES ─── */
.branches-section {
  position: relative;
  z-index: 1;
  padding: 0 1.2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.branches-section .sec-title {
  text-align: center;
  margin-bottom: .5rem;
}
.branches-section .sec-title h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--yellow);
}
.branches-section .sec-title p {
  color: #ffffff66;
  font-size: .9rem;
  margin-top: .3rem;
  font-weight: 600;
}

.gov-block { margin-top: 2rem; }

.gov-label {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(245,197,24,.25);
}
.gov-label .badge {
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  padding: .2rem .7rem;
  border-radius: 50px;
  border: 1.5px solid var(--yellow);
  white-space: nowrap;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.branch-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
  cursor: default;
}
.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
  border-color: rgba(245,197,24,.3);
}

.branch-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #1a0a00;
  position: relative;
}
.branch-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.branch-card:hover .branch-img-wrap img { transform: scale(1.06); }
.branch-img-wrap .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #1a0a00, #2d1005);
}

.branch-body { padding: .9rem 1rem; }

.branch-name {
  font-size: 1rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: .4rem;
  line-height: 1.3;
}
.branch-addr {
  font-size: .82rem;
  color: #ffffff99;
  font-weight: 600;
  line-height: 1.5;
}
.branch-hall {
  display: inline-block;
  margin-top: .5rem;
  background: rgba(200,16,46,.2);
  border: 1px solid rgba(200,16,46,.4);
  color: #ff6b80;
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .6rem;
  border-radius: 50px;
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem;
  font-size: .78rem;
  color: #ffffff33;
  border-top: 1px solid rgba(255,255,255,.06);
}
footer a { color: var(--yellow); opacity: .7; text-decoration: none; }
footer a:hover { opacity: 1; }
