/* Logo */
.logo img {
  height: 100px;
  width: 100px;
}
/* ---- LOADER ---- */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: #0c0912;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}
.loader-overlay.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-logo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #2205ff;
  animation: spin 1.1s linear infinite;
}
.loader-ring.ring2 {
  inset: 8px;
  border-top-color: transparent;
  border-right-color: rgba(34, 5, 255, 0.35);
  animation-duration: 1.8s;
  animation-direction: reverse;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-logo-img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  animation: logoPulse 2s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}
.loader-brand {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.loader-brand span {
  color: #4a2fff;
}
.loader-tagline {
  font-size: 11px;
  color: rgba(155, 146, 190, 0.7);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.loader-bar-wrap {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2205ff, #7c3aed);
  border-radius: 2px;
  animation: loadBar 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loadBar {
  0% {
    width: 0%;
  }
  40% {
    width: 55%;
  }
  70% {
    width: 78%;
  }
  90% {
    width: 92%;
  }
  100% {
    width: 100%;
  }
}
.loader-dots {
  display: flex;
  gap: 6px;
  margin-top: 18px;
}
.loader-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(34, 5, 255, 0.5);
  animation: dotPop 1.2s ease-in-out infinite;
}
.loader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dotPop {
  0%,
  100% {
    transform: scale(1);
    background: rgba(34, 5, 255, 0.4);
  }
  50% {
    transform: scale(1.5);
    background: #2205ff;
  }
}

/* Whatsapp */
.sticky-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 12px;
  z-index: 1000;
  transition: transform 0.3s ease;
}
.set-whatsapp {
  height: 30px;
  width: 30px;
}

/* Phone */
.sticky-phone {
  position: fixed;
  right: 18px;
  bottom: 55px;
  z-index: 1000;
  transition: transform 0.3s ease;
}
.set-phone {
  height: 30px;
  width: 30px;
}

/* Blogs Page */
.active-link {
  color: var(--white) !important;
  background: rgba(34, 5, 255, 0.15) !important;
}

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
}

/* ---- LAYOUT: SIDEBAR + MAIN GRID ---- */
.blog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* ---- SIDEBAR ---- */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.cat-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.cat-link.active {
  background: rgba(34, 5, 255, 0.18);
  color: var(--white);
  font-weight: 600;
}

.cat-count {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 50px;
  color: var(--text-muted);
}

.cat-link.active .cat-count {
  background: rgba(34, 5, 255, 0.4);
  color: #fff;
}

/* Sidebar CTA card */
.sidebar-cta {
  text-align: center;
  background: linear-gradient(
    145deg,
    rgba(34, 5, 255, 0.12),
    rgba(124, 58, 237, 0.08)
  );
  border-color: rgba(34, 5, 255, 0.25);
}

.sidebar-cta-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: rgba(34, 5, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.sidebar-cta h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.sidebar-cta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

/* ---- BLOG GRID ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 5, 255, 0.35);
  box-shadow: 0 20px 48px rgba(34, 5, 255, 0.18);
}

.blog-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--dark-3);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.08);
}

.blog-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  background: rgba(12, 9, 18, 0.85);
  border: 1px solid rgba(34, 5, 255, 0.4);
  border-radius: 50px;
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #a78bfa;
  backdrop-filter: blur(8px);
}

.blog-card-body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: var(--transition);
}

.blog-card:hover .blog-card-title {
  color: #a78bfa;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-readmore {
  font-size: 0.84rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
}

/* ---- PAGINATION ---- */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.page-num:hover {
  border-color: rgba(34, 5, 255, 0.4);
  color: var(--white);
  background: rgba(34, 5, 255, 0.1);
}

.page-num.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px var(--primary-glow);
}

.page-dots {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0 4px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.page-btn:hover {
  border-color: rgba(34, 5, 255, 0.4);
  background: rgba(34, 5, 255, 0.1);
  color: var(--white);
}

.page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

/* Blog Detail Page */
.active-link {
  color: var(--white) !important;
  background: rgba(34, 5, 255, 0.15) !important;
}

/* ---- BREADCRUMB ---- */
.breadcrumb-strip {
  padding: 40px 0 0;
}

.breadcrumb-strip a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-display);
  transition: var(--transition);
}

.breadcrumb-strip a:hover {
  color: var(--primary-light);
}

/* ---- LAYOUT: SIDEBAR + ARTICLE ---- */
.blog-detail-section {
  padding-top: 40px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* ---- SIDEBAR ---- */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.cat-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.cat-link.active {
  background: rgba(34, 5, 255, 0.18);
  color: var(--white);
  font-weight: 600;
}

.cat-count {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 50px;
  color: var(--text-muted);
}

.cat-link.active .cat-count {
  background: rgba(34, 5, 255, 0.4);
  color: #fff;
}

/* Sidebar CTA card */
.sidebar-cta {
  text-align: center;
  background: linear-gradient(
    145deg,
    rgba(34, 5, 255, 0.12),
    rgba(124, 58, 237, 0.08)
  );
  border-color: rgba(34, 5, 255, 0.25);
}

.sidebar-cta-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: rgba(34, 5, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.sidebar-cta h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.sidebar-cta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

/* ---- ARTICLE ---- */
.blog-article {
  max-width: 720px;
}

.article-cat-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(34, 5, 255, 0.15);
  border: 1px solid rgba(34, 5, 255, 0.3);
  border-radius: 50px;
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 20px;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.article-meta-dot {
  color: rgba(255, 255, 255, 0.2);
}

/* Medium-sized article image */
.article-img-wrap {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 3/2;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--border);
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-body {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.85;
}

.article-body p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 14px;
}

.article-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.justify {
  text-align: justify;
}

.ci-value a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 768px) {
  .logo img {
    height: 80px;
    width: 80px;
  }

  .nav {
    padding-top: 6px;
  }

  .hero-actions {
    margin-bottom: 40px;
    display: block;
  }

  .hero {
    min-height: 60vh;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .rp-pt-12 {
    padding-top: 12px;
  }

  .hero-content {
    padding-bottom: 45px;
  }

  .footer {
    padding-top: 12px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .footer-inner {
    padding-bottom: 18px;
  }

  .hero-stats {
    flex-direction: row;
  }

  /* Blog */
  .page-hero {
    padding: 120px 0 35px;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-main {
    order: 1;
  }

  .blog-sidebar {
    order: 2;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .sidebar-card {
    flex: 1 1 280px;
    min-width: 260px;
  }

  .page-hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-hero-sub {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .sidebar-card {
    min-width: 100%;
    padding: 22px 20px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-card-img-wrap {
    aspect-ratio: 16/9;
  }

  .blog-card-body {
    padding: 20px 18px 22px;
  }

  .blog-card-title {
    font-size: 1.02rem;
  }

  .blog-pagination {
    gap: 10px;
    margin-top: 40px;
  }

  /* Blog Detail */
  .article-title {
    font-size: clamp(1.3rem, 3.5vw, 2.6rem);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .testimonial-card {
    padding: 26px 22px;
  }

  .quote-icon {
    font-size: 2.8rem;
  }
}

/* TESTIMONIALS */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(34, 5, 255, 0.15) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(70px);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(34, 5, 255, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(34, 5, 255, 0.18);
}

.quote-icon {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(34, 5, 255, 0.15);
  line-height: 1;
}

.stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}
