/*
Theme Name:   EduBlink Child
Theme URI:    https://demo.edublink.co/
Author:       DevsBlink
Author URI:   https://themeforest.net/user/devsblink/portfolio
Description:  EduBlink Child Theme For LMS and Education Purpose.
Version:      1.0.0
Template:     edublink
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain:  edublink-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
*/



@font-face {
  font-family: 'ClashGrotesk';
  src: url('assets/fonts/ClashGrotesk-Extralight.woff2') format('woff2'),
    url('assets/fonts/ClashGrotesk-Extralight.woff') format('woff'),
    url('assets/fonts/ClashGrotesk-Extralight.ttf') format('truetype');
  font-weight: 200;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'ClashGrotesk';
  src: url('assets/fonts/ClashGrotesk-Light.woff2') format('woff2'),
    url('assets/fonts/ClashGrotesk-Light.woff') format('woff'),
    url('assets/fonts/ClashGrotesk-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'ClashGrotesk';
  src: url('assets/fonts/ClashGrotesk-Regular.woff2') format('woff2'),
    url('assets/fonts/ClashGrotesk-Regular.woff') format('woff'),
    url('assets/fonts/ClashGrotesk-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'ClashGrotesk';
  src: url('assets/fonts/ClashGrotesk-Medium.woff2') format('woff2'),
    url('assets/fonts/ClashGrotesk-Medium.woff') format('woff'),
    url('assets/fonts/ClashGrotesk-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'ClashGrotesk';
  src: url('assets/fonts/ClashGrotesk-Semibold.woff2') format('woff2'),
    url('assets/fonts/ClashGrotesk-Semibold.woff') format('woff'),
    url('assets/fonts/ClashGrotesk-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'ClashGrotesk';
  src: url('assets/fonts/ClashGrotesk-Bold.woff2') format('woff2'),
    url('assets/fonts/ClashGrotesk-Bold.woff') format('woff'),
    url('assets/fonts/ClashGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}


.fw-500 {

  font-weight: 500;
}

:root {

  --edublink-font-secondary: 'ClashGrotesk' !important;
}

h1.elementor-heading-title,
h2.elementor-heading-title,
h3.elementor-heading-title,
h4.elementor-heading-title,
h5.elementor-heading-title,
h6.elementor-heading-title,
.h1.elementor-heading-title,
.h2.elementor-heading-title,
.h3.elementor-heading-title,
.h4.elementor-heading-title,
.h5.elementor-heading-title,
.h6.elementor-heading-title {
  font-weight: 600;
}

.edublink-el-single-depth-menu li a, .edublink-header-area ul.edublink-navbar-nav li a {

      font-family: var(--edublink-font-primary);
}

.cus-heading-1 .elementor-heading-title {

  font-weight: 600;
  line-height: 1.27em;
  color: #415869;
}

.cus-heading-2 .elementor-heading-title,
.cus-heading-2 .heading {

  line-height: 1.23em !important;
  font-weight: 600;
  color: #415869;
}

.cus-heading-2 strong {

  color: #00A0AE !important;
}

.cus-heading-3 .title {

  color: #415869;
}

.cus-heading-3 .description {

  line-height: 1.187em;
}

.edublink-section-heading .heading mark,
.edublink-color-secondary {

  color: #00A0AE !important;
}

.cus-paragraph.elementor-widget-text-editor p,
.cus-paragraph .sub-heading p {

  line-height: 1.21em;
  font-weight: 600;
}

@media all and (max-width: 599px) {

  .cus-paragraph.elementor-widget-text-editor p,
  .cus-paragraph .sub-heading p {

    line-height: 1.21em;
    font-weight: 600;
  }
}

@media all and (max-width: 1199px) {

  .edublink-page-title-area .shape-dot-wrapper.edublink-d-none {

    display: block !important;
  }

  .edublink-page-title-area .shape-dot-wrapper.edublink-d-none .shape-1,
  .edublink-page-title-area .shape-dot-wrapper.edublink-d-none .shape-2,
  .edublink-page-title-area .shape-dot-wrapper.edublink-d-none .shape-4,
  .edublink-page-title-area .shape-dot-wrapper.edublink-d-none .shape-5 {

    display: none;
  }

  .edublink-page-title-area .shape-dot-wrapper.edublink-d-none .shape-3 {

    left: -15%;
  }

  .cus-paragraph.elementor-widget-text-editor p,
.cus-paragraph .sub-heading p {

  font-size: 2rem !important;
}
}

@media all and (min-width: 1200px) {

  .cus-heading-2 .elementor-heading-title,
.cus-heading-2 .heading {

  font-size: 4.8rem !important;
}

.cus-paragraph.elementor-widget-text-editor p,
.cus-paragraph .sub-heading p {

  font-size: 2.8rem !important;
}

.cus-heading-1 .elementor-heading-title {

  font-size: 5.4rem;
}

.cus-pre-heading .pre-heading {

  font-size: 2.4rem;
}

a.edublink-button-item {

  font-size: 2.4rem;
}
}


.cus-pre-heading .pre-heading {

  font-family: 'ClashGrotesk';
  color: #858585;
  line-height: 1.25em;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
}

a.edublink-button-item {

  font-family: 'ClashGrotesk';
  height: 68px;
  line-height: 70px;
  font-weight: 600;
}

/* ---
Header */

.elementor-element-220db33 .edublink-button-item  {

  font-size: 2rem;
}

.edublink-default-breadcrumb .shape-2,
.edublink-course-page-header .shape-2 {

  display: none !important;
}

.edublink-course-page-header,
.edublink-page-title-area.edublink-default-breadcrumb {

  background-color: #D7E7E9 !important;
  background-image: url("assets/images/header-pattern.png");
  background-size: cover;
  background-position: center bottom !important;
  background-repeat: no-repeat;
}

.edublink-page-title-area.edublink-default-breadcrumb .edublink-page-title h1 {

  color: #415869 !important;
}

/* ---
Card Course */

.edublink-single-course.course-style-14 {

  background-color: white !important;
}

.edublink-single-course.course-style-14 .content .course-level a,
.edublink-course-14-hover .inner .content .course-level a {

  font-family: 'ClashGrotesk' !important;
  color: #00A0AE !important;
}

.edublink-single-course .content .course-meta li i {

  color: #00A0AE !important;
}

.edublink-single-course.course-style-14 .content .title,
.edublink-single-course.course-style-14 .content .title a,
.edublink-course-14-hover .inner .content .title,
.edublink-course-14-hover .inner .content .title a {

  font-family: 2.2rem !important;
  color: #415869 !important;
}

.edublink-single-course.course-style-14 .content p {

  font-size: 1.6rem !important;
  color: #191919 !important;
  line-height: 1.10em !important;
}

/* ---
Card Testimonial */

.eb-testimonial-grid .content p {

  color: #415869 !important;
  font-size: 1.6rem !important;
  line-height: 1.187em !important;
  font-weight: 600 !important;
}

.eb-testimonial-grid .content .title {

  color: #415869 !important;
}

.eb-testimonial-grid:after {

  display: none;
}

/* ---
Course */

.ld-accordion__content .ld-accordion__item-title.ld-accordion__item-title--lesson {

  font-size: 1.5rem;
}

.edublink-single-course.course-style-14 .content .course-level a {

  color: #00A0AE;
}


.ld-navigation__next-link--just-completed,
.ld-navigation__next-link--just-completed:active,
.ld-navigation__next-link--just-completed:focus,
.ld-navigation__next-link--just-completed:focus-visible,
.ld-navigation__next-link--just-completed:focus-within,
.ld-navigation__next-link--just-completed:hover,
.ld-navigation__next-link--no-user,
.ld-navigation__next-link--no-user:active,
.ld-navigation__next-link--no-user:focus,
.ld-navigation__next-link--no-user:focus-visible,
.ld-navigation__next-link--no-user:focus-within,
.ld-navigation__next-link--no-user:hover,
.ld-progress-bar__meter-foreground {

  background-color: #00A0AE !important;
}

.learndash-wrapper .ld-button:hover:not([disabled]):not(.ld-button-transparent):not(.ld--ignore-inline-css),
#learndash-tooltips .ld-tooltip:after,
#learndash-tooltips .ld-tooltip,
.ld-tooltip:not(.ld-tooltip--modern) [role="tooltip"],
.learndash-wrapper .ld-primary-background,
.learndash-wrapper .btn-join:not(.ld--ignore-inline-css),
.learndash-wrapper #btn-join:not(.ld--ignore-inline-css),
.learndash-wrapper .ld-button:not([disabled]):not(.ld-button-reverse):not(.ld-button-transparent):not(.ld--ignore-inline-css),
.learndash-wrapper .ld-expand-button:not([disabled]),
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button:not([disabled]):not(.wpProQuiz_button_reShowQuestion):not(.wpProQuiz_button_restartQuiz),
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button2:not([disabled]),
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading,
.learndash-wrapper .ld-focus-comments .form-submit #submit,
.learndash-wrapper .ld-login-modal input[type='submit']:not([disabled]),
.learndash-wrapper .ld-login-modal .ld-login-modal-register:not([disabled]),
.learndash-wrapper .wpProQuiz_content .wpProQuiz_certificate a.btn-blue:not([disabled]),
.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items a:not([disabled]),
#wpProQuiz_user_content table.wp-list-table thead th,
#wpProQuiz_overlay_close:not([disabled]),
.learndash-wrapper .ld-expand-button.ld-button-alternate:not([disabled]) .ld-icon {

  color: #ffffff !important;
}

.ld-focus-content {

  background-color: #ffffff;
  border: 2px dashed #d3d3d3;
}

.ld-focus-main {

  background-image: url("assets/images/lesson-bg-pattern.png");
  background-repeat: repeat;
  background-size: 739px;
}

.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content h1 {

  color: #415869;
}

@media all and (max-width: 1023px) {

.eb-course-details-page-content {

  margin-top: 30px;
}
}

.shortcode-button {
  display: block !important;
  width: fit-content;
}

/* ---
Home */

.elementor-element-99ca090 .edublink-lms-courses-grid {

  justify-content: center;
}

/* ---
Contact */

.page-id-17213 .edublink-contact-form-single-item.eb-contact-button {

  width: 100% !important
}

/* ---
About */

.elementor-10337 .elementor-element.elementor-element-982fec8 > .elementor-background-overlay {

  display: none;
}

.elementor-element-00ec3fe .elementor-heading-title {

  font-size: 2.4rem !important;
  color: #415869 !important;
  text-transform: none !important;
}

.elementor-element-96a69af .eb-team-grid {

  justify-content: center;
}

.elementor-element-96a69af .edublink-team-item .content .title {

  font-size: 3.6rem;
  color: #415869;
}

.elementor-element-96a69af .edublink-team-item .content .designation {

  color: #191919;
}

/* ===== Lesson Checklist Gate (modern card) ===== */
.lesson-checklist-gate {
  --lcg-accent: #00A0AE;
  /* change accent color here */
  --lcg-bg: #ffffff;
  --lcg-border: #D7E7E9;
  --lcg-text: #191919;
  --lcg-muted: #191919;

  position: relative;
  background: var(--lcg-bg);
  border: 1px solid var(--lcg-border);
  border-radius: 16px;
  padding: 18px 18px 16px;
  margin: 18px 0;
  box-shadow: 0 10px 30px rgba(2, 6, 23, .08);
  overflow: hidden;
}

.lesson-checklist-gate::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--lcg-accent), rgba(0, 160, 174, 0.25));
}

.lesson-checklist-gate p {
  margin: 0 0 12px;
  color: var(--lcg-text);
}

.lesson-checklist-gate strong {
  font-size: 1.05rem;
  letter-spacing: .2px;
}

.lesson-checklist-gate .lcg-items {
  display: grid;
  /* gap: 10px; */
  margin: 10px 0 12px;
}

.lesson-checklist-gate label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: rgba(0, 160, 174, 0.05);
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
  user-select: none;
}

.lesson-checklist-gate label:hover {
  transform: translateY(-1px);
  background: rgba(99, 102, 241, .08);
  border-color: rgba(99, 102, 241, .25);
}

.lesson-checklist-gate input.lcg-box {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--lcg-accent);
  /* modern checkbox color */
  flex: 0 0 auto;
}

.lesson-checklist-gate .lcg-hint {
  margin-top: 6px;
  color: var(--lcg-muted);
  font-size: .95rem;
  line-height: 1.35;
}

/* Optional: show a “locked/unlocked” badge */
.lesson-checklist-gate .lcg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: rgba(15, 23, 42, .04);
  color: var(--lcg-muted);
}

.lesson-checklist-gate.is-unlocked .lcg-badge {
  border-color: rgba(34, 197, 94, .25);
  background: rgba(34, 197, 94, .10);
  color: rgba(21, 128, 61, 1);
}

/* Make disabled LD buttons/links look intentionally disabled */
a[aria-disabled="true"],
button[aria-disabled="true"],
button:disabled {
  opacity: .45 !important;
  filter: grayscale(.2);
}

/* Small screens */
@media (max-width: 480px) {
  .lesson-checklist-gate {
    border-radius: 14px;
    padding: 16px 14px;
  }

  .lesson-checklist-gate label {
    padding: 10px;
  }
}

/* Color override for tab labels and accordion content links/buttons */
.ld-tab-bar__tab[aria-selected="true"],
.ld-tab-bar__tab[aria-selected="false"]:hover,
.ld-accordion__item-icon--progress,
.ld-accordion__item-title:is(a):hover,
.ld-accordion__expand-button {
  color: #00A0AE !important;
}

.ld-tab-bar__tab[aria-selected="true"]::after,
.ld-tab-bar__tab[aria-selected="false"]:hover::after,
.ld-accordion__expand-button-text {
  border-color: #00A0AE !important;
}


/* -------------------------------------------------------
 * Newsletter CF7 Form (replaces Mailchimp widget)
 * ------------------------------------------------------- */

.edublink-contact-form-wrapper .wpcf7-form p {
    margin: 0;
}

/* Email + button row — always flex */
.edublink-contact-form-wrapper .newsletter-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 10px;
}

/* CF7 wraps input in a span — make it flex too */
.edublink-contact-form-wrapper .newsletter-row .wpcf7-form-control-wrap {
    flex: 1;
    display: flex;
    min-width: 0;
}

/* Email input */
.edublink-contact-form-wrapper .newsletter-row input[type="email"] {
    font-family: var(--edublink-font-primary);
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #333;
    outline: none;
}

/* Submit button */
.edublink-contact-form-wrapper .newsletter-row input[type="submit"] {
    font-family: var(--edublink-font-primary);
    height: 50px;
    padding: 0 20px;
    background: #2ec4a5;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.3s;
}

.edublink-contact-form-wrapper .newsletter-row input[type="submit"]:hover {
    background: #27ae93;
}

/* Acceptance fine print */
.edublink-contact-form-wrapper .wpcf7-form .wpcf7-acceptance label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
}

.edublink-contact-form-wrapper .wpcf7-form .wpcf7-acceptance a {
    color: #888;
    text-decoration: underline;
}

/* Response message */
.edublink-contact-form-wrapper .wpcf7-form .wpcf7-response-output {
    margin-top: 10px;
    font-size: 13px;
}

/* Mobile — stack vertically below 767px */
@media (max-width: 767px) {
    .edublink-contact-form-wrapper .newsletter-row {
        flex-direction: column;
        gap: 0;
    }

    .edublink-contact-form-wrapper .newsletter-row .wpcf7-form-control-wrap {
        width: 100%;
    }

    .edublink-contact-form-wrapper .newsletter-row input[type="email"] {
        border-radius: 6px;
        width: 100%;
    }

    .edublink-contact-form-wrapper .newsletter-row input[type="submit"] {
        border-radius: 6px;
        width: 100%;
        margin-top: 10px;
    }
}
/* ============================================
   Course Completion Page (Updated to Green)
   ============================================ */

#course-complete-wrap {
    background: #ffffff;
    min-height: 60vh;
}

.eb-completion-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 100px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Updated radial glow to light green */
.eb-completion-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, #f0fff4 0%, transparent 70%);
    pointer-events: none;
}

.eb-completion-inner {
    position: relative;
    text-align: center;
    max-width: 620px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2f0e6;
    border-radius: 20px;
    padding: 60px 48px;
    box-shadow:
        0 4px 24px rgba(40, 167, 69, 0.08),
        0 1px 4px rgba(0,0,0,0.04);
}

/* Check icon color */
.eb-completion-icon {
    margin: 0 auto 28px;
    width: 80px;
    height: 80px;
    color: #28a745;
    animation: eb-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes eb-pop {
    from { transform: scale(0.6); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

/* "Congratulations" label color */
.eb-completion-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #28a745;
    margin: 0 0 14px;
    animation: eb-fadein 0.5s 0.1s both;
}

@keyframes eb-fadein {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.eb-completion-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a2e;
    margin: 0 0 24px;
    animation: eb-fadein 0.5s 0.2s both;
}

.eb-completion-course {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 10px;
    animation: eb-fadein 0.5s 0.3s both;
}

.eb-completion-course strong {
    color: #1a1a2e;
    font-weight: 700;
    display: block;
    font-size: 18px;
    margin-top: 4px;
}

.eb-completion-date {
    font-size: 14px;
    color: #999;
    margin: 0 0 36px;
    animation: eb-fadein 0.5s 0.35s both;
}

.eb-certificate-wrap {
    animation: eb-fadein 0.5s 0.45s both;
}

/* Green Download Button */
.eb-certificate-wrap a,
.eb-certificate-wrap .learndash-certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #28a745;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.35);
}

.eb-certificate-wrap a:hover,
.eb-certificate-wrap .learndash-certificate-link:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.45);
}

.eb-certificate-wrap a::before,
.eb-certificate-wrap .learndash-certificate-link::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.eb-completion-content {
    padding: 60px 24px;
}

@media (max-width: 600px) {
    .eb-completion-inner {
        padding: 40px 24px;
    }
    .eb-completion-heading {
        font-size: 2rem;
    }
}

/* Hide LearnDash course sidebar price */
.edublink-course-meta-informations li.course-price {
    display: none !important;
}

/* Hide top border form instructor */
.edublink-course-meta-informations li.course-instructor {
    border: none !important;
}