/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: var(--font-size-base);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-outline:hover {
  background-color: rgba(26, 115, 232, 0.05);
}

/* Cards (Asymmetry & Elevation) */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-content { padding: var(--spacing-lg); display: flex; flex-direction: column; flex-grow: 1; }
.card-title { font-size: var(--font-size-lg); margin-bottom: var(--spacing-xs); }
.card-body { flex-grow: 1; color: var(--color-text-muted); font-size: var(--font-size-sm); }
.card-footer { margin-top: var(--spacing-md); }

/* KPI Widgets */
.kpi-widget {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.kpi-value { font-size: var(--font-size-2xl); font-weight: 700; color: #111; }
.kpi-label { font-size: var(--font-size-sm); color: var(--color-text-muted); }
.kpi-trend.positive { color: var(--color-secondary); }
.kpi-trend.negative { color: var(--color-danger); }

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-blue { background-color: rgba(26, 115, 232, 0.1); color: var(--color-primary); }

/* Header/Nav */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.nav-links { display: flex; gap: var(--spacing-lg); align-items: center; }
.nav-links a { color: var(--color-text); font-weight: 500; }
.nav-links a:hover { color: var(--color-primary); }
.brand { font-size: var(--font-size-xl); font-weight: 800; color: #111; display:flex; align-items:center; gap:8px;}

/* Strict Clone Header Styles */
.top-bar { background: #111; color: #fff; font-size: 13px; text-align: right; padding: 5px 0; }
.top-bar a { color: #fff; text-decoration: none; font-weight: bold; margin-left: 10px; }
.main-nav { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 15px 0; position: sticky; top: 0; z-index: 100; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { display:flex; align-items:center; gap:8px; font-weight: 800; font-size: 1.2rem; color: #111; text-decoration:none; }
.logo img { height: 40px; }
.menu a { color: #2c3e50; text-decoration: none; margin-left: 25px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.menu a:hover { color: var(--color-primary); }
.menu a.mark { color: #e74c3c; }
.menu a.markSignIn { border: 1px solid #2c3e50; padding: 6px 18px; border-radius: 20px; color: #2c3e50; }
.menu a.markSignIn:hover { background: rgba(0, 0, 0, 0.05); }

/* Strict Clone Footer Styles */
.site-footer-clone { background: #1a1a1a; color: #fff; padding: 60px 0 20px; margin-top: var(--spacing-2xl); }
.grid-footer { display: grid; grid-template-columns: 1fr 1fr 1.5fr 1.5fr; gap: 30px; }
.footer-col .title { font-weight: bold; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; color: #aaa; }
.footer-col a { color: #fff; text-decoration: none; display: block; margin-bottom: 10px; font-size: 0.9rem; transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--color-primary); }
.footer-col p { font-size: 0.9rem; color: #ccc; margin-bottom: 10px; line-height: 1.6; }
.msg-form input, .msg-form textarea { width: 100%; padding: 10px; margin-bottom: 10px; border: none; border-radius: 4px; background: #333; color: white; font-family: inherit; }
.msg-form button { background: var(--color-primary); color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; transition: background var(--transition-fast); font-weight: 600; }
.msg-form button:hover { background: var(--color-primary-dark); }
.copyright { text-align: center; border-top: 1px solid #333; padding-top: 20px; margin-top: 40px; font-size: 0.8rem; color: #888; }
.social-icons { display: flex; gap: 10px; margin-top: 10px; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: #333; border-radius: 50%; color: white; margin-bottom: 0; }
.social-icons a:hover { background: var(--color-primary); color: white; }

/* Global Client Logos */
.client-logos {
  display: flex;
  gap: var(--spacing-xl);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.client-logos img { height: 40px; object-fit: contain; }

/* Background Reveal Effect for Banners (Smooth Transition via Pseudo-elements) */
.bg-reveal, .bg-reveal-blue {
  position: relative;
  z-index: 1;
  background-blend-mode: normal !important;
  background-color: transparent !important;
}
.bg-reveal::before, .bg-reveal-blue::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: inherit; /* Respects parent border-radius */
}

/* Dark Overlay */
.bg-reveal::before {
  background-color: rgba(17, 17, 17, 0.9);
}
.bg-reveal:hover::before {
  opacity: 0.35;
}

/* Blue Overlay */
.bg-reveal-blue::before {
  background-color: rgba(26, 115, 232, 0.9);
}
.bg-reveal-blue:hover::before {
  opacity: 0.35;
}
