/* ===================================================================
   MEZMURE DAWIT SPIRITUAL CHANT TRAINING INSTITUTE - LINK HUB
   Brand Aesthetic: Sacred Liturgical Emerald Green & Golden Accents
   =================================================================== */

:root {
  /* Brand Palette derived from reference */
  --bg-darkest: #04140b;
  --bg-deep: #082315;
  --bg-surface: rgba(11, 41, 25, 0.75);
  --bg-surface-hover: rgba(17, 60, 37, 0.9);
  --bg-card-border: rgba(255, 255, 255, 0.12);
  --bg-card-border-hover: rgba(234, 179, 8, 0.45);

  --emerald-primary: #15803d;
  --emerald-light: #22c55e;
  --emerald-glow: rgba(34, 197, 94, 0.35);

  --gold-primary: #d4af37;
  --gold-bright: #fbbf24;
  --gold-glow: rgba(245, 158, 11, 0.35);

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-sub: #94a3b8;

  --yt-red: #ff0000;
  --tt-pink: #fe2c55;
  --tt-cyan: #25f4ee;
  --tg-blue: #229ed9;

  --font-ethiopic: 'Noto Sans Ethiopic', 'Nyala', 'Abyssinica SIL', sans-serif;
  --font-latin: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cinzel', serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 25px rgba(34, 197, 94, 0.25);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--bg-darkest);
  color: var(--text-main);
  font-family: var(--font-ethiopic), var(--font-latin);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  padding: 1.5rem 1rem 3.5rem;
}

/* ===================================================================
   Ambient Background & Lighting Layers
   =================================================================== */
.bg-wrapper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-image-overlay {
  position: absolute;
  inset: 0;
  background-image: url('assets/bg.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.32;
  filter: saturate(1.2) contrast(1.1);
  transform: scale(1.05);
  animation: slowZoom 25s infinite alternate ease-in-out;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.bg-gradient-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 12%, rgba(21, 128, 61, 0.55) 0%, rgba(8, 35, 21, 0.88) 50%, rgba(4, 20, 11, 0.98) 100%);
  mix-blend-mode: multiply;
}

.bg-sacred-mesh {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 85% 20%, rgba(251, 191, 36, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 15% 75%, rgba(34, 197, 94, 0.15) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  opacity: 0.6;
}

.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ambient-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.9) 0%, rgba(34, 197, 94, 0) 70%);
  pointer-events: none;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0.6);
    opacity: 0;
  }
  20% { opacity: 0.8; }
  80% { opacity: 0.6; }
  100% {
    transform: translateY(-10vh) scale(1.2);
    opacity: 0;
  }
}

/* ===================================================================
   Main Hub Container Layout
   =================================================================== */
.hub-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0 auto;
}

/* ===================================================================
   Top Navigation Bar
   =================================================================== */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  background: rgba(8, 35, 21, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
}

.top-action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.6rem 1.15rem;
  min-height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.top-action-pill i {
  font-size: 0.95rem;
  color: var(--gold-bright);
}

.top-action-pill:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.pill-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lang-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #86efac;
}

/* ===================================================================
   Profile Card Section
   =================================================================== */
.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.2rem 1.5rem 1.8rem;
  background: linear-gradient(180deg, rgba(16, 68, 39, 0.65) 0%, rgba(8, 35, 21, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--emerald-light), transparent);
}

.avatar-wrapper {
  position: relative;
  width: 124px;
  height: 124px;
  margin-bottom: 1.25rem;
}

.avatar-ring-outer {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold-bright), var(--emerald-light), #10b981, var(--gold-bright));
  animation: rotateGlow 12s linear infinite;
  opacity: 0.85;
}

.avatar-ring-inner {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--bg-darkest);
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.profile-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: transform var(--transition-smooth);
}

.profile-card:hover .profile-avatar {
  transform: scale(1.03);
}

.verified-seal {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 2.5px solid var(--bg-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.institute-name {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.tagline {
  font-size: 0.92rem;
  color: #cbd5e1;
  max-width: 440px;
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.spiritual-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.tag-item i {
  color: var(--gold-bright);
  font-size: 0.75rem;
}

/* ===================================================================
   Quick Call Banner & Phone Pills
   =================================================================== */
.quick-call-bar {
  background: linear-gradient(135deg, rgba(8, 35, 21, 0.9) 0%, rgba(16, 68, 39, 0.75) 100%);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-card), 0 0 15px rgba(234, 179, 8, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.quick-call-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.85rem;
}

.quick-call-title i {
  animation: phoneRing 2.5s infinite ease-in-out;
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-15deg); }
  20%, 40% { transform: rotate(15deg); }
  50% { transform: rotate(0deg); }
}

.phone-pills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  color: #fff;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.phone-pill:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: var(--emerald-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.phone-pill-icon {
  width: 34px;
  height: 34px;
  background: rgba(34, 197, 94, 0.2);
  color: var(--emerald-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.phone-pill-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.phone-label {
  font-size: 0.7rem;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-latin);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mini-copy-btn {
  background: transparent;
  border: none;
  color: var(--text-sub);
  padding: 0.3rem;
  cursor: pointer;
  border-radius: 4px;
  transition: color var(--transition-fast);
  font-size: 0.85rem;
}

.mini-copy-btn:hover {
  color: var(--gold-bright);
}

/* ===================================================================
   Links Section & Link Cards
   =================================================================== */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: linear-gradient(135deg, rgba(13, 53, 31, 0.8) 0%, rgba(7, 28, 17, 0.9) 100%);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  text-decoration: none;
  color: var(--text-main);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.link-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: all 0.75s ease;
}

.link-card:hover::after {
  left: 140%;
}

.link-card:hover {
  transform: translateY(-3px) scale(1.008);
  border-color: var(--bg-card-border-hover);
  box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.65), 0 0 20px rgba(34, 197, 94, 0.2);
}

.card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  transition: width var(--transition-fast);
}

.link-card:hover .card-accent-bar {
  width: 7px;
}

.yt-accent { background: var(--yt-red); }
.tt-accent { background: linear-gradient(180deg, var(--tt-cyan), var(--tt-pink)); }
.tg-accent { background: var(--tg-blue); }
.ig-accent { background: linear-gradient(180deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.link-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

.link-card:hover .link-icon {
  transform: scale(1.1) rotate(-3deg);
}

.yt-icon {
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.35);
  color: #ff4d4d;
}

.tt-icon {
  background: rgba(254, 44, 85, 0.15);
  border: 1px solid rgba(254, 44, 85, 0.35);
  color: #ffffff;
}

.tg-icon {
  background: rgba(34, 158, 217, 0.15);
  border: 1px solid rgba(34, 158, 217, 0.35);
  color: #38bdf8;
}

.ig-icon {
  background: linear-gradient(135deg, rgba(240, 148, 51, 0.18) 0%, rgba(220, 39, 67, 0.18) 50%, rgba(188, 24, 136, 0.18) 100%);
  border: 1px solid rgba(225, 48, 108, 0.4);
  color: #f472b6;
}

.link-card:hover .ig-icon {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.45);
}

.link-body {
  flex-grow: 1;
  min-width: 0;
}

.link-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
}

.yt-badge {
  background: rgba(255, 0, 0, 0.18);
  color: #ff9999;
}

.tt-badge {
  background: rgba(254, 44, 85, 0.18);
  color: #fda4af;
}

.tg-badge {
  background: rgba(34, 158, 217, 0.18);
  color: #bae6fd;
}

.ig-badge {
  background: linear-gradient(90deg, rgba(240, 148, 51, 0.22), rgba(220, 39, 67, 0.22));
  color: #fbcfe8;
  border: 1px solid rgba(225, 48, 108, 0.35);
}

.link-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  font-family: var(--font-latin);
}

.link-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-action-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.link-card:hover .link-action-indicator {
  background: var(--gold-bright);
  color: #000;
  transform: translateX(3px);
}

/* ===================================================================
   Location Card
   =================================================================== */
.location-card {
  background: linear-gradient(135deg, rgba(16, 68, 39, 0.75) 0%, rgba(6, 29, 17, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.location-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.location-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.location-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.location-main-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.address-text {
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-bright);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pin-spark {
  color: var(--gold-bright);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.location-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.loc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-loc-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.copy-loc-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.map-loc-btn {
  background: linear-gradient(135deg, var(--emerald-primary), #16a34a);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.map-loc-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.35);
  transform: translateY(-2px);
}

/* ===================================================================
   Programs Banner
   =================================================================== */
.programs-card {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.12) 0%, rgba(16, 68, 39, 0.85) 100%);
  border: 1px dashed rgba(251, 191, 36, 0.45);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.programs-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.programs-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.2);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.programs-info {
  flex-grow: 1;
}

.programs-info h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.programs-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.programs-cta-btn {
  background: var(--gold-bright);
  color: #072113;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.6rem 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.programs-cta-btn:hover {
  background: #ffffff;
  transform: scale(1.05);
}

/* ===================================================================
   Contact Banner & Direct Action Pills
   =================================================================== */
.contact-section {
  margin-top: 0.25rem;
}

.contact-banner {
  background: rgba(8, 35, 21, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-text p {
  font-size: 0.82rem;
  color: var(--text-sub);
}

.contact-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contact-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.contact-pill-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.wa-btn {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.35);
  color: #4ade80;
}

.wa-btn:hover {
  background: rgba(37, 211, 102, 0.28);
  border-color: #4ade80;
  color: #ffffff;
}

.call-primary-btn {
  background: linear-gradient(135deg, #15803d, #22c55e);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 700;
}

.call-primary-btn:hover {
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

/* ===================================================================
   Footer Section
   =================================================================== */
.hub-footer {
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-cross {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.blessing-quote {
  font-size: 0.85rem;
  font-style: italic;
  color: #e2e8f0;
  max-width: 440px;
  line-height: 1.5;
}

.footer-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.5), transparent);
  margin: 0.25rem 0;
}

.copyright-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-subtext {
  font-size: 0.72rem;
  color: var(--text-sub);
}

/* ===================================================================
   Modals (QR Code & Courses)
   =================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 20, 11, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(160deg, #0d3822 0%, #061c10 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(34, 197, 94, 0.2);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-wide {
  max-width: 500px;
  text-align: left;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 1.35rem;
}

.modal-badge-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--emerald-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.modal-badge-icon.gold-badge {
  background: rgba(251, 191, 36, 0.18);
  border-color: rgba(251, 191, 36, 0.4);
  color: var(--gold-bright);
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.qr-code-wrapper {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 0.5rem auto 1.35rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.static-qr-img,
#qrcode img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.action-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: linear-gradient(135deg, #15803d, #22c55e);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.action-btn-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
  transform: translateY(-2px);
}

/* Courses list styling */
.courses-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.course-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.course-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.15);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.course-details h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.course-details p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.modal-footer-callout {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.callout-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.callout-content strong {
  font-size: 0.88rem;
  color: var(--gold-bright);
}

.callout-content span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===================================================================
   Toast Notification
   =================================================================== */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: rgba(13, 56, 34, 0.96);
  border: 1px solid var(--emerald-light);
  color: #ffffff;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(34, 197, 94, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--emerald-light);
  font-size: 1rem;
}

/* ===================================================================
   Responsive Media Queries
   =================================================================== */
@media (max-width: 480px) {
  body {
    padding: 1rem 0.75rem 2.5rem;
  }

  .institute-name {
    font-size: 1.25rem;
  }

  .top-actions {
    gap: 0.5rem;
  }

  .top-action-pill {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }

  .avatar-wrapper {
    width: 108px;
    height: 108px;
  }

  .phone-pills-grid {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .location-actions {
    grid-template-columns: 1fr;
  }
}
