@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap");

/* ── Rainmakers design tokens ── */
:root {
  --ink: #06131f;
  --muted: #546374;
  --line: #dce8f1;
  --blue: #39b4d9;
  --blue-strong: #39b4d9;
  --blue-soft: #eaf7fc;
  --blue-dark: #3aa8ca;
}

/* ── Hero gradient background ── */
.hero-bg {
  background: linear-gradient(to bottom, #ffffff 0%, #f0f8ff 100%);
}

/* ── Base reset ── */
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
ul{
  padding-left: 0;
  
}
html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 11% 8%, rgba(13, 178, 235, 0.10), transparent 25%),
    radial-gradient(circle at 91% 16%, rgba(13, 178, 235, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f6fcff 27%, #ffffff 55%, #eefaff 100%);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ── Serif utility ── */
.serif {
  font-family: Georgia, serif;
}

/* ── Layout shell ── */
.page-shell {
  width: min(1110px, calc(100% - 48px));
  margin-inline: auto;
}

/* ── Section kicker ── */
.section-kicker {
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ── Header ── */
.rainmakers-header,
.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(220, 232, 241, 0.8);
  background: rgba(255, 255, 255, 0.9);
}

.header-cta {
  display: inline-flex;
  min-width: 140px;
  min-height: 40px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #39b4d9 0%, #3aa8ca 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
}

/* ── CTA button ── */
.cta {
  background: linear-gradient(180deg, #38b0d4 0%, #31aacf 100%);
  transition: transform .16s ease, box-shadow .16s ease;
}

.cta:hover {
  transform: translateY(-1px);
}

/* ── Panel card ── */
.panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 8px rgb(25 91 126 / 19%);
  position: relative;
}

.vs-badge {
  display: grid;
  height: 48px;
  width: 48px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 9999px;
  border: 2px solid #d7e3ef;
  background: white;
  font-size: 14px;
  font-weight: 800;
  color: black;
  box-shadow: 0 0 0 5px #f8fbff;
  /* mobile: centered between the two stacked halves */
  align-self: center;
  margin: -24px auto;
  position: relative;
  z-index: 20;
}

@media (min-width: 768px) {
  .vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    align-self: auto;
  }
}

/* ── Soft icon bubble ── */
.soft-icon {
  width: 68px;
  height: 68px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-strong);
}

/* ── Avatar placeholder ── */
.avatar {
  background:
    radial-gradient(circle at 48% 28%, #f3c79d 0 13%, transparent 14%),
    radial-gradient(circle at 48% 53%, #835135 0 22%, transparent 23%),
    linear-gradient(135deg, #dff5ff, #f8fdff);
}

/* ── Platform dashboard image shadow ── */
.rm-dashboard-shadow {
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.05),
    0 -2px 12px rgba(0, 0, 0, 0.04),
    2px 0 12px rgba(0, 0, 0, 0.03),
    -2px 0 12px rgba(0, 0, 0, 0.03);
}

/* ── Responsive shell ── */
@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 28px, 560px);
  }
}

/* ── Tablet & Mobile (below 1024px) ── */
@media (max-width: 1023px) {

  /* Hero — stack, center all content */
  .hero-bg .drop-zone {
    grid-template-columns: 1fr !important;
    text-align: center;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
    gap: 2rem;
    min-height: auto;
  }

  .hero-bg ul {
    display: inline-grid;
    text-align: left;
    margin-inline: auto;
  }

  .hero-bg .drop-zone > div:first-child > div.mt-8 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-bg p {
    margin-inline: auto;
  }

  /* Hero image — no scale, constrain size */
  .hero-bg .rm-dashboard-shadow {
    transform: none !important;
    max-width: 600px;
    margin-inline: auto;
  }

  /* How It Works — 2x2 grid on tablet */
  #how .how-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 600px;
    margin-inline: auto;
  }

  .how-steps-arrows {
    display: none !important;
  }

  /* Why It's Better — stack columns */
  .panel .overflow-hidden {
    display: block !important;
  }

  .panel .md\:w-1\/2 {
    width: 100% !important;
  }

  .panel .md\:border-l {
    border-left: 0 !important;
    border-top: 1px solid #e0f0fa !important;
  }


  /* Earnings — 2x2 grid, max width */
  #earnings .mt-9 {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 560px;
    margin-inline: auto;
  }

  /* Platform — stack, center */
  #platform .drop-zone {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  #platform .drop-zone > div:first-child {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #platform ul {
    display: inline-grid;
    text-align: left;
  }

  #platform .drop-zone > div:first-child a.cta {
    display: inline-flex;
    width: auto;
  }

  /* Platform dashboard image — constrain on tablet */
  #platform .rm-dashboard-shadow {
    max-width: 640px;
    margin-inline: auto;
  }

  /* Testimonials — single col on tablet/mobile */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    max-width: 600px;
    margin-inline: auto;
  }

  /* Waitlist CTA — center */
  #waitlist .drop-zone {
    text-align: center;
  }
}

/* ── Mobile only (below 640px) ── */
@media (max-width: 639px) {

  /* How It Works — single col on small phones */
  #how .how-grid {
    grid-template-columns: 1fr !important;
    max-width: 380px;
  }

  /* Earnings — single col on small phones */
  #earnings .mt-9 {
    grid-template-columns: 1fr !important;
    max-width: 320px;
  }

  /* Hero image — full width on small phones */
  .hero-bg .rm-dashboard-shadow {
    max-width: 100%;
  }

  /* Tighter section padding */
  .drop-zone.page-shell {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* ── Page Builder pointer-events management ── */
buttonform > div,
dialogform > div,
plainform > div,
wizardform > div,
form > div,
.buttonform-cmp-css > div {
  pointer-events: unset !important;
}

.grp-wrapper-class buttonform > div,
.gjs-editor-cont buttonform > div,
.grp-wrapper-class dialogform > div,
.gjs-editor-cont dialogform > div,
.grp-wrapper-class plainform > div,
.gjs-editor-cont plainform > div,
.grp-wrapper-class wizardform > div,
.gjs-editor-cont wizardform > div,
.grp-wrapper-class form > div,
.gjs-editor-cont form > div,
.grp-wrapper-class .widgets > *,
.gjs-editor-cont .widgets > *,
.grp-wrapper-class .buttonform-cmp-css > div,
.gjs-editor-cont .buttonform-cmp-css > div {
  pointer-events: none !important;
}

.grp-wrapper-class buttonform *,
.grp-wrapper-class dialogform *,
.grp-wrapper-class plainform *,
.grp-wrapper-class wizardform *,
.grp-wrapper-class form *,
.grp-wrapper-class .widgets *,
.grp-wrapper-class .buttonform-cmp-css * {
  outline: unset !important;
  outline-offset: unset !important;
}

/* ── Plain form base ── */
plainform form,
plainform .form_builds {
  float: left;
  width: 100%;
}

plainform form .formbuilder-button,
.modal .modal-body plainform form .formbuilder-button,
dialogform form .formbuilder-button {
  margin: 0 !important;
  padding: 15px;
}

/* ── Wizard / normal form nav buttons ── */
.main_form .prevBtn,
.main_form .nextBtn {
  padding: 5px 15px;
  background-color: var(--blue-strong) !important;
  color: #fff;
  display: inline-block;
  text-align: center;
  border-radius: 50px;
  font-size: 15px;
  border: 1px solid var(--blue-strong) !important;
}

.main_form .prevBtn:hover,
.main_form .nextBtn:hover {
  background-color: #fff !important;
  color: var(--blue-strong);
  border: 1px solid var(--blue-strong) !important;
}

.main_form .wizard_form .prevArrowBtn,
.main_form .wizard_form .nextArrowBtn {
  color: var(--blue-strong) !important;
}

/* ── Main form wrapper ── */
.main_form {
  width: 100%;
  height: auto !important;
  float: left;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

wizardform .main_form {
  height: auto;
}

.main_form .wizard_form {
  max-width: 1200px;
  width: 100%;
  margin: 20px 10px;
  float: left;
  position: relative;
  box-shadow: 0px 3px 12px rgba(170, 170, 170, 0.42);
  background: transparent;
  padding: 20px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  height: auto;
}

.modal .main_form .wizard_form {
  margin: 0;
  box-shadow: unset;
  padding: 0;
}

.main_form .wizard_form .form-cont {
  position: relative;
}

.main_form .wizard_form .progress-header .progress-bar {
  background-color: var(--blue-strong);
}

.main_form .wizard_form button.prevBtn.avoid-clicks {
  opacity: 0.2;
}

.main_form .wizard_form .form-cont #layoutPreview {
  width: 75%;
  float: unset;
  margin: 0 auto;
}

.wizard_form form.layout_sec {
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
}

.wizard_form p,
.wizard_form h1,
.wizard_form h2,
.wizard_form h3,
.wizard_form h4,
.wizard_form h5,
.wizard_form h6 {
  padding: 0 !important;
}

.wizard_form form label {
  color: #111 !important;
  width: 100%;
  float: left;
  text-align: left;
}

/* Google Places autocomplete dropdown */
.pac-container {
  z-index: 100000 !important;
}

.pac-logo::after {
  height: 0px !important;
  background-image: none !important;
}

/* webinar */
.grp-wrapper-class buttonform>div,
.gjs-editor-cont buttonform>div,
.grp-wrapper-class dialogform>div,
.gjs-editor-cont dialogform>div,
.grp-wrapper-class plainform>div,
.gjs-editor-cont plainform>div,
.grp-wrapper-class wizardform>div,
.gjs-editor-cont wizardform>div,
.grp-wrapper-class form>div,
.gjs-editor-cont form>div,
.grp-wrapper-class .widgets>*,
.gjs-editor-cont .widgets>*,
.grp-wrapper-class .webinar-cmp-css>div,
.gjs-editor-cont .webinar-cmp-css>div,
.grp-wrapper-class .buttonform-cmp-css>div,
.gjs-editor-cont .buttonform-cmp-css>div {
  pointer-events: none !important;
}

.webinar-cmp-css>div {
  pointer-events: unset !important;
}

/* Input validation states */
input.invalid {
  background-color: #ffdddd;
}

select.invalid,
input.invalid,
textarea.invalid,
select.empty-invalid,
input.empty-invalid,
textarea.empty-invalid {
  border: 2px solid red !important;
}

input.valid,
textarea.valid {
  border: 2px solid green !important;
}

/* ============================================================
   Overview / Details / Forms — shared CRM integration styles
   ============================================================ */

:root {
  --ov-primary: var(--blue-strong, #0099d8);
  --ov-primary-dark: var(--blue-dark, #007ab8);
  --ov-primary-soft: var(--blue-soft, #eaf8ff);
  --ov-ink: var(--ink, #06131f);
  --ov-muted: var(--muted, #546374);
  --ov-line: var(--line, #dce8f1);
}

.enigma_theme.content_sec { width: 100%; float: left; }
.coursearea,
.blogarea__2 { width: 100%; float: left; }
.coursearea.sp_top_100,
.blogarea__2.sp_top_100 { padding-top: 100px; }
.coursearea.sp_bottom_100,
.blogarea__2.sp_bottom_100 { padding-bottom: 100px; }
.containerCard { width: 100%; }
.tab-content.tab__content__wrapper { padding: 0; }

/* Blog overview */
.article_overview .blogCardMain { margin: 8px; }
.article_overview .blogCardMain .blog_title { color: var(--ov-ink); transition: color .2s ease; }
.article_overview .blogCardMain .blog_title:hover { color: var(--ov-primary); }
.article_overview .blogCardMain .blog_tags {
  background-color: var(--ov-primary);
  border: 1px solid var(--ov-primary);
  color: #fff !important;
  max-width: 350px !important;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.article_overview .blogCardMain .blog_tags a { color: #fff !important; }
.article_overview .blogCardMain .blog_tags:hover { background-color: var(--ov-primary-dark); }
.article_overview .blogCardMain .blog_desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article_overview .blogCardMain .view_more_btn { color: var(--ov-muted); transition: color .2s ease, fill .2s ease; }
.article_overview .blogCardMain .view_more_btn:hover { color: var(--ov-primary); fill: var(--ov-primary); }
.article_overview .blogCardMain .blog_date { color: var(--ov-muted); }

/* Blog details */
.blog__details__img,
.blogarae__img__2 { max-height: 600px; overflow: hidden; border-radius: 12px; }
.blog__details__img img,
.blogarae__img__2 img { max-width: 100%; width: auto !important; }
.blog__details__content__wraper { width: 100%; }
.blog__details__content__wraper .blog__details__content .blog__details__heading h5 {
  font-weight: 700;
  font-size: 26px;
  line-height: 30px;
  margin-bottom: 10px;
  text-transform: capitalize;
  color: var(--ov-ink);
}
.blog__details__content__wraper .blog__details__content p {
  font-weight: 400;
  line-height: 1.7;
  color: var(--ov-muted);
  margin-bottom: 1rem;
}
.blog_content h1, .blog_content h2, .blog_content h3,
.blog_content h4, .blog_content h5, .blog_content h6 {
  color: var(--ov-ink);
  font-weight: 700;
  margin: 1.25rem 0 .5rem;
}
.blog_content p { color: var(--ov-muted); line-height: 1.7; margin-bottom: 1rem; }
.blog_content ul, .blog_content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.blog_content li { color: var(--ov-muted); line-height: 1.7; margin-bottom: .35rem; }
.blog_content img { max-width: 100%; border-radius: 8px; }
.blog_content a { color: var(--ov-primary); text-decoration: underline; }

/* Plans */
.planCardMain { width: 100%; }
.payment_plan_card {
  background: #fff;
  border: 1px solid var(--ov-line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.payment_plan_card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .1); }
.payment_plan_card.active {
  border-color: var(--ov-primary);
  box-shadow: 0 8px 30px rgba(0, 153, 216, .2);
}
.featured_card {
  border: 2px solid var(--ov-primary) !important;
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 153, 216, .25) !important;
}
.badge-popular {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--ov-primary) 0%, var(--ov-primary-dark) 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 153, 216, .4);
}
.plan_btn {
  background: var(--ov-primary);
  color: #fff;
  border: 1px solid var(--ov-primary);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  width: 100%;
  transition: all .2s ease;
}
.plan_btn:hover { background: var(--ov-primary-dark); border-color: var(--ov-primary-dark); }
#payment_plan .payment_plan_card .fa-check { color: var(--ov-primary) !important; }
#payment_plan .planCardMain { width: 100% !important; }

/* Webinar */
.webinar-cmp-css > div { pointer-events: unset !important; }
.coursearea.webinars_overview .webinar_card_wrap {
  background: #fff;
  border: 1px solid var(--ov-line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.coursearea.webinars_overview .webinar_card_wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

/* Forms */
.form_card {
  background: #fff;
  border: 1px solid var(--ov-line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.form_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
  border-color: var(--ov-primary);
}
.form_thumbnail {
  width: 100%;
  height: 200px;
  background-color: var(--ov-primary-soft);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.form_title {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ov-ink);
}
.enigma_theme form.layout_sec { width: 100%; }
.enigma_theme .wizard_form form.layout_sec { width: 100%; max-width: 100%; flex-wrap: wrap; }
.rendered-form .timepicker-option:has(input[type="radio"]:checked) {
  background-color: var(--ov-primary) !important;
  color: #fff !important;
  border-color: var(--ov-primary) !important;
}
.rendered-form .timepicker-option:has(input[type="radio"]:checked) label { color: #fff !important; }
.contact__form__inner { width: 100%; }

/* Jobs */
.job_listing { width: 100%; }
.job_detail_page { width: 100%; }
.bread_crumb {
  width: 100%;
  display: flex;
  overflow: hidden;
  margin-bottom: 24px;
}
.bread_crumb a { color: var(--ov-muted); transition: color .2s ease; }
.bread_crumb a:hover { color: var(--ov-primary); }
.gradient-overlay {
  background: linear-gradient(135deg, var(--ov-primary-soft) 0%, #ffffff 100%);
}

/* Directory overviews */
.coursearea.providers_overview,
.coursearea.brands_overview,
.coursearea.creators_overview,
.coursearea.webinars_overview { width: 100%; }

/* Misc */
.theme__shadow__circle { display: none; }
.tab-content.tab__content__wrapper.with__sidebar__content { padding: 0; }

/* Responsive */
@media (max-width: 768px) {
  .course__details__heading h3 { font-size: 26px; line-height: 1.3; }
  .webinar_detail { padding: 60px 0; }
  .coursearea.sp_top_100,
  .blogarea__2.sp_top_100 { padding-top: 60px; }
  .coursearea.sp_bottom_100,
  .blogarea__2.sp_bottom_100 { padding-bottom: 60px; }
}
