/* =============================================================
   Clover Academy Font font
   ============================================================= */

@font-face {
    font-family: 'Clover Academy Font';
    src: url('../../../../../uploads/2026/04/clover-academy-font.woff2') format('woff2'),
         url('../../../../../uploads/2026/04/clover-academy-font.woff')  format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.font--academy {
    font-family: 'Clover Academy Font', sans-serif;
}

/* =============================================================
   Clover Academy — Brand tokens
   ============================================================= */

body[data-brand="academy"] {
    --color-primary:    #CC7FFB;

    /* Light mode (default) */
    --color-bg:         #ffffff;
    --color-text:       #000000;
    --color-text-60:    rgba(0, 0, 0, 0.6);
    --color-text-10:    rgba(0, 0, 0, 0.1);
    --color-surface:         #FBF6FE;
    --color-surface-text:    #5F307C;
    --color-field:           #FBF6FE;
    --color-field-text:      #5F307C;

    background-color: var(--color-bg);
    background-image:
        linear-gradient(to right, rgba(204, 127, 251, 0.10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(204, 127, 251, 0.10) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--color-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body[data-brand="academy"][data-mode="dark"] {
    --color-bg:         #000000;
    --color-text:       #ffffff;
    --color-text-60:    rgba(255, 255, 255, 0.6);
    --color-text-10:    rgba(255, 255, 255, 0.1);
    --color-surface:         #230238;
    --color-surface-text:    #ffffff;
    --color-field:           #151515;
    --color-field-text:      #ffffff;
}

.bg--academy-dark { background-color: #271731; }
.bg--academy-soft { background-color: rgba(204, 127, 251, 0.1); }

@keyframes glowing-dot-float {
    0%   { transform: scale(1)    translate(0px, 0px); }
    25%  { transform: scale(1.05) translate(4%, -4%); }
    50%  { transform: scale(0.95) translate(0px, 0px); }
    75%  { transform: scale(1.05) translate(-4%, 4%); }
    100% { transform: scale(1)    translate(0px, 0px); }
}

.glowing-dot {
    background: radial-gradient(circle, rgba(204, 127, 251, 1) 0%, rgba(204, 127, 251, 0.6) 20%, rgba(204, 127, 251, 0.2) 50%, transparent 75%);
    pointer-events: none;
    z-index: -1;
    animation: glowing-dot-float 6s ease-in-out infinite;
}

.glowing-dot--small  { width: 300px; height: 300px; }
.glowing-dot--medium { width: 450px; height: 450px; }
.glowing-dot--large  { width: 650px; height: 650px; }

/* =============================================================
   Timeline
   ============================================================= */

#timeline {
    overflow: hidden;
}

.timeline__track {
    width: max-content;
}

.timeline__step {
    width: calc(100vw / 3);
    min-width: 280px;
    flex-shrink: 0;
}

@media (max-width: 818px) {
    #timeline {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    #timeline::-webkit-scrollbar {
        display: none;
    }
    .timeline__step {
        width: 80vw;
        min-width: 0;
    }
}

.timeline__dot {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    border: 1.5px solid var(--color-text);
    background: var(--color-text);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.timeline__dot.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.timeline__line {
    flex: 1;
    height: 1px;
    background: var(--color-text-10);
}

.timeline__line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 0;
    background: var(--color-primary);
}

/* =============================================================
   Brush stroke border
   ============================================================= */

.brush--border {
    position: relative;
    overflow: visible;
    width: 420px;
    aspect-ratio: 477 / 335;
    flex-shrink: 0;
}

.brush--border img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brush--border::before {
    content: '';
    position: absolute;
    inset: -20px;
    background-image: url('../../img/brush-border.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* =============================================================
   Accordion
   ============================================================= */

.accordion__item {
    border: 1px solid transparent;
    transition: border-color 0.35s ease;
    overflow: hidden;
}

.accordion__item.is-active {
    border-color: var(--color-primary);
    background:var(--color-surface);
}

.accordion__toggle {
    background: var(--color-surface);
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: var(--color-surface-text);
    text-align: left;
    width: 100%;
}

.accordion__body {
    background: var(--color-surface);
    height: 0;
    overflow: hidden;
    color: var(--color-surface-text);
}

.accordion__chevron {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion__item.is-active .accordion__chevron {
    transform: rotate(180deg);
}

/* =============================================================
   Check list
   ============================================================= */

.list--check--academy {
    list-style: none;
}

.list--check--academy li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.list--check--academy li::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10.5L8.5 15L16 5.5' stroke='%23CC7FFB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

body[data-brand="academy"] .header {
    background-color: transparent;
    border-bottom-color: transparent;
}

/* =============================================================
   Custom list styles
   ============================================================= */

.list--circle-unfilled,
.list--circle-filled {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list--circle-unfilled li,
.list--circle-filled li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.list--circle-unfilled li::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-top: 0.15em;
    background-image: url('../../../../../uploads/2026/04/circle-unfilled-academy-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.list--circle-filled li::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-top: 0.15em;
    background-image: url('../../../../../uploads/2026/04/circle-filled-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.highlight-title {
  margin-top: 0;
  margin-bottom: 0;
}

[data-highlight-marker-reveal]{
  visibility: hidden;
}

[data-highlight-marker-reveal] .highlight-marker-line{
  width: auto;
  display: inline-block !important;
  margin: -0.055em 0px;
}

.highlight-marker-bar{
  position: absolute;
  inset: -0.055em 0px;
  z-index: 1;
  pointer-events: none;
}


.wpforms-field-large, .wpforms-field-medium{
    background: var(--color-field) !important;
    border-radius:40px !important;
    color: var(--color-field-text) !important;
}

.wpforms-field-large::placeholder, .wpforms-field-medium::placeholder{
    color: var(--color-field-text) !important;
}

.wpforms-submit{
    background:var(--color-primary) !important;
    width:100% !important;
    text-align:center;
    border-radius:40px !important;
}

.wpforms-submit::after {
    content: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.33325 8.00016H12.6666M12.6666 8.00016L7.99992 3.3335M12.6666 8.00016L7.99992 12.6668' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

/* =============================================================
   Testimonials Grid
   ============================================================= */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* =============================================================
   Mentor photos - 40/60 split within each card
   ============================================================= */

.mentor-photo-col {
    width: 40%;
    flex-shrink: 0;
}

.mentor-photo-col img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.mentor-text-col {
    width: 60%;
    flex: 1;
}

.mentor-more{
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
	.wpforms-submit {
		font-size: 14px !important;
	}

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    button.mentor-toggle {
        background: none;
        border: 0;
        text-align: left;
        margin: 0;
        padding: 0;
    }


    .mentor-photo-col,
    .mentor-text-col {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}