
button[aria-expanded="true"] svg {
  transform: rotate(180deg);
  transition: 0.2s;
}
.offcanvas-body i {
  opacity: 0.7;
}
.mega-dropdown a:hover .bg-primary-subtle,
.mega-dropdown a:hover .bg-info-subtle,
.mega-dropdown a:hover .bg-secondary-subtle {
  transform: scale(1.05);
  transition: 0.15s ease;
}
.social-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 18px;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: #3b82f6; 
  transform: translateY(-2px);
}
.hero-section {
  position: relative;

  background: #ffffff;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at 10% 65%,
    rgba(59,130,246,0.05) 0%,
    rgba(59,130,246,0.03) 18%,
    rgba(59,130,246,0.015) 28%,
    transparent 40%
  );

 
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,   /* top white */
    black 25%,
    black 75%,
    transparent 100%  /* bottom white */
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 25%,
    black 75%,
    transparent 100%
  );

  pointer-events: none;
}
.hero-subtext {
  color: #f8fbff; 
}
.btn {
  padding: 10px 20px;
  border-radius: 999px;
}
.hero-buttons {
  gap: 12px;
}

.hero-subtext {
  color: #64748b;
}
.hero-section h1 {
  font-size: 48px;
  
  line-height: 1.15;
}

.hero-section h1 span {
  display: block;
  font-size: 36px; 
  margin-top: 4px;  
  color: #374151;
  font-weight: 400; 
}

@media (max-width: 768px) {

  /* 1. Headline size */
  h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  /* 2. Subtitle spacing */
  .hero-subtext {
    margin-top: 10px;
  }

  /* 3. Avatar + text layout */
  .hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* 4. Icons size */
  .feature-icon {
    width: 48px;
    height: 48px;
  }

  /* 5. Buttons (better tap size) */
  .btn {
    padding: 12px 20px;
    font-size: 16px;
  }

  /* 6. Space before next section */
  .hero-section h1 {
    font-size: 30px !important;
    line-height: 1.3;
  }
  .hero-section h1 span {
  display: block;
  font-size: 23px;  
  margin-top: 4px;
  color: #374151;
  font-weight: 400; 
}
}


/* capsule header */
.nav-capsule {
  max-width: 900px;
  margin: 18px auto 0;
  padding: 10px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  border: 1px solid rgba(200,200,200,0.3);
}

body {
  padding-top: 120px;
}

.nav-capsule .navbar {
  padding: 0 !important;
  min-height: unset !important;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  height: 28px;
}

.navbar .nav-link {
  padding: 4px 8px;
  font-size: 14px;
  line-height: 1.2;
}

.navbar .btn {
  padding: 5px 12px;
  font-size: 13px;
  line-height: 1.2;
  border-radius: 999px;
}
/* icon label */
.icon-card {
  position: relative;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  text-decoration: none;
}

.icon-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-label {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  color: #333;
  pointer-events: none;
}
/* button */
/* Primary black button */
.btn-dark-main {
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  border: none;
  transition: all 0.2s ease;
}

.btn-dark-main:hover {
  background: #000; /* slightly darker */
  transform: translateY(-2px); /* more lift */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* stronger depth */
}
.btn-dark-main:active {
  transform: translateY(0px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Secondary clean outline */
.btn-light-outline {
  background: #f8fafc;             
  border: 1px solid #e5e7eb;
  color: #111;
  border-radius: 999px;
  padding: 10px 20px;
  transition: all 0.2s ease;
}

.btn-light-outline:hover {
  background: #000;
  border-color: #d1d5db;
  color: #fff;
  transform: translateY(-1px);
}
.btn-primary {
  background-color: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  transition: all 0.2s ease; /* 👈 important */
}

.btn-primary:hover {
  background-color: #000 !important;
  border-color: #000 !important;
  transform: translateY(-1px); /* subtle lift */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* soft shadow */
}

.btn-primary:active {
  transform: translateY(0); /* press effect */
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.btn-dark-main {
  box-shadow: none;
}

/* Limit modern page main cards so they don't stretch full desktop width */
.card.border-0.shadow-sm.rounded-4.mb-4 {
  width: calc(100% - 32px) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Text-heavy pages can stay more readable */
.card.border-0.shadow-sm.rounded-4.mb-4 .card-body {
  max-width: 100%;
}

/* Prevent long code/table/accordion content from breaking layout */
.card.border-0.shadow-sm.rounded-4.mb-4 pre,
.card.border-0.shadow-sm.rounded-4.mb-4 code,
.card.border-0.shadow-sm.rounded-4.mb-4 .table-responsive,
.card.border-0.shadow-sm.rounded-4.mb-4 .accordion {
  max-width: 100%;
}

/* Mobile should stay full width */
@media (max-width: 768px) {
  .card.border-0.shadow-sm.rounded-4.mb-4 {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }
}


/* h1 typing text */
.hero-typing-title {
  font-size: clamp(27px, 3vw, 40px) !important;
  line-height: 1.12 !important;
  margin-bottom: 18px !important;
}

.typing-text {
  display: inline-block;
  min-width: 24ch;
  white-space: nowrap;
  font-size: 0.92em !important;
  line-height: 1.12;
  font-weight: 950;
  color: #020617;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.typing-text::after {
  content: "|";
  display: inline;
  font-size: 1em;
  font-weight: 700;
  margin-left: 3px;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 45% {
    opacity: 1;
  }

  46%, 100% {
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .hero-typing-title {
    font-size: clamp(16px, 4.6vw, 23px) !important;
    margin-bottom: 14px !important;
  }

  .typing-text {
    font-size: 0.92em !important;
    font-weight: 950;
    min-width: 18ch;
    white-space: normal;
    letter-spacing: -0.02em;
  }
}
