/* Home Custom CSS (NextJS homepage match)
:root {
  --ce-primary: #2D1684;
  --ce-secondary: #7830F2;
  --ce-accent: #E53935;
  --ce-bg: #FDFBFF;
  --ce-white: #ffffff;
  --ce-text: #000000;
  --ce-muted: #666666;
  --ce-border: #E3D6FF;
}

/* Base */
.ce-home-container {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ce-text);
  line-height: 1.6;
  background: var(--ce-bg);
  box-sizing: border-box;

}

.ce-home-container *,
.ce-home-container *::before,
.ce-home-container *::after {
  box-sizing: border-box;
}


.ce-section {
  padding: 80px 0;
  width: 100%;
}

/* Ensure Astra Container Centers Content - Breakpoint 1280px */
.ce-section .ast-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: block;
  width: 100%;
}

/* ==========================================================
   HERO
   ========================================================== */
.ce-hero-section {
  background: var(--ce-bg);
  padding: 45px 0 80px;
  margin-top: 50px;
}

.ce-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .ce-hero-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

.ce-hero-rating {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--ce-muted);
}

.ce-hero-rating .fa-star {
  color: #7830F2;
  /* Ensure purple */
  margin: 0 2px;
}

.ce-hero-content h1 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ce-hero-content h1 span {
  color: var(--ce-primary);
}

@media (min-width: 768px) {
  .ce-hero-content h1 {
    font-size: 42px;
  }
}

.ce-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 25px;
  justify-content: center;
}

@media (min-width: 768px) {
  .ce-hero-features {
    justify-content: flex-start;
  }
}

.ce-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid #E0E0E0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ce-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background-color .2s ease;
  cursor: default;
}

@media (min-width: 768px) {
  .ce-hero-chip {
    font-size: 13px;
  }
}

.ce-hero-chip:hover {
  background: #F0F0F0;
}

.ce-hero-chip .fa-check-circle {
  color: #00C853;
  font-size: 14px;
}

.ce-hero-text p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 20px;
  color: var(--ce-text);
}

/* Trust badges (replace hero search) */
.ce-hero-trust {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .ce-hero-trust {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 1024px) {
  .ce-hero-trust {
    grid-template-columns: 1fr;
  }
}

.ce-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(120, 48, 242, 0.18);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(120, 48, 242, 0.10);
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ce-trust-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(120, 48, 242, 0.15);
}

.ce-trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F4E8FF;
  color: var(--ce-secondary);
  flex: 0 0 34px;
}

.ce-trust-trustpilot .ce-trust-icon {
  background: #00b67a;
  color: #fff;
}

.ce-trust-trustpilot .ce-trust-icon i {
  color: #fff;
}

.ce-trust-scamadvisor .ce-trust-icon {
  background: #2d3748;
  color: #fff;
}

.ce-trust-scamadvisor .ce-trust-icon i {
  color: #fff;
}

.ce-trust-icon i {
  font-size: 15px;
  color: var(--ce-secondary);
}

.ce-trust-text {
  font-size: 14px;
  color: #111827;
  line-height: 1.35;
}

.ce-trust-text strong {
  color: var(--ce-primary);
}

.ce-hero-image {
  text-align: center;
}

.ce-hero-image img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Make shortcode search sit nicely */
.ce-hero-search .ce-global-search-wrapper {
  width: 100%;
}

/* ==========================================================
   AS SEEN ON
   ========================================================== */
.ce-seen-on-section {
  background: var(--ce-white);
  border-bottom: 1px solid #f3f4f6;
  padding: 40px 0;
  overflow: hidden;
  /* Hide marquee overflow */
}

.ce-seen-on-badge {
  text-align: center;
  margin-bottom: 24px;
}

.ce-seen-on-badge span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: var(--ce-primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.ce-seen-on-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ce-seen-on-marquee {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.ce-seen-on-marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% / 3));
    /* Move by one-third since we have 3 sets */
  }
}

.ce-brand-item {
  font-size: 24px;
  font-weight: 800;
  color: #9ca3af;
  white-space: nowrap;
  transition: color 0.2s ease;
  cursor: default;
}

.ce-brand-item:hover {
  color: var(--ce-primary);
}

/* Specific brand styles if needed, or keep uniform */
.ce-brand-salesforce {
  font-family: system-ui, sans-serif;
}

.ce-brand-oracle {
  font-family: Georgia, serif;
  letter-spacing: -0.5px;
}

.ce-brand-microsoft {
  font-family: 'Segoe UI', sans-serif;
}

.ce-brand-google {
  font-family: 'Product Sans', Arial, sans-serif;
}

/* Remove old grid styles */
/* .ce-seen-on-grid { ... } */
/* .ce-seen-on-brand { ... } */

/* ==========================================================
   SECTION HEADER
   ========================================================== */
.ce-section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.ce-section-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--ce-primary);
  text-transform: uppercase;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .ce-section-header h2 {
    font-size: 42px;
  }
}

.ce-section-header p {
  font-size: 18px;
  color: var(--ce-text);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================
   POPULAR EXAMS (Mosaic Card List Layout - matches reference)
   ========================================================== */
.ce-popular-exams-mosaic {
  background: var(--ce-bg);
}

.ce-exam-mosaic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .ce-exam-mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.ce-exam-mosaic-card {
  background: var(--ce-white);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}

.ce-exam-mosaic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(120, 48, 242, 0.35);
}

.ce-exam-mosaic-toplink {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #0ea5e9;
  text-decoration: none;
  margin-bottom: 10px;
}

.ce-exam-mosaic-toplink:hover {
  text-decoration: underline;
}

.ce-exam-mosaic-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #2b2b2b;
}

.ce-exam-mosaic-list {
  display: grid;
  gap: 10px;
}

.ce-exam-mosaic-link {
  color: #2d1684;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.35;
}

.ce-exam-mosaic-link:hover {
  text-decoration: underline;
}

/* ==========================================================
   FEATURES
   ========================================================== */
.ce-features-section {
  background: var(--ce-bg);
}

.ce-features-grid-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .ce-features-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ce-features-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ce-feature-title-block {
  display: flex;
}

@media (min-width: 768px) {
  .ce-feature-title-block {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .ce-feature-title-block {
    grid-column: span 1;
  }
}

.ce-feature-title-card {
  width: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4E8FF 100%);
  border-radius: 22px;
  box-shadow: 1px 3px 4px 1px rgba(120, 48, 242, 0.08);
  padding: 44px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (min-width: 768px) {
  .ce-feature-title-card {
    padding: 52px 42px;
  }
}

@media (min-width: 1024px) {
  .ce-feature-title-card {
    justify-content: flex-start;
    text-align: left;
  }
}

.ce-feature-title-card h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--ce-primary);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .ce-feature-title-card h2 {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .ce-feature-title-card h2 {
    font-size: 40px;
  }
}

.ce-feature-card-v2 {
  background: var(--ce-bg);
  padding: 40px 35px;
  border-radius: 22px;
  border: 1px solid var(--ce-border);
  box-shadow: 1px 3px 4px 1px rgba(120, 48, 242, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ce-feature-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 2px 5px 10px 1px rgba(120, 48, 242, 0.12);
}

.ce-feature-icon-v2 {
  font-size: 32px;
  color: var(--ce-secondary);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: #F4E8FF;
  border-radius: 16px;
}

.ce-feature-card-v2 h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ce-primary);
  margin: 0 0 15px;
  line-height: 1.3;
}

.ce-feature-card-v2 p {
  font-size: 16px;
  color: var(--ce-text);
  line-height: 1.7;
  margin: 0;
  flex-grow: 1;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.ce-home-container .ce-testimonials-section {
  background: var(--ce-bg);
}

.ce-home-container .ce-eyebrow {
  font-size: 14px !important;
  color: var(--ce-accent) !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px !important;
}

.ce-home-container .ce-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .ce-home-container .ce-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ce-home-container .ce-testimonial-card {
  background: var(--ce-white);
  border: 1px solid #DECBFF;
  border-radius: 22px;
  padding: 35px;
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
  box-shadow: 0 1px 2px 1px rgba(120, 48, 242, 0.08);
  display: flex;
  flex-direction: column;
}

.ce-home-container .ce-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 3px 6px 1px rgba(120, 48, 242, 0.14);
}

.ce-home-container .ce-testimonial-author {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.ce-home-container .ce-testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ce-secondary);
  flex-shrink: 0;
}

.ce-home-container .ce-testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ce-home-container .ce-testimonial-author-info h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ce-primary);
  margin: 0;
  line-height: 1.2;
}

.ce-home-container .ce-testimonial-name {
  color: var(--ce-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--ce-primary);
  transition: color .2s ease, border-color .2s ease;
}

.ce-home-container .ce-testimonial-name:hover {
  color: var(--ce-secondary);
  border-bottom-color: var(--ce-secondary);
}

.ce-home-container .ce-testimonial-role {
  font-size: 13px;
  color: var(--ce-muted);
  margin: 0;
  line-height: 1.2;
}

.ce-home-container .ce-testimonial-review-link {
  font-size: 13px;
  color: var(--ce-primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color .2s ease;
}

.ce-home-container .ce-testimonial-review-link:hover {
  color: var(--ce-secondary);
}

.ce-home-container .ce-testimonial-rating {
  margin-left: auto;
  color: #FFB800;
  font-size: 12px;
  display: flex;
  gap: 2px;
  align-self: flex-start;
}

.ce-home-container .ce-testimonial-text {
  font-size: 15px;
  color: var(--ce-text);
  line-height: 1.7;
  flex-grow: 1;
}

.ce-home-container .ce-testimonial-text p {
  margin: 0;
  white-space: pre-wrap;
  text-align: left;
}

/* ==========================================================
   PROVIDERS
   ========================================================== */
.ce-providers-section {
  background: var(--ce-bg);
}

.ce-provider-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
}

.ce-provider-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: var(--ce-white);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--ce-primary);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .ce-provider-card {
    width: auto;
  }
}

.ce-provider-card:hover {
  background: var(--ce-secondary);
  border-color: var(--ce-secondary);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}

.ce-provider-card:hover span {
  color: #fff;
}

.ce-providers-section .ce-provider-card:hover {
  background: #7830F2 !important;
  /* Ensure purple */
  border-color: #7830F2 !important;
  color: #fff !important;
}

.ce-providers-section .ce-provider-card:hover span {
  color: #fff !important;
}

/* ==========================================================
   BLOG
   ========================================================== */
.ce-blog-section {
  background: #fff;
}

.ce-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  margin-top: 50px;
}

@media (min-width: 768px) {
  .ce-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ce-blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ce-blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ce-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.ce-blog-thumb {
  display: block;
  height: 240px;
  overflow: hidden;
}

.ce-blog-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.ce-blog-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ce-blog-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ce-primary);
  margin: 0 0 15px;
  line-height: 1.4;
}

.ce-blog-content h3 a {
  color: var(--ce-primary);
  text-decoration: none;
  transition: color .2s ease;
}

.ce-blog-content h3 a:hover {
  color: var(--ce-secondary);
}

.ce-blog-content p {
  font-size: 15px;
  color: var(--ce-text);
  line-height: 1.7;
  margin: 0 0 20px;
  flex-grow: 1;
}

.ce-blog-read-more {
  color: var(--ce-accent);
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ce-view-all-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--ce-secondary);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 15px rgba(120, 48, 242, 0.3);
  margin-top: 20px;
}

.ce-blog-section .ce-view-all-btn {
  background: #7830F2 !important;
  /* Ensure purple */
  color: #fff !important;
}

.ce-view-all-btn:hover {
  background: var(--ce-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 22, 132, 0.4);
  color: #fff;
}

/* NextJS spacing: blog header paragraph has bottom margin */
.ce-blog-section .ce-section-header p {
  margin-bottom: 20px;
}

/* Blog carousel */
.ce-blog-carousel {
  position: relative;
  margin-top: 40px;
}

.ce-blog-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 8px 18px;
  scroll-snap-type: x mandatory;
  scroll-padding: 8px;
  -webkit-overflow-scrolling: touch;
}

.ce-blog-track::-webkit-scrollbar {
  height: 10px;
}

.ce-blog-track::-webkit-scrollbar-thumb {
  background: rgba(120, 48, 242, 0.25);
  border-radius: 999px;
}

.ce-carousel-slide {
  scroll-snap-align: start;
  flex: 0 0 86%;
  max-width: 86%;
}

@media (min-width: 768px) {
  .ce-carousel-slide {
    flex-basis: 48%;
    max-width: 48%;
  }
}

@media (min-width: 1024px) {
  .ce-carousel-slide {
    flex-basis: 32%;
    max-width: 32%;
  }
}

.ce-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(120, 48, 242, 0.25);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(120, 48, 242, 0.18);
  color: var(--ce-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
  z-index: 2;
}

.ce-carousel-btn:hover {
  background: var(--ce-secondary);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.ce-carousel-prev {
  left: -6px;
}

.ce-carousel-next {
  right: -6px;
}

@media (max-width: 767px) {
  .ce-carousel-prev {
    left: -2px;
  }

  .ce-carousel-next {
    right: -2px;
  }
}

/* ==========================================================
   FAQ
   ========================================================== */
.ce-faq-section {
  background: var(--ce-bg);
}

.ce-faq-subtitle {
  font-size: 16px !important;
  color: #333 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px !important;
}

.ce-faq-list {
  max-width: 1100px;
  margin: 50px auto 0;
}

.ce-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

@media (min-width: 768px) {
  .ce-faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ce-faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ce-faq-col .ce-faq-item+.ce-faq-item {
  margin-top: 24px;
  /* Increased spacing */
}

.ce-faq-question {
  padding: 25px 30px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  color: var(--ce-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .2s ease;
  margin: 0;
}

.ce-faq-question:hover {
  background: #F9F9F9;
}

.ce-faq-question .fa-chevron-down {
  font-size: 14px;
  transition: transform .2s ease;
}

.ce-faq-item.active .ce-faq-question .fa-chevron-down {
  transform: rotate(180deg);
}

.ce-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease-out;
}

.ce-faq-item.active .ce-faq-answer {
  max-height: 500px;
  transition: max-height .5s ease-in;
}

.ce-faq-answer-content {
  padding: 0 30px 25px;
  font-size: 16px;
  color: var(--ce-text);
  line-height: 1.8;
}