:root {
  /* Primary Colors */
  --primary: #6366f1;
  --primary-rgb: 99, 102, 241;

  /* Gray Scale */
  --gray-300: #e0e7ff;
  --gray-400: #1e293b;

  /* Border Colors */
  --border-color: rgba(255, 255, 255, 0.2);
  --border-color-translucent: rgba(0, 0, 0, 0.175);

  /* Background Colors */
  --bg-primary: rgba(255, 255, 255, 0.04);
  --bg-secondary: rgba(255, 255, 255, 0.08);
  --bg-tertiary: rgba(255, 255, 255, 0.12);

}

.text-primary {
  color: var(--primary) !important;
}

a {
  color: var(--primary) !important;
  text-decoration: none !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.text-blue {
  color: var(--gray-400);
}

.bg-soft-primary {
  background: rgba(var(--primary-rgb), 0.1)
}

body {
  font-family: "Nunito", sans-serif;
}

/* Custom Utility Classes */
.text-gray-400 {
  color: var(--gray-400) !important;
}

.bg-opacity-10 {
  background-color: rgba(var(--primary-rgb), 0.1) !important;
}

body.offcanvas-open {
  overflow: hidden;
  padding-right: 0 !important;
}

/* Unique Tab Navigation Styles */
.nav-tabs {
  border-bottom: none;
}

.nav-tabs .nav-link {
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  color: #6c757d;
  transition: all 0.3s ease;
  position: relative;
  background: #fff;
  margin: 0 0.25rem;
  border-radius: 25px 25px 0 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--primary), 0.2);
}

.nav-tabs .nav-link i {
  font-size: 1.3rem;
  margin-right: 0.75rem;
  transition: transform 0.3s ease;
}

.nav-tabs .nav-link:hover i,
.nav-tabs .nav-link.active i {
  transform: scale(1.1);
}

.nav-tabs .nav-link span {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* Hero Section Custom Styles */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, var(--gray-300) 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.hover-bg-light:hover {
  background-color: rgba(var(--primary-rgb), 0.1) !important;
  color: var(--primary) !important;
  transform: translateX(5px);
  transition: all 0.3s ease;
}

.hero-badge-wrapper {
  position: relative;
  display: inline-block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(var(--primary-rgb), 0.1);
  padding: 8px 20px;
  border-radius: 30px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  transition: all 0.3s ease;
}
.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  min-width: 200px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}
/* Default active state */
.feature-card.active {
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
  background-color: rgba(var(--primary-rgb), 0.1);
}
.feature-card:hover {
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}





.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}



.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.1);
}

.hero-badge-line {
  position: absolute;
  top: 50%;
  left: -30px;
  width: 20px;
  height: 2px;
  background: var(--primary);
  opacity: 0.5;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

.gradient-wrapper {
  position: relative;
  display: inline-block;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.gradient-underline {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(var(--primary-rgb), 0.1);
  z-index: -1;
  border-radius: 4px;
  transform: scaleX(0.8);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.gradient-wrapper:hover .gradient-underline {
  transform: scaleX(1);
}

.hero-cta-wrapper {
  position: relative;
  display: inline-block;
}

.hero-shape-1,
.hero-shape-2 {
  position: absolute;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  z-index: 0;
}

.hero-shape-1 {
  width: 100px;
  height: 100px;
  top: -20px;
  right: -20px;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
  width: 60px;
  height: 60px;
  bottom: -10px;
  left: -10px;
  animation: float 6s ease-in-out infinite 2s;
}

.hero-visual {
  position: relative;
  padding: 20px;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
}

.hero-main-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(5px 5px 5px rgba(30, 41, 59, 20%));
  animation: float 6s ease-in-out infinite;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon i {
  color: var(--primary);
  font-size: 1.2rem;
}

.card-content {
  flex: 1;
}

.card-title {
  color: var(--gray-400);
  margin-bottom: 2px;
}

.card-text {
  color: var(--gray-400);
  margin: 0;
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 1px 1px, rgba(var(--primary-rgb), 0.1) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.5;
  z-index: 1;
}

.hero-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 1px 1px, var(--primary) 1px, transparent 0);
  background-size: 8px 8px;
  opacity: 0.1;
  z-index: 1;
}

.hero-bg-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.02) 100%);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.section {
  padding: 80px 0;
}

.title-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  font-weight: 700;
  opacity: 0.06;
  z-index: 0;
  white-space: nowrap;
}

.img-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  position: relative;
}

.img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
  border-color: rgba(var(--primary-rgb), 0.2);
}


/* HTML: <div class="ribbon">Your text content</div> */

.ribbon {
  --f: .5em; /* control the folded part */
  padding-inline: 1.5lh;
  position: absolute;
  top: 0;
  left: 0;
  padding-bottom: var(--f);
  border-image: conic-gradient(#0008 0 0) 51%/var(--f);
 clip-path: polygon(100% calc(100% - var(--f)), 100% 100%, calc(100% - var(--f)) calc(100% - var(--f)), var(--f) calc(100% - var(--f)), 0 100%, 0 calc(100% - var(--f)), 999px calc(100% - var(--f) - 999px), calc(100% - 999px) calc(100% - var(--f) - 999px));
  transform: translate(calc((cos(45deg) - 1)*100%), -100%) rotate(-45deg);
  transform-origin: 100% 100%;
}


.demo-img {
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.demo-img img {
  transition: transform 0.3s ease;
}

.demo-img:hover img {
  transform: scale(1.05);
}

.fs-12 {
  font-size: 0.75rem;
}

.fs-22 {
  font-size: 1.375rem;
}

.card {
  border: none;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card-body {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.footer-section {
  padding: 120px 0;
}

.badge-text {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--gray-400);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-400);
  opacity: 0.8;
  margin-bottom: 32px;
}

.doc-topbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 9;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
  transition: all 0.3s ease;
}



/* Card Styles */
.card {
  border: none;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
}

.card-body {
  padding: 2rem;
}

/* Sidebar Navigation */
.sticky-top {
  top: 100px;
}

ul li {
  margin-bottom: 0.5rem;
}

ul a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  color: var(--gray-400) !important;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

ul a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

ul a:hover {
  background: rgba(var(--primary-rgb), 0.05);
  color: var(--primary) !important;
  transform: translateX(5px);
}

ul a:hover::before {
  transform: scaleY(1);
}

ul a i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

ul a:hover i {
  transform: scale(1.1);
}

/* Code Blocks */
.doc-code {
  position: relative;
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1.5rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.doc-code .copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-5px);
  z-index: 2;
}

.doc-code:hover .copy-btn {
  opacity: 1;
  transform: translateY(0);
}

.doc-code .copy-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.doc-code .copy-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.doc-code .copy-btn:hover i {
  transform: scale(1.1);
}

/* Section Numbers */
.bg-soft-primary-card {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

.doc-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
}

/* Footer */
footer {
  background: #ffffff;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  padding: 2rem 0;
}

/* Theming Section Styles */
.bg-gradient-light {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-gradient-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.bg-gradient-light:hover .icon-wrapper {
  transform: scale(1.1);
}

.bg-soft-primary {
  background-color: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

/* Accordion Styles */
.accordion-button {
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem !important;
  transition: all 0.3s ease;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(99, 102, 241, 0.1);
}

.accordion-button::after {
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  background-color: #f8fafc;
  border-radius: 0 0 0.5rem 0.5rem;
}

/* Mobile Styles */
@media (max-width: 991.98px) {
  .offcanvas {
    width: 280px;
  }

  .sidebar-menu a {
    margin: 0.25rem 0;
  }

  .offcanvas-header {
    background: rgba(var(--primary-rgb), 0.02);
  }
}