:root {
  --zc-purple: #7c3aed;
  --zc-blue: #3b82f6;
  --zc-orange: #fb923c;
  --zc-bg: #f8fafc;
  --zc-text: #0f172a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--zc-bg);
  color: var(--zc-text);
}

/* TYPOGRAPHY SCALE */
h1, .h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: 1.6rem;
  font-weight: 600;
}

h3, .h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  font-size: .95rem;
  line-height: 1.6;
  color: #475569;
}

.small, small {
  font-size: .8rem;
  color: #64748b;
}

/* MOBILE TYPOGRAPHY */
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 1.7rem;
  }
  h2, .h2 {
    font-size: 1.35rem;
  }
}

/* BUTTONS */
.btn-primary {
  background: var(--zc-purple);
  border-color: var(--zc-purple);
  border-radius: 999px;
  padding: .6rem 1.6rem;
  font-weight: 500;
}

.btn-primary:hover {
  background: #6d28d9;
  border-color: #6d28d9;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.btn-primary:active,
.btn-orange:active {
  transform: scale(.97);
}

.btn-orange {
  background: var(--zc-orange);
  border: none;
  border-radius: 999px;
  padding: .6rem 1.6rem;
  font-weight: 500;
  color: #000;
}
.btn-orange:hover {
  background: var(--zc-orange);
  border: none;
  border-radius: 999px;
  padding: .6rem 1.6rem;
  font-weight: 500;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.btn-view-schedule {
  background: none;
  color: #fff;
  border: none;
}
.btn-view-schedule:hover {
  background: none;
  color: #fff;
  border: none;
}

/* MICRO ANIMATION BASE */
a, button, .zc-card, .zc-list-item {
  transition: 
    transform .15s ease,
    box-shadow .15s ease,
    background-color .15s ease,
    color .15s ease;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* LOGO */

.logo-text{
  color: var(--zc-purple);
  font-size: 26px;
}
.logo-text-orange{
  color: var(--zc-orange);
  font-weight: 600;
}

/* HEADER */
.zc-header {
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 0.4rem 0;
  min-height: 64px;
}
.zc-header .nav-link {
  font-weight: 500;
  color: #334155;
  position: relative;
}

.zc-header .nav-link:hover,
.zc-header .nav-link.active {
  color: var(--zc-purple);
  cursor: pointer;
}

/* ICON BUTTON */
.zc-icon-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #334155;
}
/* ICON TAP */
.zc-icon-btn:active {
  transform: scale(.92);
}

/* SEARCH INPUT FOCUS */
.zc-search input:focus {
  border-color: var(--zc-purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}

/* SEARCH RESULTS */
.zc-search-results {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-top: .5rem;
  overflow: hidden;
}

.zc-search-item {
  display: block;
  padding: .75rem 1rem;
  text-decoration: none;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
}

.zc-search-item:last-child {
  border-bottom: none;
}

.zc-search-item strong {
  display: block;
  font-size: .9rem;
}

.zc-search-item small {
  color: #64748b;
  font-size: .75rem;
}

.zc-search-item:hover {
  background: #f8fafc;
}

/* SEARCH HIGHLIGHT */
.zc-search-item mark {
  background: rgba(124,58,237,.15);
  color: var(--zc-purple);
  padding: 0 2px;
  border-radius: 3px;
}

/* ACTIVE ITEM (KEYBOARD) */
.zc-search-item.active {
  background: #eef2ff;
}

/* SEARCH RESULTS POSITION (SAFE) */
.zc-search-results {
  position: relative;
  z-index: 1000;
}

.zc-search-empty {
  padding: .75rem 1rem;
  font-size: .85rem;
  color: #64748b;
}

/* MEGA MENU FADE */
.dropdown-menu.mega-panel {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease;
}

.dropdown-menu.mega-panel.show {
  opacity: 1;
  transform: translateY(0);
}

/* MEGA MENU */
.mega-panel {
  border-radius: 0;
}

.mega-panel h6 {
  font-weight: 600;
  margin-bottom: .5rem;
}

.mega-panel a {
  display: block;
  padding: 4px 0;
  color: #475569;
  text-decoration: none;
}

.mega-panel a:hover {
  color: var(--zc-purple);
}

.mega-panel .more {
  font-weight: 600;
  color: var(--zc-blue);
}

/* MOBILE */
.offcanvas a {
  display: block;
  padding: .4rem 0;
  color: #334155;
  text-decoration: none;
}


/* HERO SECTION */

.zc-hero {
  background: var(--zc-bg);
  text-align: center;
  padding: 4.5rem 0 3rem;
}

.zc-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.zc-hero p {
  max-width: 520px;
  margin: .75rem auto 1.75rem;
}

.zc-search {
  max-width: 560px;
  margin: 0 auto;
}

.zc-search-input {
  height: 52px;
  border-radius: 999px;
  padding-left: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb; 
}

.zc-search-btn {
  background: var(--zc-purple);
  color: #fff;
  border-radius: 999px;
}
.zc-search-btn:hover {
  background: var(--zc-purple);
  color: #fff;
  border-radius: 999px;
}

/* SECTION SPACING */
.zc-section {
  padding: 4rem 0;
}

.zc-section-sm {
  padding: 2.5rem 0;
}

@media (max-width: 768px) {
  .zc-section {
    padding: 2.5rem 0;
  }
  .zc-section-sm {
    padding: 2rem 0;
  }
}




/* CARD */
.zc-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  will-change: transform;
}

.zc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,.12);
}
.zc-card:active {
  transform: scale(.97);
}


.zc-icon {
  font-size: 1.6rem;
  color: var(--zc-purple);
}

.zc-card-title {
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .25rem;
}

.zc-card-text {
  font-size: .8rem;
  color: #64748b;
}


.zc-list {
  display: grid;
  gap: 12px;
}

.zc-list-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.zc-list-item i:first-child {
  font-size: 1.4rem;
  color: var(--zc-purple);
}

.zc-list-item small {
  display: block;
  color: #64748b;
}
.zc-list-item:hover {
  transform: translateY(-2px);
  transform: translateX(3px);
}
.zc-list-item:active {
  transform: scale(.98);
}


.zc-main{
  min-height: calc(100vh - 128px);
  margin-bottom: 20px;
  margin-top: 20px;
}


/* ===========================
   LOAN TYPE TABS
=========================== */

.zc-loan-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 6px;
  padding-bottom: 6px;
}

.zc-loan-tabs input {
  display: none;
}

.zc-loan-tabs label {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  background: #fff;
  color: #475569;
  transition: all .2s ease;
}

/* ACTIVE TAB */
.zc-loan-tabs input:checked + label {
  background: var(--zc-purple);
  color: #fff;
  border-color: var(--zc-purple);
  box-shadow: 0 6px 18px rgba(124,58,237,.25);
}

/* HOVER */
.zc-loan-tabs label:hover {
  transform: translateY(-1px);
}

/* MOBILE SCROLL FIX */
.zc-loan-tabs::-webkit-scrollbar {
  display: none;
}

.compare-row input,
.compare-row select {
  font-size: 0.9rem;
}


.share-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 999;
}
.share-fab a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 18px;
}


/* FOOTER */
.zc-footer {
  background: linear-gradient(135deg, #020617, #020617);
  color: #e5e7eb;
}

.zc-footer-title {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .75rem;
  color: var(--zc-orange);
}

.zc-footer a {
  color: #cbd5f5;
  font-size: .85rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: .35rem;
}

.zc-footer a:hover {
  color: var(--zc-orange);
}

.zc-footer-divider {
  border-color: rgba(255,255,255,.1);
  margin: 2rem 0 1.5rem;
}

/* SOCIAL ICONS */
.zc-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: .4rem;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #ffffff;
  transition: all .2s ease;
}

.zc-social a:hover {
  background: var(--zc-purple);
  color: #ffffff;
}
