
/* --- Basic Reset & Tailwind Replacements --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Poppins', sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}
img, svg {
  display: block;
  max-width: 100%;
}
.dd-toggle svg {
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 1px;
}
.menu-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

    @keyframes heroSlide {

      0%,
      30% {
        opacity: 1;
        transform: translateX(0);
      }

      33%,
      63% {
        opacity: 0;
        transform: translateX(-40px);
      }

      66%,
      96% {
        opacity: 0;
        transform: translateX(-40px);
      }

      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* Dropdown open class */
    .dd-open {
      display: flex !important;
    }

    .dd-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  width: auto;
  min-width: 260px;
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.01);
  padding: 0.5rem;
  z-index: 100;
  display: none;
  flex-direction: column;
}

    .dd-menu a {
      width: 100%;
    }

    .dd-menu p {
      padding-left: 1rem;
      padding-right: 1rem;
    }

    .dd-toggle[aria-expanded="true"] {
      color: #0060fe;
      background-color: rgba(0, 96, 254, 0.08);
    }

    .dd-toggle[aria-expanded="true"] svg {
      transform: rotate(180deg);
    }

    .dd-toggle svg {
      transition: transform 180ms ease;
    }

    .dd-menu.right-align {
      left: auto !important;
      right: 0 !important;
    }

    .dd-menu.left-align {
      left: 0 !important;
      right: auto !important;
    }

    #site-header {
      background-color: rgba(255, 255, 255, 0.95);
      border-bottom: 1px solid rgba(148, 163, 184, 0.2);
      transition:
        background-color 300ms ease,
        border-color 300ms ease;
    }

    html.dark #site-header {
      background-color: rgba(15, 23, 42, 0.95);
      border-bottom-color: rgba(71, 85, 105, 0.3);
    }

    #site-header nav a,
    #site-header nav button,
    .dd-menu,
    .dd-menu p,
    .dd-menu a,
    #notice-bar,
    #notice-bar .text,
    #mobile-menu,
    #mobile-menu *,
    .register-btn,
    .login-btn {
      font-family: "Roboto", sans-serif;
    }

    #site-header nav a,
    #site-header nav button {
      font-size: 0.95rem;
      font-weight: 500;
      color: #334155;
      transition:
        color 180ms ease,
        background-color 180ms ease;
    }

    html.dark #site-header nav a,
    html.dark #site-header nav button {
      color: #cbd5e1;
    }

    #site-header nav a:hover,
    #site-header nav button:hover {
      color: #0060fe;
      background-color: #f8fbff;
    }

    html.dark #site-header nav a:hover,
    html.dark #site-header nav button:hover {
      color: #0060fe;
      background-color: rgba(0, 96, 254, 0.15);
    }

    .dd-menu {
      border-color: #e2e8f0;
      box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.15);
      background-color: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(12px);
      transition:
        background-color 300ms ease,
        border-color 300ms ease;
    }

    html.dark .dd-menu {
      background-color: rgba(15, 23, 42, 0.98);
      border-color: #334155;
      box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    }

    .dd-menu a {
      color: #334155;
      font-weight: 500;
      transition:
        background-color 180ms ease,
        color 180ms ease;
    }

    html.dark .dd-menu a {
      color: #cbd5e1;
    }

    #site-header nav .dd-menu a:hover {
      color: #0060fe;
      background-color: transparent;
    }

    html.dark #site-header nav .dd-menu a:hover {
      color: #38bdf8;
      background-color: transparent;
    }

    .dd-menu p {
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #0060fe;
    }

    html.dark .dd-menu p {
      color: #94a3b8;
    }

    .register-btn,
    .login-btn {
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    /* Prevent body scroll when mega-menu open */
    body.mega-open {
      overflow: hidden;
    }

    /* AOS Styles */
    .aos-element {
      opacity: 0;
      transform: translateY(30px);
      transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .aos-element.aos-visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Animated Hero Background */
    .motion-bg {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
      z-index: -1;
    }

    .motion-bg::before,
    .motion-bg::after {
      content: "";
      position: absolute;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      filter: blur(120px);
      opacity: 0.4;
      animation: spin-slow 20s linear infinite;
    }

    .motion-bg::before {
      background: radial-gradient(circle,
          rgba(0, 96, 254, 0.5) 0%,
          rgba(0, 0, 0, 0) 70%);
      top: -100px;
      left: -100px;
    }

    .motion-bg::after {
      background: radial-gradient(circle,
          rgba(16, 185, 129, 0.3) 0%,
          rgba(0, 0, 0, 0) 70%);
      bottom: -100px;
      right: -100px;
      animation-direction: reverse;
    }

    @keyframes spin-slow {
      0% {
        transform: rotate(0deg) scale(1);
      }

      50% {
        transform: rotate(180deg) scale(1.2);
      }

      100% {
        transform: rotate(360deg) scale(1);
      }
    }

    html.dark .motion-bg::before {
      opacity: 0.2;
    }

    html.dark .motion-bg::after {
      opacity: 0.15;
    }
    .body-theme {
  background-color: #f5f9ff; /* bg-ice-100 */
  color: #0f172a;            /* text-slate-900 */
  font-family: sans-serif;   /* font-body (apna custom font laga sakte ho) */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 300ms, color 300ms;
}

/* Dark Mode */
.dark .body-theme {
  background-color: #020617; /* dark:bg-slate-950 */
  color: #f1f5f9;            /* dark:text-slate-100 */
}
.site-wraper{
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
.site-header {
  width: 100%;
  background-color: #ffffff;
  transition: all 300ms;
  position: sticky;
  top: 0;
  z-index: 60;
}.container-custom {
  width: 100%;
  max-width: 1280px; /* container */
  margin: 0 auto;    /* mx-auto */
  padding-left: 1rem;  /* px-4 */
  padding-right: 1rem;
  position: relative;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;  /* sm:px-6 */
    padding-right: 1.5rem;
    display: flex;
  align-items: center;
  justify-content: space-between;
}
}.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;      /* gap-4 */
  padding: 0.75rem 0; /* py-3 */
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;   /* gap-3 */
  flex-shrink: 0; /* shrink-0 */
  text-decoration: none;
}

.logo-img {
  height: 2.5rem; /* h-10 = 40px */
  width: auto;    /* w-auto */
}.navbar {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;      /* gap-1 */
  font-size: 13px;   /* text-[13px] */
  font-weight: 500;  /* font-medium */
  color: #334155;    /* text-slate-700 */
}

/* xl:flex (>=1280px) */
@media (min-width: 1280px) {
  .navbar {
    display: flex;
  }
}

/* 2xl:gap-2 2xl:text-sm (>=1536px) */
@media (min-width: 1536px) {
  .navbar {
    gap: 0.5rem;      /* gap-2 */
    font-size: 0.875rem; /* text-sm = 14px */
  }
}.dropdown {
  position: relative;
}.dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;              /* gap-2 */
  padding: 0.75rem 0.5rem;  /* py-3 px-2 */
  color: #1e293b;           /* text-slate-800 */
  font-weight: 600;         /* font-semibold */
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
    border-radius: 9999px; /* rounded-full */
  white-space: nowrap;
  text-decoration: none;

}

.dd-toggle:hover {
  color: #2563eb;   
            background: transparent; 

}

/* 2xl:px-4 */
@media (min-width: 1536px) {
  .dd-toggle {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}.dd-icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  transition: transform 0.3s ease;
}

/* Button active hone par icon rotate hoga */
.dd-toggle.active .dd-icon {
  transform: rotate(180deg);
}.dd-menu {
  position: absolute;         /* absolute */
  top: 100%;                  /* top-full */
  left: 0;                    /* left-0 */
  margin-top: 0.5rem;         /* mt-2 */
  width: auto;                /* w-auto */
  min-width: 280px;           /* min-w-[280px] */
  white-space: nowrap;        /* whitespace-nowrap */
  background-color: #ffffff;  /* bg-white */
  border: 1px solid #f3f4f6;  /* border border-gray-100 */
  border-radius: 0.5rem;      /* rounded-lg */
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1),
              0 8px 10px -6px rgba(0,0,0,.1); /* shadow-xl */
  padding: 1rem 0;            /* py-4 */
  z-index: 100;               /* z-[100] */
  display: none;              /* hidden */
  flex-direction: column;     /* flex-col */
}

/* Show dropdown */
.dd-menu.show {
  display: flex;
}.dd-menu-content {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}.menu-title {
  font-size: 15px;          /* text-[15px] */
  font-weight: 700;         /* font-bold */
  text-transform: uppercase;/* uppercase */
  letter-spacing: 0.1em;    /* tracking-widest */
  padding: 0.5rem 0;        /* py-2 */
  margin-bottom: 0.75rem;   /* mb-3 */
  color: #2563eb;           /* text-primary */
}.menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0.5rem;
  margin-bottom: 0.125rem;
  border-radius: 0.375rem;
  transition: all 150ms ease;
  text-decoration: none;
}.menu-icon {
  color: #64748b;                /* text-slate-500 */
  flex-shrink: 0;                /* flex-shrink-0 */
  transition: color 150ms ease;  /* transition-colors */
}

/* group-hover/item:text-primary */
.menu-item:hover {
  background-color: #f8fafc;
}
.menu-item:hover .menu-icon {
  color: #0060fe;
}.menu-text {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  transition: color 150ms ease;
  margin: 0;
}

/* group-hover/item:text-primary */
.menu-item:hover .menu-text {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  transition: color 150ms ease;
  margin: 0;
}
.menu-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #0060fe;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}
.badge-soon {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.125rem 0;
  width: 38px;
  text-align: center;
  border-radius: 0.25rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: #fef3c7;
  color: #b45309;
}
.badge-new {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.125rem 0;
  width: 38px;
  text-align: center;
  border-radius: 0.25rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: #dcfce7;
  color: #15803d;
}.menu-row {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 = 8px */
}.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 0.5rem;
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border-radius: 9999px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #2563eb;
  background: transparent; /* koi background nahi */
}.nav-actions {
  margin-left: auto;      /* ml-auto */
  display: flex;
  align-items: center;
  gap: 0.75rem;           /* gap-3 */
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-divider {
  display: none;
  width: 1px;
  height: 1.5rem;         /* h-6 */
  background: #d1d5db;    /* bg-gray-300 */
  margin: 0 0.5rem;       /* mx-2 */
}

.register-btn,
.login-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;   /* py-2 px-4 */
  font-size: 13px;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

/* REGISTER */
.register-btn {
  color: #fff;
  background: #2563eb;     /* primary */
  border: 1px solid transparent;
}

.register-btn:hover {
  background: #1d4ed8;
}

/* LOGIN */
.login-btn {
  color: #1e293b;
  background: #f8fafc;     /* slate-50 */
  border: 1px solid #e2e8f0;
}

.login-btn:hover {
  background: #f1f5f9;     /* slate-100 */
}

/* sm:block / sm:inline-flex */
@media (min-width: 640px) {
  .nav-divider {
    display: block;
  }

  .register-btn,
  .login-btn {
    display: inline-flex;
  }

  .mobile-actions {
    display: none !important;
  }
}
/* --- Mobile Menu Styles --- */

.mobile-btn-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  color: #334155;
  background-color: transparent;
  margin-left: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-btn-trigger:hover {
  background-color: #f1f5f9;
}
.mobile-btn-trigger:focus {
  outline: none;
}
@media (min-width: 1280px) {
  .mobile-btn-trigger {
    display: none;
  }
}

.icon-hamburger {
  width: 1.25rem;
  height: 1.25rem;
  transition: all 0.3s ease;
}
.icon-close {
  width: 1.5rem;
  height: 1.5rem;
  transition: all 0.3s ease;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 40;
  transition: opacity 0.3s ease;
}
.mobile-overlay.opacity-0 {
  opacity: 0;
}

.mobile-menu {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 50;
  overflow-y: auto;
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}
.mobile-menu.translate-x-full {
  transform: translateX(100%);
}
@media (min-width: 1280px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  color: #334155;
  font-weight: 500;
  list-style: none;
  transition: background-color 0.2s ease;
}
.mobile-accordion-header:hover {
  background-color: #f8fafc;
}
.mobile-accordion-header::-webkit-details-marker {
  display: none;
}

details[open] .mobile-chevron {
  transform: rotate(90deg);
}
.mobile-chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
  color: #334155;
  font-weight: 700;
}

@keyframes slideDownDetails {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-accordion-content {
  padding: 0 1.25rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background-color: #ffffff;
}

details[open] .mobile-accordion-content {
  animation: slideDownDetails 0.25s ease-out forwards;
}

.mobile-menu-heading {
  font-size: 13px;
  font-weight: 700;
  color: #0060fe;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0;
  margin-left: 1.5rem;
}
.mobile-menu-heading.mt-6 {
  margin-top: 1.25rem;
}
.mobile-menu-heading.mt-3 {
  margin-top: 0.5rem;
}

.mobile-menu-item {
  position: relative;
  padding: 0.375rem 0.5rem;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}
.mobile-menu-item.justify-between {
  justify-content: space-between;
}
.mobile-menu-item:hover {
  color: #0060fe;
}

.mobile-menu-icon {
  color: #64748b;
  flex-shrink: 0;
}
.mobile-menu-icon svg {
  width: 1rem;
  height: 1rem;
}

.mobile-plain-link {
  display: block;
  padding: 0.75rem 1.75rem;
  color: #334155;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.mobile-plain-link:hover {
  background-color: #f8fafc;
}

.mobile-actions {
  margin-top: auto;
  padding: 1.25rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background-color: #0060fe;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  letter-spacing: 0.025em;
  box-shadow: 0 8px 32px rgba(0,96,254,0.22);
}
.mobile-btn-primary:hover {
  background-color: rgba(0, 96, 254, 0.9);
}

.mobile-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.625rem;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  letter-spacing: 0.025em;
}
.mobile-btn-secondary:hover {
  background-color: #f1f5f9;
}

.dd-menu-content > div:first-child .menu-heading { margin-top: 0.25rem; }
.menu-icon svg { width: 1.25rem; height: 1.25rem; stroke-width: 1.5; }
.hidden { display: none !important; }
