:root {
  --vi-navy: #066666;
  --vi-navy-deep: #1f2829;
  --vi-teal: #008080;
  --vi-teal-dark: #006f72;
  --vi-gold: #efbf04;
  --vi-gold-dark: #c79b45;
  --vi-dark: #011621;
  --vi-gold-light: #f59e0b;
  --vi-soft: #f7f8fa;
  --vi-input: #edf1f4;
  --vi-border: #dce3ea;
  --vi-text: #183042;
  --vi-muted: #6d7c89;
  --vi-card: rgba(255,255,255,0.96);
  --vi-blue-btn: #0f358e; /* Added from references */
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--vi-text);
  background-color: var(--vi-soft);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--vi-navy-deep);
}

.text-teal { color: var(--vi-teal) !important; }
.text-gold { color: var(--vi-gold) !important; }
.bg-teal { background-color: var(--vi-teal) !important; }
.bg-navy-deep { background-color: var(--vi-navy-deep) !important; }

main {
  flex: 1;
}

/* Premium Buttons */
.btn-vi-primary {
  background-color: var(--vi-teal);
  color: #fff;
  border: none;
  border-radius: 50px; /* Pill shape from references */
  padding: 10px 24px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-vi-primary:hover {
  background-color: var(--vi-teal-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 128, 128, 0.25);
}

.btn-vi-card {
  background-color: var(--vi-blue-btn);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-vi-card:hover {
  background-color: var(--vi-dark);
  color: #fff;
}

.btn-vi-outline {
  background-color: transparent;
  color: var(--vi-text);
  border: 1px solid var(--vi-border);
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-vi-outline:hover {
  border-color: var(--vi-teal);
  color: var(--vi-teal);
}

/* Reusable Cards */
.vi-card {
  background: #fff;
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.vi-card-img-top {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.vi-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vi-card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.vi-card-text {
  color: var(--vi-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.vi-card-meta {
  font-size: 0.85rem;
  color: var(--vi-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Category Pills */
.vi-pill-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none; /* Firefox */
}
.vi-pill-nav::-webkit-scrollbar {
  display: none; /* Chrome */
}
.vi-pill {
  white-space: nowrap;
  padding: 8px 20px;
  border-radius: 50px;
  background: #fff;
  color: var(--vi-text);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid var(--vi-border);
  text-decoration: none;
  transition: all 0.2s;
}
.vi-pill:hover, .vi-pill.active {
  background: var(--vi-blue-btn);
  color: #fff;
  border-color: var(--vi-blue-btn);
}

/* Auth Layout Base */
.vi-auth-wrapper {
  display: flex;
  min-height: 100vh;
}
.vi-auth-form-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background: #fff;
}
.vi-auth-image-side {
  flex: 1;
  background: linear-gradient(135deg, var(--vi-navy-deep), var(--vi-teal));
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 3rem;
}
@media (min-width: 992px) {
  .vi-auth-image-side {
    display: flex;
  }
}
.vi-auth-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.vi-input {
  background-color: var(--vi-input);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s;
}
.vi-input:focus {
  background-color: #fff;
  border-color: var(--vi-teal);
  box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.1);
}

/* Home Sections */
.vi-section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--vi-navy-deep);
  margin-bottom: 1rem;
}
.vi-section-subtitle {
  color: var(--vi-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

/* Help Cards (Clickable) */
.vi-help-card {
  background: var(--vi-card);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  border: 1px solid var(--vi-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.vi-help-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-color: var(--vi-teal);
}
.vi-help-icon {
  font-size: 2.5rem;
  color: var(--vi-teal);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.vi-help-card:hover .vi-help-icon {
  transform: scale(1.1);
  color: var(--vi-gold-dark);
}
.vi-help-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--vi-navy-deep);
  margin-bottom: 0.75rem;
}
.vi-help-text {
  color: var(--vi-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Info Cards (Not clickable) */
.vi-info-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid var(--vi-border);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.vi-info-icon {
  font-size: 2rem;
  color: var(--vi-gold-dark);
  margin-bottom: 1.25rem;
  background: rgba(239, 191, 4, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.vi-info-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--vi-navy-deep);
  margin-bottom: 0.75rem;
}
.vi-info-text {
  color: var(--vi-text);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.btn-vi-primary:hover {
  background-color: var(--vi-teal-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.2);
}

.btn-vi-gold {
  background-color: var(--vi-gold);
  color: var(--vi-dark);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-vi-gold:hover {
  background-color: var(--vi-gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 191, 4, 0.2);
}

.vi-text-muted {
  color: var(--vi-muted);
}

/* Fix Safari Overflow and long text wrappers */
.vi-business-email {
  max-width: 100%;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

@media (max-width: 576px) {
  .vi-business-email {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

.vi-business-section {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.vi-footer,
.vi-footer * {
  box-sizing: border-box;
}

.vi-footer {
  max-width: 100%;
  overflow-x: hidden;
}
