body {
  background: linear-gradient(180deg, #f5f6ff 0%, #ffffff 100%);
  font-family: 'Poppins', sans-serif;
  color: #222;
  overflow-x: hidden;
}

/* Sticky Navbar: use header as the sticky element instead of individual .navbar rules */
.navbar {
  position: static; /* changed from sticky to static so header.sticky-top controls stickiness */
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Make header sticky and keep it above content */
header.sticky-top {
  position: sticky;
  top: 0;
  z-index: 2000 !important;
  background: #fff; /* prevent page content showing through */
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Ensure dropdowns appear above the category navbar and other header elements */
header .dropdown-menu {
  z-index: 2100 !important;
}

/* Prevent page content from being hidden under the sticky header.
   Adjust the values if your header height is larger/smaller. */
main.container, .site-main, .content {
  padding-top: 0;
}

@media (max-width: 768px) {
  main.container, .site-main, .content {
    padding-top: 160px;
  }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 20px 70px;
}

.welcome-badge {
  display: inline-block;
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  color: white;
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 500;
  box-shadow: 0 0 25px rgba(120, 100, 255, 0.4);
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
}

.hero h1 span {
  background: linear-gradient(90deg, #5b42f3, #b01eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: #555;
  margin-top: 15px;
  margin-bottom: 40px;
}

.btn-primary-custom {
  background: linear-gradient(90deg, #5b42f3, #b01eff);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-primary-custom:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline-custom {
  border: 1px solid #ddd;
  background: #fff;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 500;
  color: #333;
  transition: 0.3s;
}

.btn-outline-custom:hover {
  background: #f8f8ff;
  border-color: #b5b5ff;
  transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
  margin: 60px auto;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(160,160,255,0.3);
  backdrop-filter: blur(15px);
  padding: 80px 20px;
  max-width: 900px;
  text-align: center;
}

.glass-card i {
  font-size: 50px;
  color: #8da4ff;
}

/* Why Choose Section */
.features {
  padding: 80px 0;
}

.features h2 {
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.features p {
  text-align: center;
  color: #555;
  margin-bottom: 50px;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(180,180,255,0.25);
  transition: 0.3s;
  text-align: left;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(160,160,255,0.3);
}

.feature-icon {
  font-size: 32px;
  color: #5b42f3;
  background: #eef0ff;
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

/* CTA Section */
.cta {
  text-align: center;
  background: linear-gradient(90deg, #a5b4fc, #c084fc);
  border-radius: 25px;
  padding: 70px 20px;
  margin: 80px auto;
  max-width: 1000px;
  color: #111;
}

.cta h2 {
  font-weight: 700;
  margin-bottom: 15px;
}

/* Footer */
footer {
  background: #f9f9ff;
  padding: 50px 0;
}

footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4a4ef5;
  font-weight: 600;
  margin-bottom: 10px;
}

footer i {
  background-color: #ecebff;
  color: #4a4ef5;
  border-radius: 8px;
  padding: 6px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 6px;
}

footer ul li a {
  text-decoration: none;
  color: #444;
}

footer ul li a:hover {
  color: #5b42f3;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
}


.site-footer {
  background: linear-gradient(90deg, #5b42f3, #b01eff);
  color: #fff;
  padding: 60px 0 30px 0;
  font-family: 'Poppins', sans-serif;
}

.site-footer .footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.site-footer .footer-brand i {
  font-size: 1.8rem;
}

.site-footer p {
  color: #f0f0f0;
  font-size: 14px;
  margin-bottom: 10px;
}

.site-footer h6 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 8px;
}

.site-footer ul li a {
  color: #e4dfff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.site-footer ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 13px;
}

@media (max-width: 768px) {
  .site-footer {
    text-align: center;
  }
}

.footer-glass {
  background: linear-gradient(135deg, #5b42f3 0%, #b01eff 100%);
  color: #fff;
  padding: 70px 0 40px 0;
  position: relative;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

/* Optional: glass shimmer overlay */
.footer-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  z-index: 0;
}

.footer-glass .container {
  position: relative;
  z-index: 1;
}

/* Brand */
.footer-logo {
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  gap: 8px;
}

.footer-logo i {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

/* Text */
.footer-desc {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.6;
}

/* Headings */
.footer-glass h6 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 15px;
  color: #fff;
  position: relative;
}

.footer-glass h6::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: rgba(255,255,255,0.4);
  margin-top: 6px;
  border-radius: 2px;
}

/* Links */
.footer-glass ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-glass ul li {
  margin-bottom: 8px;
}

.footer-glass ul li a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-glass ul li a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* Social Icons */
.footer-social a {
  color: #fff;
  font-size: 18px;
  margin-right: 12px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #fcdfff;
  transform: translateY(-2px);
}

/* Subscribe Box */
.footer-subscribe {
  display: flex;
  background: rgba(255,255,255,0.15);
  border-radius: 30px;
  overflow: hidden;
}

.footer-subscribe input {
  flex: 1;
  border: none;
  padding: 10px 15px;
  background: transparent;
  color: #fff;
  font-size: 14px;
}

.footer-subscribe input::placeholder {
  color: rgba(255,255,255,0.6);
}

.footer-subscribe button {
  background: rgba(255,255,255,0.3);
  border: none;
  color: #fff;
  padding: 10px 18px;
  cursor: pointer;
  transition: 0.3s;
}

.footer-subscribe button:hover {
  background: rgba(255,255,255,0.5);
}

/* Divider */
.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-subscribe {
    flex-direction: column;
  }
  .footer-subscribe button {
    width: 100%;
    border-radius: 0 0 30px 30px;
  }
}

.btn-light.rounded-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-weight: bold;
  background-color: #f3b229; /* or your brand color */
  color: #2b2b81;
}

/* Ensure header has solid background and marquee/nav have no gaps */
header.sticky-top marquee {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px 0; /* adjust marquee height if needed */
}

header.sticky-top .navbar {
  margin: 0; /* remove any default margins that can create a gap */
}

/* Fix dropdown clipping/stacking with category navbar */
.category-navbar {
  position: relative;
  z-index: 1000; /* keep it below header dropdowns */
  overflow: visible; /* allow dropdown to extend */
}

header .dropdown {
  position: relative;
  z-index: 2200; /* ensure dropdown's parent is above category nav */
}

header .dropdown-menu {
  z-index: 2300 !important; /* final guarantee */
  overflow: visible;
}