/* BIGFIX E-CARE — Public UI Design System (New Theme) */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --purple: #6C2BD9;
  --purple-deep: #4f17b8;
  --purple-mid: #7e3fe8;
  --purple-light: #9b6ef3;
  --purple-pale: #F3EEFF;
  --purple-glow: rgba(108,43,217,0.1);
  --gold: #F5A623;
  --gold-deep: #d4861a;
  --gold-light: #f8c15e;
  --gold-pale: #FFF8EC;
  --white: #ffffff;
  --soft: #FAF8FF;
  --grey-light: #EDE8F8;
  --grey-mid: #B8AEDD;
  --grey-text: #6b5f8a;
  --text-dark: #140d2a;
  
  --shadow-sm: 0 2px 12px rgba(108,43,217,0.09);
  --shadow-md: 0 8px 32px rgba(108,43,217,0.16);
  --shadow-lg: 0 20px 60px rgba(108,43,217,0.2);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --trans-smooth: all 0.3s ease;
  
  /* Legacy Variable Aliases mapped to new theme to preserve inline styles */
  --clr-primary: var(--purple);
  --clr-primary-glow: var(--purple-glow);
  --clr-danger: #d62c2c;
  --clr-error: #d62c2c;
  --clr-success: #00D68C;
  --clr-blue: var(--purple);
  --clr-warning: #FFB020;
  --clr-gold: var(--gold);
  --txt-primary: var(--text-dark);
  --txt-secondary: var(--grey-text);
  --txt-muted: var(--grey-text);
  --border-subtle: var(--grey-light);
  --border-hover: var(--purple);
  --bg-panel: white;
  --font-heading: var(--font-display);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--white); overflow-x: hidden; line-height: 1.6; }

/* LAYOUT UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .justify-center { justify-content: center; } .flex-wrap { flex-wrap: wrap; }
.grid { display: grid; }
.gap-sm { gap: 8px; } .gap-md { gap: 16px; } .gap-lg { gap: 24px; } .gap-xl { gap: 32px; }

/* TYPOGRAPHY */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.15; }
.highlight { color: var(--gold); }
.text-gradient { background: linear-gradient(135deg, var(--purple-light), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.display-xl { font-size: clamp(2.5rem,6vw,4.5rem); font-weight: 800; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(2rem,4.5vw,3.5rem); font-weight: 800; letter-spacing: -0.02em; }
.display-md { font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 700; }
.section-title { font-size: clamp(26px, 3.2vw, 42px); font-weight: 800; margin-bottom: 16px; }
.section-subtitle { color: var(--grey-text); font-size: 15px; line-height: 1.7; max-width: 600px; margin: 0 auto 40px; }

/* TAGS & BADGES */
.section-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--purple-glow); border: 1px solid rgba(108,43,217,0.22); color: var(--purple); font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 16px; }
.section-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 100px; font-size: .75rem; font-weight: 700; }
.badge-primary { background: var(--purple-glow); color: var(--purple); border: 1px solid rgba(108,43,217,0.22); }
.badge-gold { background: rgba(245,166,35,0.18); color: var(--gold-deep); border: 1px solid rgba(245,166,35,0.45); }
.badge-blue { background: rgba(61,126,255,0.15); color: #3D7EFF; border: 1px solid rgba(61,126,255,0.3); }
.badge-success { background: rgba(0,214,140,0.12); color: #00D68C; border: 1px solid rgba(0,214,140,0.3); }
.badge-muted { background: var(--grey-light); color: var(--grey-text); }
.badge-warning { background: rgba(255,176,32,0.12); color: #FFB020; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 100px; font-family: var(--font-display); font-weight: 700; font-size: 15px; cursor: pointer; border: none; outline: none; transition: var(--trans-smooth); white-space: nowrap; text-decoration: none; position: relative; overflow: hidden; }

/* Primary CTA — Gold with glow pulse */
.btn-primary { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--text-dark); box-shadow: 0 4px 24px rgba(245,166,35,0.5); border: none; }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 36px rgba(245,166,35,0.65); color: var(--text-dark); filter: brightness(1.08); }
.btn-primary:active { transform: translateY(-1px); }

/* Ghost Light — Glassmorphism for dark hero */
.btn-ghost-light { background: rgba(255,255,255,0.12); color: white; border: 1.5px solid rgba(255,255,255,0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); transform: translateY(-3px); border-color: rgba(255,255,255,0.75); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-ghost-light:active { transform: translateY(-1px); }

.btn-secondary { background: transparent; color: var(--text-dark); border: 1.5px solid var(--grey-mid); }
.btn-secondary:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-pale); }
.btn-outline { background: transparent; color: var(--purple); border: 1.5px solid var(--purple); }
.btn-outline:hover { background: var(--purple); color: white; }
.btn-ghost { background: var(--grey-light); color: var(--text-dark); }
.btn-ghost:hover { background: var(--grey-mid); }
.btn-blue { background: var(--purple); color: white; box-shadow: 0 4px 20px var(--purple-glow); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--purple-glow); background: var(--purple-deep); }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-full { width: 100%; }

/* COMPONENTS */
.card { background: white; border: 1px solid rgba(108,43,217,0.12); border-radius: var(--radius-lg); padding: 30px; transition: var(--trans-smooth); }
.card:hover { border-color: var(--purple); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-icon { width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.card-icon-primary { background: var(--purple-glow); color: var(--purple); }
.card-icon-gold { background: rgba(245,166,35,0.18); color: var(--gold-deep); }
.card-icon-blue { background: rgba(61,126,255,0.15); color: #3D7EFF; }
.card-icon-success { background: rgba(0,214,140,0.12); color: #00D68C; }

/* ALERTS */
.alert { padding: 14px 20px; border-radius: var(--radius-md); font-size: 14px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.alert-danger { background: #ffebea; border: 1px solid #ffbaba; color: #d62c2c; }
.alert-success { background: #e6f9e6; border: 1px solid #b3dfb3; color: #288428; }
.alert-warning { background: #fff8e6; border: 1px solid #ffdf80; color: #b38600; }

/* FORMS (General) */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--grey-text); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.form-control { width: 100%; border: 1.5px solid var(--grey-light); border-radius: var(--radius-sm); padding: 11px 14px; font-family: var(--font-body); font-size: 14px; color: var(--text-dark); transition: border-color 0.2s; outline: none; background: var(--soft); }
.form-control:focus { border-color: var(--purple); background: white; box-shadow: 0 0 0 3px var(--purple-glow); }
.form-control::placeholder { color: var(--grey-mid); }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.animate-fade-up { animation: fadeInUp .6s ease both; }
.animate-fade-in { animation: fadeIn .5s ease both; }
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-sm { padding: 40px 0; }
}

/* =====================================================
   HERO SECTION (index.html)
   ===================================================== */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a0d38 0%, #2d1560 60%, #3b1a78 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 160px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(108,43,217,0.4) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(245,166,35,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content { color: white; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.18);
  border: 1px solid rgba(245,166,35,0.45);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: blink 2s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: white;
}
.accent { color: var(--gold); }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-btns { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-btns .btn-primary { background: var(--gold); color: var(--text-dark); box-shadow: 0 4px 24px rgba(245,166,35,0.4); }
.hero-btns .btn-ghost-light { border-color: rgba(255,255,255,0.3); }
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
  justify-content: flex-start;
}
.stat-v .n {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-light);
}
.stat-v .l {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.hero-right { position: relative; }
.hero-main-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 380px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-float {
  position: absolute;
  bottom: -16px;
  left: -24px;
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hero-float .fn { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--purple); }
.hero-float .fl { font-size: 11px; color: var(--grey-text); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-sec-img {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 180px;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  border: 3px solid rgba(255,255,255,0.15);
}

/* Trust bar */
#trust-bar {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-lbl {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.trust-items {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(28, 4, 64, 0.55);
}
.ti { font-size: 16px; }

/* About section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 200px;
  gap: 12px;
}
.about-img-main {
  grid-column: span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-img-sm {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}


.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* Responsive for hero */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-badge { margin: 0 auto 28px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-imgs { display: none; }
}
@media (max-width: 768px) {
  #hero { padding: 140px 0 60px; }
  .hero-title { font-size: 36px; }
  .hero-stats { gap: 24px; }
  .stat-v .n { font-size: 22px; }
  #apply .grid { grid-template-columns: 1fr !important; gap: 40px; }
  .sticky-apply { bottom: 16px; right: 16px; padding: 11px 18px; font-size: 13px; }
}

/* Navbar extra polish */
#navbar.scrolled {
  background: #1a0d38 !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3) !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
/* Logo Styles */
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .nav-logo-img {
    height: 32px;
  }
}
