/* ═══════════════════════════════
   NAVBAR
═══════════════════════════════ */
.navbar {
  background-color: #6a00f4 !important;
  backdrop-filter: blur(12px);
  padding: 0;
  transition: all 0.3s ease;
  height: 64px;
  color: #fff;
}
.navbar-brand { font-weight: 700; font-size: 1.8rem; color: #fff; }
.navbar-brand span { color: #fff; }

.nav-link {
  color: #fff !important;
  margin: 0 10px;
  font-weight: 500;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0; height: 2px;
  bottom: 0; left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.navbar-toggler {
  border-color: #fff !important;
  border-radius: 4px;
  background-color: #fff !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28106, 0, 244, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile collapse — purple background, NOT white */
.navbar-collapse.show {
  background-color: #6a00f4 !important;
  border-radius: 10px;
  padding: 8px;
  margin-top: 8px;
}
.navbar-collapse.collapsing {
  background-color: #6a00f4 !important;
}
.navbar-nav {
  background-color: transparent !important;
  border-radius: 0 !important;
}

@media (max-width: 991px) {
  .navbar { height: auto !important; min-height: 64px; padding: 8px 0; }
  .nav-link { padding: 10px 16px !important; margin: 0; border-radius: 8px; }
  .nav-link:hover { background: rgba(255,255,255,0.15); }
  .navbar-brand img { width: 150px !important; }
}
@media (max-width: 576px) {
  .navbar-brand img { max-width: 130px !important; height: auto; }
  .navbar-toggler { padding: 0.25rem 0.5rem; width: 38px; height: 38px; }
  .navbar-toggler-icon { width: 22px; height: 22px; background-size: 22px 22px; }
}


/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #16091f;
  margin-bottom: 16px;
  padding-bottom: 10px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: #6a00f4;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-description {
    color: #6b5b86;
    margin-bottom: 20px;
}
.footer-col ul a { font-size: 14px; color: #6b5b86; text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: #6a00f4; }
.footer-col p { font-size: 14px; color: #6b5b86; line-height: 1.7; margin-bottom: 20px; }

.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #6a00f4; color: #fff; font-size: 15px;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.social-link:hover { background: #4b14b8; transform: translateY(-2px); }

.platform {
  background: #6a00f4;
  border-radius: 8px;
  border-left: 3px solid #2a0a5e;
  transition: background .2s;
  margin-bottom: 10px;
}
.platform:last-child { margin-bottom: 0; }
.platform:hover { background: #4b14b8; }
.platform-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 15px; color: #fff; font-size: 14px;
  text-decoration: none;
}
.platform-link i { font-size: 1.1rem; width: 20px; text-align: center; }

.footer-copyright {
  border-top: 1px solid #f3ecff;
  padding-top: 24px;
  font-size: 13px; color: #6b5b86;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.footer-copyright a { color: #6b5b86; text-decoration: none; }
.footer-copyright a:hover { color: #6a00f4; }

/* Footer responsive */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-copyright { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ═══════════════════════════════
   SHARED COMPONENTS (all pages)
═══════════════════════════════ */
.service-img {
  width: 100%; height: 180px; object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0; display: block;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s cubic-bezier(.4,0,.2,1);
}
.service-link { display: block; }

.btn-primary-custom {
  background-color: #6a00f4; border: none;
  padding: 12px 30px; font-weight: 600;
  border-radius: 999px; color: white;
  position: relative; overflow: hidden;
  z-index: 1; transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary-custom:hover { background: #4b14b8; }