:root {
  --primary-color: #800080;
}

body {
  font-family: 'Segoe UI', sans-serif;
}

.navbar {
  background-color: #fff;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.navbar-brand small {
  font-size: 0.75rem;
  display: block;
  color: #777;
  margin-top: -6px;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.dropdown-menu {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  width: max-content;
  white-space: nowrap;
}

.dropdown-menu.dropdown-wide {
  width: 600px;
  white-space: normal;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: var(--primary-color);
}

.btn-outline-purple {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-purple:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  width: 40px;
  height: auto;
  object-fit: contain;
}

.text-purple {
  color: var(--primary-color);
}

@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown .dropdown-menu {
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 991.98px) {
  .dropdown-menu {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
    white-space: normal;
  }
}

.footer-top {
  background-color: #a020f0;
  color: white;
  padding: 10px 20px 20px;
  text-align: center;
}

.footer-top h5 {
  font-size: 80px;
  font-weight: 900;
  margin: 0;
}

.footer-top h4 {
  font-size: 30px;
  font-weight: 500;
  margin: 0;
}

.footer {
  background-color: #fff;
  color: #000000;
  padding: 40px 0 10px;
  border-top: 1px solid #e0e0e0;
}

.footer h5 {
  font-weight: 700;
}

.footer .logo-title {
  color: #a020f0;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .logo-subtitle {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 15px;
}

.footer p {
  font-size: 14px;
  color: #212529;
  margin-bottom: 0.75rem;
}

.footer .quick-links a {
  color: #212529;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

.footer .quick-links i {
  margin-right: 6px;
  color: #000;
}

.footer .quick-links a:hover {
  color: #a020f0;
}

.footer .social-icons a {
  color: #a020f0;
  font-size: 18px;
  margin-right: 12px;
  transition: 0.3s;
}

.footer .social-icons a:hover {
  color: #6f1c9a;
}

.footer-bottom {
  background-color: #fff;
  text-align: center;
  padding: 15px 10px 5px;
  font-size: 14px;
  color: #a020f0;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .footer .col-md-4 {
    margin-bottom: 30px;
  }
  .footer-top h1 {
    font-size: 36px;
  }
  .footer-top h5 {
    font-size: 18px;
  }
}

/* ============================= */
/* Brand Box Hover Effect */
/* ============================= */
.brand-list .branbox {
  padding: 15px 10px;
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.brand-list .branbox:hover {
  background-color: #f9f5fc; /* Light purple tint */
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.brand-list .branbox img {
  transition: transform 0.3s ease;
}

.brand-list .branbox:hover img {
  transform: scale(1.08);
}

.brand-list .branbox small {
  display: block;
  margin-top: 5px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.brand-list .branbox:hover small {
  color: var(--primary-color);
}
