/* ==========================================================================
   Arirang Master Educational Institute — reference-matched template
   ========================================================================== */
:root {
  --red:        #e02329;
  --red-dark:   #b81c22;
  --navy:       #12296b;
  --navy-2:     #0d1f52;
  --blue:       #1e4bb8;
  --blue-soft:  #eef3ff;
  --gold:       #f4c430;
  --ink:        #1a2235;
  --text:       #33384a;
  --text-mute:  #6b7180;
  --paper:      #ffffff;
  --soft:       #f4f7fc;
  --soft-2:     #eef2f9;
  --line:       #e4e8f0;
  --green:      #1eae63;

  --font-display: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  --font-body:    'Inter', 'Noto Sans Devanagari', sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px -20px rgba(18,41,107,0.3);
  --shadow-sm: 0 6px 20px -10px rgba(18,41,107,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); margin: 0; color: var(--ink); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 18px -8px rgba(224,35,41,.6); }
.btn-primary:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #fff5f5; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 12.5px; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; opacity: .92; }
.topbar-center { font-weight: 500; opacity: .95; }
.topbar-center[data-np] { font-family: 'Noto Sans Devanagari', var(--font-body); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-social { display: inline-flex; gap: 8px; }
.topbar-social a { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.topbar-social a:hover { background: var(--red); }
@media (max-width: 860px) { .topbar-center { display: none; } }
@media (max-width: 560px) { .topbar-item span { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 92px; }
.brand { flex-shrink: 0; }
.brand-logo { width: 205px; height: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 14.5px; font-weight: 600; color: var(--ink); position: relative; padding: 4px 0; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2.5px; background: var(--red); border-radius: 2px; transition: right .25s ease; }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.nav-link.active { color: var(--red); }

/* Highlighted animated UBT Test nav link */
.nav-ubt {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff !important;
  padding: 8px 15px !important;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 16px -6px rgba(224,35,41,.7);
  animation: ubtGlow 2s ease-in-out infinite;
  overflow: visible;
}
.nav-ubt::after { display: none !important; }
.nav-ubt:hover { background: var(--red-dark); color: #fff !important; transform: translateY(-1px); }
.nav-ubt-arrow { font-size: 13px; transition: transform .2s; }
.nav-ubt:hover .nav-ubt-arrow { transform: translate(2px,-2px); }
.nav-ubt-pulse { position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--red); opacity: .6; animation: ubtPulse 1.8s ease-out infinite; pointer-events: none; }
@keyframes ubtPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes ubtGlow { 0%,100% { box-shadow: 0 6px 16px -6px rgba(224,35,41,.7); } 50% { box-shadow: 0 6px 22px -4px rgba(224,35,41,.95); } }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; cursor: pointer; user-select: none; background: #fff; }
.lang-switch span { font-size: 12.5px; font-weight: 700; padding: 6px 11px; color: var(--navy); line-height: 1; transition: background .18s, color .18s; }
.lang-switch span.is-active { background: var(--red); color: #fff; }
.lang-switch:hover { border-color: var(--red); }
.lang-switch:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.header-call { box-shadow: 0 8px 18px -8px rgba(224,35,41,.6); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; }
.nav-toggle span { height: 2.5px; width: 22px; background: var(--ink); border-radius: 2px; }

@media (max-width: 980px) {
  .header-row { height: 74px; }
  .brand-logo { width: 150px; height: auto; }
  .main-nav { position: fixed; inset: 108px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 16px 22px 24px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .2s; max-height: calc(100vh - 108px); overflow-y: auto; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-call span { display: none; }
  .header-call { padding: 10px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #fff 0%, #fff 46%, var(--navy) 46%, var(--navy-2) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(circle at 88% 20%, rgba(224,35,41,.12), transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='none' stroke='%2312296b' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M0 10h10V0M10 20h10V10M20 30h10V20M30 40h10V30'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, 40px 40px;
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 54px 0 60px; }
.hero-badge { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 6px 14px; border-radius: 6px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.9rem, 3.9vw, 3rem); font-weight: 800; line-height: 1.15; color: var(--ink); }
.hero h1 .hl { color: var(--red); }
.hero-sub { font-size: 1.02rem; color: var(--text-mute); max-width: 44ch; margin: 16px 0 0; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0; }
.hcheck { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.hcheck i { width: 16px; height: 16px; border-radius: 50%; background: var(--green); position: relative; flex-shrink: 0; }
.hcheck i::after { content: ''; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-locs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-locs span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; box-shadow: var(--shadow-sm); }
.hero-locs svg { color: var(--red); }

.hero-visual { position: relative; }
.hero-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/3.4; }
.hero-float-card { position: absolute; left: -20px; bottom: -18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; width: 210px; border: 1px solid var(--line); animation: floaty 4s ease-in-out infinite; }
.hfc-title { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy); margin: 0 0 10px; }
.hfc-title svg { color: var(--red); }
.hero-float-card ul { list-style: none; margin: 0; padding: 0; }
.hero-float-card li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text); padding: 3px 0; }
.hero-float-card li i { width: 14px; height: 14px; border-radius: 50%; background: var(--green); position: relative; flex-shrink: 0; }
.hero-float-card li i::after { content: ''; position: absolute; left: 4.5px; top: 2.5px; width: 3px; height: 6px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero { background: #fff; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 36px 0 44px; }
  .hero-float-card { left: auto; right: 12px; width: 200px; }
}

/* ---------- Quick strip ---------- */
.strip { background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%); }
.strip-row { display: flex; justify-content: space-between; gap: 8px; padding: 18px 0; }
.strip-item { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; font-weight: 600; flex: 1; justify-content: center; border-right: 1px solid rgba(255,255,255,.12); }
.strip-item:last-child { border-right: none; }
.strip-ic { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 820px) { .strip-row { flex-wrap: wrap; } .strip-item { flex: 0 0 45%; border-right: none; justify-content: flex-start; } }

/* ---------- Sections ---------- */
.section { padding: 66px 0; }
.section-soft { background: var(--soft); }
.sec-title { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 800; }
.sec-title .hl { color: var(--red); }
.sec-title.center { text-align: center; }
.sec-sub { font-size: 1rem; color: var(--text-mute); margin: 10px 0 0; }
.sec-sub.center { text-align: center; max-width: 60ch; margin-left: auto; margin-right: auto; }
.sec-sub b { color: var(--navy); }
.pill-label { display: block; width: fit-content; margin: 0 auto 14px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .05em; padding: 6px 16px; border-radius: 999px; }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.why-ic-blue { background: var(--blue-soft); color: var(--blue); }
.why-ic-red { background: #fdecec; color: var(--red); }
.why-ic-green { background: #e7f7ef; color: var(--green); }
.why-ic-purple { background: #f0ebfb; color: #7c3aed; }
.why-ic-teal { background: #e5f6f6; color: #0d9488; }
.why-card h3 { font-size: 15px; margin-bottom: 6px; }
.why-card p { font-size: 12.5px; color: var(--text-mute); margin: 0; }
@media (max-width: 1080px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Courses ---------- */
.course-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 38px; }
.course-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-featured { border-color: var(--red); box-shadow: 0 14px 30px -18px rgba(224,35,41,.5); }
.course-tag { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.course-img { aspect-ratio: 16/10; overflow: hidden; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.course-card:hover .course-img img { transform: scale(1.07); }
.course-body { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; }
.course-body h3 { font-size: 16px; margin-bottom: 6px; }
.course-np { font-size: 12.5px; color: var(--text-mute); margin: 0 0 12px; font-family: 'Noto Sans Devanagari', var(--font-body); }
.course-list { list-style: none; margin: 0 0 16px; padding: 0; }
.course-list li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text); padding: 4px 0; }
.course-list li i { width: 15px; height: 15px; border-radius: 50%; background: var(--green); position: relative; flex-shrink: 0; }
.course-list li i::after { content: ''; position: absolute; left: 4.5px; top: 2.5px; width: 3.5px; height: 6.5px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.course-featured .course-list li i { background: var(--red); }
.course-btn { margin-top: auto; width: 100%; }
@media (max-width: 1080px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .course-grid { grid-template-columns: 1fr; } }

/* ---------- UBT band ---------- */
.ubt-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.ubt-band-bg { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(circle at 80% 30%, rgba(224,35,41,.22), transparent 45%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M0 10h10V0M10 20h10V10M20 30h10V20M30 40h10V30'/%3E%3C/g%3E%3C/svg%3E"); background-size: cover, 40px 40px; pointer-events: none; }
.ubt-band-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 0; }
.ubt-band-photo img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; }
.ubt-band-copy { padding: 48px 0; }
.ubt-pill { display: inline-block; background: rgba(255,255,255,.14); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; padding: 6px 16px; border-radius: 999px; margin-bottom: 14px; }
.ubt-band-copy h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; }
.ubt-band-copy h2 .hl-red { color: var(--red); }
.ubt-band-copy > p { color: rgba(255,255,255,.8); max-width: 52ch; margin: 12px 0 20px; }
.ubt-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.ubt-tag { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 8px 13px; font-size: 12.5px; font-weight: 600; }
.ubt-tag i { width: 14px; height: 14px; border-radius: 50%; background: var(--green); position: relative; flex-shrink: 0; }
.ubt-tag i::after { content: ''; position: absolute; left: 4.5px; top: 2.5px; width: 3px; height: 6px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 860px) { .ubt-band-grid { grid-template-columns: 1fr; } .ubt-band-photo img { max-height: 260px; } .ubt-band-copy { padding: 30px 0 40px; } }

/* ---------- Booster section ---------- */
.booster-sec { background: linear-gradient(120deg, #fdecec 0%, #fff 55%, var(--blue-soft) 100%); }
.booster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.booster-np { font-family: 'Noto Sans Devanagari', var(--font-body); color: var(--navy); font-weight: 600; margin: 8px 0 18px; }
.booster-list { list-style: none; margin: 0 0 24px; padding: 0; }
.booster-list li { display: flex; align-items: center; gap: 11px; padding: 8px 0; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.booster-list li i { width: 22px; height: 22px; border-radius: 50%; background: var(--red); position: relative; flex-shrink: 0; }
.booster-list li i::after { content: ''; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.booster-visual { position: relative; display: flex; justify-content: center; }
.booster-student { max-width: 340px; width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 3/3.4; }
.sticky-note { position: absolute; top: 10px; right: 0; background: #fdf3a8; padding: 22px 20px; width: 190px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.3); transform: rotate(4deg); border-radius: 3px; animation: notewave 5s ease-in-out infinite; }
.sticky-note p { font-family: 'Poppins', cursive; font-weight: 600; font-size: 17px; color: #2a2a2a; margin: 0; line-height: 1.4; }
.sticky-heart { color: var(--red); font-size: 20px; }
@keyframes notewave { 0%,100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-8px); } }
@media (max-width: 820px) { .booster-grid { grid-template-columns: 1fr; gap: 30px; } .sticky-note { right: 10px; } }

/* ---------- Journey ---------- */
.journey-row { display: flex; align-items: stretch; justify-content: center; gap: 8px; margin-top: 40px; }
.journey-step { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; text-align: center; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.journey-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.journey-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.journey-num-red { background: #fdecec; color: var(--red); }
.journey-step h3 { font-size: 15px; margin-bottom: 6px; }
.journey-step p { font-size: 12.5px; color: var(--text-mute); margin: 0; }
.journey-arrow { display: flex; align-items: center; color: var(--red); font-size: 22px; font-weight: 700; flex-shrink: 0; }
@media (max-width: 860px) { .journey-row { flex-direction: column; } .journey-arrow { transform: rotate(90deg); justify-content: center; padding: 2px 0; } }

/* ---------- Testimonials + branches ---------- */
.testi-wrap { display: grid; grid-template-columns: 1.7fr 1fr; gap: 30px; align-items: start; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.testi-card > p { font-size: 12.8px; color: var(--text); font-style: italic; margin: 0 0 14px; font-family: 'Noto Sans Devanagari', var(--font-body); }
.testi-person { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-name { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0; }
.testi-role { font-size: 11px; color: var(--text-mute); margin: 0; }

.branch-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.branch-box-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.branch-box-head h3 { color: #fff; font-size: 17px; }
.branch-follow { font-size: 11px; opacity: .85; display: inline-flex; align-items: center; gap: 6px; }
.branch-follow a { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.14); display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.branch-follow a:hover { background: var(--red); }
.branch-item { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.branch-name { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: #fff; margin: 0 0 4px; }
.branch-name svg { color: var(--gold); }
.branch-addr { font-size: 12.5px; opacity: .8; margin: 0 0 8px; }
.branch-meta { display: flex; gap: 16px; font-size: 12px; margin: 0; }
.branch-meta span { display: inline-flex; align-items: center; gap: 5px; opacity: .9; }
.branch-meta svg { color: var(--gold); }
@media (max-width: 900px) { .testi-wrap { grid-template-columns: 1fr; } .testi-grid { grid-template-columns: 1fr; } }

/* ---------- Life + FAQ ---------- */
.life-faq { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: start; }
.life-tabs { display: flex; gap: 18px; margin: 18px 0; border-bottom: 1px solid var(--line); }
.life-tab { font-size: 13px; font-weight: 600; color: var(--text-mute); padding-bottom: 10px; cursor: pointer; position: relative; }
.life-tab.is-active { color: var(--red); }
.life-tab.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; background: var(--red); border-radius: 2px; }
.life-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.life-item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; cursor: pointer; border: 1px solid var(--line); }
.life-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.life-item:hover img { transform: scale(1.08); }
.faq-list { margin-top: 18px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; padding: 0 16px; }
.faq-item summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--ink); padding: 14px 0; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '⌄'; font-size: 18px; color: var(--red); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { font-size: 13px; color: var(--text-mute); margin: 0; padding: 0 0 16px; }
@media (max-width: 900px) { .life-faq { grid-template-columns: 1fr; } .life-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .life-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--red) 0%, #c81a20 100%); color: #fff; text-align: center; }
.cta-band-bg { position: absolute; inset: 0; z-index: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1'%3E%3Cpath d='M0 10h10V0M10 20h10V10M20 30h10V20M30 40h10V30'/%3E%3C/g%3E%3C/svg%3E"); background-size: 40px 40px; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; padding: 40px 0; }
.cta-inner h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-inner p { margin: 8px 0 20px; opacity: .95; font-family: 'Noto Sans Devanagari', var(--font-body); }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: rgba(255,255,255,.75); padding: 46px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1fr; gap: 26px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { width: 190px; height: auto; background: #fff; padding: 8px 12px; border-radius: 8px; margin-bottom: 14px; }
.footer-tag { font-size: 12px; opacity: .7; margin: 4px 0; }
.footer-tag-np { font-family: 'Noto Sans Devanagari', var(--font-body); }
.footer-links h4 { color: #fff; font-size: 13px; margin-bottom: 14px; }
.footer-links a { display: block; font-size: 12.5px; margin-bottom: 9px; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-branch { color: #fff; font-size: 12.5px; font-weight: 600; margin: 8px 0 2px; }
.footer-addr { font-size: 11.5px; opacity: .7; margin: 0 0 4px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s; }
.footer-social a:hover { background: var(--red); }
.footer-bottom { text-align: center; padding: 16px 0; font-size: 12px; opacity: .65; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); z-index: 60; transition: transform .2s; animation: pulse 2.4s infinite; }
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(10,12,20,.92); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.lightbox[hidden] { display: none; }
.lightbox-content { max-width: 900px; max-height: 85vh; }
.lightbox-content img { width: 100%; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 22px; right: 26px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 16px; cursor: pointer; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   ADDITIONS: hero circle slider, page-hero, comparison, notices, korea, contact
   ========================================================================== */

/* ---------- Hero image slider (tall panel) ---------- */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0; }
.hero-circle {
  position: relative;
  width: 100%;
  aspect-ratio: 4/4.4;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(18,41,107,.55);
  border: none;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero-dots { display: flex; gap: 8px; margin-top: 16px; justify-content: center; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(18,41,107,.25); cursor: pointer; padding: 0; transition: width .2s, background .2s, border-radius .2s; }
.hero-dot.is-active { background: var(--red); width: 24px; border-radius: 5px; }
.hero-float-card { position: absolute; left: -14px; bottom: 34px; z-index: 3; }
@media (max-width: 900px) {
  .hero-circle { aspect-ratio: 4/3.6; border-width: 4px; }
  .hero-float-card { left: 0; bottom: 20px; width: 190px; }
  .hero-dots { margin-bottom: 6px; }
}

/* ---------- Page hero (interior banner) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; text-align: center; padding: 50px 0; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(circle at 80% 30%, rgba(224,35,41,.2), transparent 45%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M0 10h10V0M10 20h10V10M20 30h10V20M30 40h10V30'/%3E%3C/g%3E%3C/svg%3E"); background-size: cover, 40px 40px; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
.page-hero p { color: rgba(255,255,255,.82); margin: 10px 0 0; }

/* ---------- Comparison table ---------- */
.vs { color: var(--navy); font-weight: 700; }
.cmp { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.cmp-head { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.cmp-head > span { padding: 14px 16px; }
.cmp-head .cmp-us { color: var(--gold); }
.cmp-head .cmp-them { color: rgba(255,255,255,.7); }
.cmp-row { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; border-top: 1px solid var(--line); }
.cmp-feat { padding: 16px; font-weight: 600; font-size: 13.5px; color: var(--ink); display: flex; align-items: center; }
.cmp-us, .cmp-them { padding: 16px; display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.45; }
.cmp-us { background: #fdf4f4; }
.cmp-us b.yes, .cmp-them b.no { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; position: relative; margin-top: 1px; }
.cmp-us b.yes { background: var(--green); }
.cmp-us b.yes::after { content: ''; position: absolute; left: 6px; top: 4px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cmp-them b.no { background: #e2e6ee; }
.cmp-them b.no::before, .cmp-them b.no::after { content: ''; position: absolute; left: 8px; top: 4px; width: 2px; height: 10px; background: #9aa2b4; }
.cmp-them b.no::before { transform: rotate(45deg); }
.cmp-them b.no::after { transform: rotate(-45deg); }
.cmp-them { color: var(--text-mute); }
.cmp-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.cmp-cta-loc { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-mute); }
.cmp-cta-loc svg { color: var(--red); }
@media (max-width: 760px) {
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-feat { padding-bottom: 6px; border-top: none; }
  .cmp-us, .cmp-them { padding-top: 6px; padding-bottom: 6px; }
  .cmp-row { border-top: 6px solid var(--soft); }
}

/* ---------- Notice board ---------- */
.pill-label-red { background: #fdecec; color: var(--red); display: inline-flex; align-items: center; gap: 7px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: relative; }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); opacity: .5; animation: livepulse 1.6s infinite; }
@keyframes livepulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.notice-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.notice-board-full { grid-template-columns: repeat(3, 1fr); }
.notice-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.notice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.notice-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.notice-thumb img { width: 100%; height: 100%; object-fit: cover; }
.notice-flag { position: absolute; top: 10px; left: 10px; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.notice-flag-red { background: var(--red); }
.notice-flag-blue { background: var(--blue); }
.notice-flag-gold { background: var(--gold); color: var(--ink); }
.notice-content { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; }
.notice-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.notice-by { font-size: 11px; font-weight: 700; color: var(--red); background: #fdecec; padding: 2px 8px; border-radius: 999px; }
.notice-date { font-size: 11px; color: var(--text-mute); font-family: 'Inter', monospace; }
.notice-content h3 { font-size: 15px; margin-bottom: 6px; line-height: 1.35; }
.notice-content p { font-size: 12.8px; color: var(--text-mute); margin: 0; }
.notice-more { text-align: center; margin-top: 30px; }
@media (max-width: 900px) { .notice-board, .notice-board-full { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .notice-board, .notice-board-full { grid-template-columns: 1fr; } }

/* ---------- Korea tabs / panels ---------- */
.hl-blue { color: var(--blue); }
.korea-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 34px 0 30px; }
.korea-tab { font-size: 12.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text-mute); cursor: pointer; }
.korea-tab.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.korea-panel { display: none; }
.korea-panel.is-active { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.korea-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.korea-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.korea-card-tag { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.korea-card h3 { font-size: 17px; margin-bottom: 3px; }
.korea-card-loc { font-size: 12.5px; color: var(--text-mute); margin: 0 0 14px; }
.korea-card-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.korea-card-facts span { display: block; font-size: 11px; color: var(--text-mute); margin-bottom: 3px; }
.korea-card-facts strong { display: block; font-size: 12.5px; color: var(--ink); font-weight: 700; line-height: 1.4; }
.korea-card-req { font-size: 12px; color: var(--text-mute); margin: 0; }
.korea-more { text-align: center; margin-top: 30px; }

.visa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.visa-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.visa-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 40px; border-radius: 10px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 14px; padding: 0 12px; }
.visa-badge-blue { background: var(--blue); }
.visa-badge-red { background: var(--red); }
.visa-card h3 { font-size: 17px; margin-bottom: 12px; }
.visa-card ul { list-style: none; margin: 0; padding: 0; }
.visa-card li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--text); padding: 6px 0; }
.visa-card li i { width: 16px; height: 16px; border-radius: 50%; background: var(--green); position: relative; flex-shrink: 0; margin-top: 2px; }
.visa-card li i::after { content: ''; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 760px) { .korea-grid, .visa-grid { grid-template-columns: 1fr; } .korea-tabs { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; } }

.scholar-box { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.scholar-box h3 { font-size: 18px; margin-bottom: 4px; }
.scholar-note { font-size: 13px; color: var(--text-mute); margin: 0 0 20px; }
.scholar-rows { display: flex; flex-direction: column; gap: 14px; }
.scholar-row { display: grid; grid-template-columns: 140px 1fr 70px; align-items: center; gap: 12px; font-size: 13px; }
.scholar-row > span { font-weight: 600; color: var(--ink); }
.scholar-bar { height: 10px; background: var(--soft-2); border-radius: 999px; overflow: hidden; }
.scholar-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 999px; }
.scholar-row b { text-align: right; color: var(--red); font-size: 12.5px; }
.scholar-disc { font-size: 11.5px; color: var(--text-mute); margin: 18px 0 0; font-style: italic; }
@media (max-width: 520px) { .scholar-row { grid-template-columns: 90px 1fr 56px; font-size: 12px; } }

.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin: 0 auto; }
.doc-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 16px; font-size: 13px; cursor: pointer; transition: border-color .15s; }
.doc-item:hover { border-color: var(--blue); }
.doc-item input { width: 17px; height: 17px; accent-color: var(--red); flex-shrink: 0; }
@media (max-width: 620px) { .docs-grid { grid-template-columns: 1fr; } }

/* ---------- Media / Gallery uploads ---------- */
.media-sub { margin-top: 36px; }
.media-sub:first-of-type { margin-top: 0; }
.media-subhead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.media-subhead h3 { font-size: 18px; }
.media-upload { cursor: pointer; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.office-video { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21/8; background: var(--navy); cursor: pointer; }
.office-video img, .office-video video { width: 100%; height: 100%; object-fit: cover; }
.office-video-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(13,31,82,.55); color: #fff; }
.ov-play { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.16); border: 2px solid rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.office-video-empty p { font-size: 13px; margin: 0; }
.office-video.has-video .office-video-empty { display: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1; cursor: pointer; background: #0d1f52; }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.06); }
@media (max-width: 760px){ .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 430px){ .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.gallery-item-remove { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: none; background: rgba(13,31,82,.75); color: #fff; font-size: 13px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; }
.media-empty-hint { font-size: 12.5px; color: var(--text-mute); font-style: italic; margin: 8px 0 0; }
.media-empty-hint.is-hidden { display: none; }

/* ---------- Intakes ---------- */
.intake-table { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.intake-row { display: grid; grid-template-columns: 1.6fr 1fr .9fr 1fr .9fr; align-items: center; gap: 10px; padding: 15px 18px; border-top: 1px solid var(--line); font-size: 13.3px; }
.intake-row:first-child { border-top: none; }
.intake-head { background: var(--navy); color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: .04em; font-weight: 700; text-transform: uppercase; }
.intake-name { font-weight: 700; color: var(--ink); }
.intake-status { display: inline-flex; width: fit-content; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.intake-status-open { background: #e7f7ef; color: var(--green); }
.intake-status-fast { background: #fdecec; color: var(--red); }
.intake-cta { padding: 8px 15px; font-size: 12.5px; justify-self: start; }
.intake-note { margin-top: 18px; font-size: 12.5px; color: var(--text-mute); font-style: italic; }
@media (max-width: 800px) { .intake-row { grid-template-columns: 1fr; gap: 6px; } .intake-head { display: none; } .intake-cta { margin-top: 8px; justify-self: stretch; } }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.contact-card { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.contact-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card h4 { font-size: 14px; margin-bottom: 4px; }
.contact-card p { font-size: 12.5px; color: var(--text-mute); margin: 0 0 4px; }
.contact-card a { font-size: 13px; color: var(--red); font-weight: 600; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3/3.4; box-shadow: var(--shadow-sm); }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } .contact-cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   ADDITIONS 2: director message, about us, UBT link band, wide FAQ
   ========================================================================== */

/* ---------- Director message ---------- */
.director-sec { background: var(--soft); }
.director-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.director-photo { position: relative; }
.director-photo > img { width: 100%; max-width: 360px; border-radius: var(--radius); object-fit: cover; aspect-ratio: 3/3.4; box-shadow: var(--shadow); margin: 0 auto; display: block; }
.director-badge { position: absolute; left: 50%; transform: translateX(-50%); bottom: -18px; background: var(--navy); color: #fff; border-radius: 10px; padding: 10px 20px; text-align: center; box-shadow: var(--shadow); white-space: nowrap; }
.director-badge-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.director-badge-role { display: block; font-size: 11.5px; color: var(--gold); }
.director-quote { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--navy); line-height: 1.5; margin: 16px 0 16px; padding-left: 16px; border-left: 4px solid var(--red); }
.director-text { font-size: .98rem; color: var(--text-mute); margin: 0 0 18px; }
.director-sign { margin-top: 8px; }
.director-sign-name { display: block; font-family: 'Poppins', cursive; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.director-sign-role { display: block; font-size: 12.5px; color: var(--text-mute); }
@media (max-width: 860px) { .director-grid { grid-template-columns: 1fr; gap: 44px; } .director-photo > img { max-width: 300px; } }

/* ---------- About us ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.about-photo { position: relative; }
.about-photo > img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4/3.4; box-shadow: var(--shadow); }
.about-photo-tag { position: absolute; right: -14px; bottom: -14px; background: var(--red); color: #fff; border-radius: 14px; padding: 14px 20px; text-align: center; box-shadow: var(--shadow); }
.about-photo-tag strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; line-height: 1; }
.about-photo-tag span { display: block; font-size: 11px; margin-top: 3px; opacity: .95; }
.about-text { font-size: .98rem; color: var(--text-mute); margin: 0 0 16px; }
.about-stats { display: flex; gap: 26px; margin: 22px 0 24px; flex-wrap: wrap; }
.about-stat strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--red); line-height: 1; }
.about-stat span { display: block; font-size: 12px; color: var(--text-mute); margin-top: 4px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- UBT link band ---------- */
.ubt-link-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.ubt-link-band-bg { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(circle at 85% 40%, rgba(224,35,41,.28), transparent 46%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M0 10h10V0M10 20h10V10M20 30h10V20M30 40h10V30'/%3E%3C/g%3E%3C/svg%3E"); background-size: cover, 40px 40px; pointer-events: none; }
.ubt-link-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 0; flex-wrap: wrap; }
.ubt-link-copy h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.ubt-link-copy h2 .hl-red { color: var(--gold); }
.ubt-link-copy p { color: rgba(255,255,255,.8); margin: 8px 0 0; }
.ubt-link-btn { animation: ubtGlow 2s ease-in-out infinite; }

/* ---------- Wide FAQ (About page) ---------- */
.faq-list-wide { max-width: 820px; margin: 34px auto 0; }

/* ========================================================= */
/*  Chatbot widget                                           */
/* ========================================================= */
.chatbot { position: fixed; right: 20px; bottom: 90px; z-index: 1200; }
.chatbot-toggle { position: relative; width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(224,35,41,.45);
  display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s; z-index: 2; }
.chatbot-toggle:hover { transform: scale(1.06); }
/* inner-to-outer ripple rings to attract clicks */
.chatbot-toggle::before,
.chatbot-toggle::after { content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--red); z-index: -1; animation: cbRipple 2.4s cubic-bezier(.35,0,.25,1) infinite; }
.chatbot-toggle::after { animation-delay: 1.2s; }
@keyframes cbRipple { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }
/* stop the rings once the chat is open */
.chatbot.is-open .chatbot-toggle::before,
.chatbot.is-open .chatbot-toggle::after { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce){ .chatbot-toggle::before, .chatbot-toggle::after { animation: none; opacity: 0; } }
.chatbot-toggle .cb-ic-close { display: none; }
.chatbot.is-open .chatbot-toggle { background: var(--navy); }
.chatbot.is-open .chatbot-toggle .cb-ic-open { display: none; }
.chatbot.is-open .chatbot-toggle .cb-ic-close { display: block; }
.chatbot-panel { position: absolute; right: 0; bottom: 72px; width: 340px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,23,42,.28);
  display: flex; flex-direction: column; height: 460px; max-height: calc(100vh - 160px);
  animation: cbIn .22s ease; }
.chatbot-panel[hidden] { display: none !important; }
@keyframes cbIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.chatbot-head { background: linear-gradient(120deg, var(--grad-from), var(--grad-to)); color: #fff;
  padding: 14px 16px; display: flex; align-items: center; gap: 11px; }
.chatbot-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.chatbot-title { font-weight: 700; font-size: 15px; margin: 0; }
.chatbot-status { font-size: 11px; opacity: .85; margin: 2px 0 0; display: flex; align-items: center; gap: 5px; }
.chatbot-dot { width: 7px; height: 7px; border-radius: 50%; background: #39d98a; display: inline-block; }
.chatbot-body { flex: 1; overflow-y: auto; padding: 16px; background: #f6f7fb; display: flex; flex-direction: column; gap: 10px; }
.cb-msg { max-width: 80%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.cb-bot { background: #fff; color: #1f2937; border: 1px solid #eceef3; border-bottom-left-radius: 5px; align-self: flex-start; }
.cb-user { background: var(--red); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.cb-typing { display: flex; gap: 4px; align-items: center; }
.cb-typing span { width: 7px; height: 7px; border-radius: 50%; background: #c3c8d4; animation: cbBlink 1s infinite; }
.cb-typing span:nth-child(2){ animation-delay: .2s; } .cb-typing span:nth-child(3){ animation-delay: .4s; }
@keyframes cbBlink { 0%,60%,100%{ opacity: .3; } 30%{ opacity: 1; } }
.chatbot-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; background: #f6f7fb; border-top: 1px solid #ececf2; }
.chatbot-quick button { font-size: 12px; padding: 6px 10px; border-radius: 20px; border: 1px solid var(--red);
  background: #fff; color: var(--red); cursor: pointer; transition: background .15s, color .15s; }
.chatbot-quick button:hover { background: var(--red); color: #fff; }
.chatbot-input { display: flex; gap: 8px; padding: 10px 12px; background: #fff; border-top: 1px solid #ececf2; }
.chatbot-input input { flex: 1; border: 1px solid #d8dbe4; border-radius: 22px; padding: 9px 14px; font-size: 13.5px; outline: none; }
.chatbot-input input:focus { border-color: var(--red); }
.chatbot-input button { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--red); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
@media (max-width: 480px){ .chatbot { right: 14px; bottom: 84px; } .chatbot-panel { width: calc(100vw - 28px); } }

/* Lightbox iframe support */
.lightbox-content iframe { width: min(90vw, 960px); height: min(56.25vw, 540px); border-radius: 10px; background: #000; }

/* ========================================================= */
/*  Contact form                                             */
/* ========================================================= */
.contact-form { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #d8dbe4; border-radius: 10px;
  padding: 12px 14px; font: inherit; font-size: 14px; outline: none; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(224,35,41,.1); }
.contact-form .form-ok { background: #e9f9f0; color: #12794a; border: 1px solid #a6e4c4; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.contact-form .form-err { background: #fdecec; color: #b3221f; border: 1px solid #f3b1af; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
@media (max-width: 560px){ .contact-form .form-row { grid-template-columns: 1fr; } }

/* Contact WhatsApp button with attention pulse */
.btn-whatsapp{ background:#25D366; color:#fff; border:none; display:inline-flex; align-items:center; gap:9px; }
.btn-whatsapp:hover{ background:#1db954; color:#fff; }
.btn.attract{ position:relative; animation: btnAttract 1.8s ease-in-out infinite; }
.btn.attract::after{ content:''; position:absolute; inset:0; border-radius:inherit; box-shadow:0 0 0 0 rgba(37,211,102,.55); animation: btnRing 1.8s ease-out infinite; pointer-events:none; }
@keyframes btnAttract { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-3px); } }
@keyframes btnRing { 0%{ box-shadow:0 0 0 0 rgba(37,211,102,.5); } 70%{ box-shadow:0 0 0 14px rgba(37,211,102,0); } 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce){ .btn.attract, .btn.attract::after { animation:none; } }

/* Gallery filter tabs */
.gallery-filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:26px; }
.gallery-filter{ border:1.5px solid var(--line); background:#fff; color:var(--navy); font:inherit; font-weight:600;
  font-size:14px; padding:9px 20px; border-radius:30px; cursor:pointer; transition:background .18s, color .18s, border-color .18s; display:inline-flex; align-items:center; gap:7px; }
.gallery-filter span{ font-size:12px; background:#eef1f6; color:#6b7280; border-radius:20px; padding:1px 8px; transition:background .18s, color .18s; }
.gallery-filter:hover{ border-color:var(--red); color:var(--red); }
.gallery-filter.is-active{ background:var(--red); border-color:var(--red); color:#fff; }
.gallery-filter.is-active span{ background:rgba(255,255,255,.25); color:#fff; }
.gallery-item.is-hidden{ display:none; }
.gallery-empty-msg{ text-align:center; color:#6b7280; padding:30px 0; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.testi-media { position: relative; aspect-ratio: 4/3; background: #0d1f52; cursor: pointer; overflow: hidden; }
.testi-media img, .testi-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.testi-media:hover img, .testi-media:hover video { transform: scale(1.05); }
.testi-body { padding: 18px 20px 20px; }
.testi-quote { font-size: 13.5px; color: var(--text-mute); font-style: italic; line-height: 1.55; margin: 0 0 12px; }
.testi-name { font-weight: 700; color: var(--ink); font-size: 14.5px; margin: 0; }
.testi-role { font-size: 12px; color: var(--red); font-weight: 600; margin: 3px 0 0; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .testi-grid { grid-template-columns: 1fr; } }

/* Gallery video affordances */
.gallery-item{ position:relative; cursor:pointer; }
.gallery-item.is-video .gallery-play{ position:absolute; inset:0; margin:auto; width:52px; height:52px;
  display:flex; align-items:center; justify-content:center; background:rgba(224,35,41,.92); color:#fff;
  border-radius:50%; font-size:20px; box-shadow:0 6px 18px rgba(0,0,0,.3); pointer-events:none; }
.gallery-item .gallery-video-ph{ width:100%; aspect-ratio:1; background:linear-gradient(135deg,#12296b,#0d1f52);
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.5); font-size:34px; }
