/* Affiliate Program Page CSS - JanBask Style */

:root {
    --jb-blue: #046a8a;
    --jb-blue-dark: #136aab;
    --jb-purple: #624399;
    --jb-yellow: #f8bd00;
    --jb-red: #d52b1e;
    --jb-dark: #000;
    --jb-text: #333;
    --jb-muted: #555;
    --jb-light: #f3fafe;
    --jb-white: #fff;
    --jb-gradient: linear-gradient(135deg, #136aab, #624399);
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    color: var(--jb-text);
    overflow-x: hidden;
    padding-top: 86px;
}

@media (max-width: 767px) {
    body {
        padding-top: 68px;
    }
}

header#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 3px 8px rgb(0 0 0 / 8%);
}

.enrollpyFixed {
    display: none;
}

a {
    color: #000;
    text-decoration: none;
    transition: .3s;
}

a:hover {
    text-decoration: none;
}

section {
    overflow: hidden;
    padding: 80px 0;
}

.jb-section {
    padding: 70px 0;
}

.jb-title {
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: 700;
    color: var(--jb-dark);
    margin-bottom: 16px;
}

.jb-subtitle {
    font-size: 1.1rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: var(--jb-muted);
    margin-bottom: 20px;
}

/* Buttons */
.jb-btn {
    display: inline-block;
    border-radius: 50px;
    padding: 8px 38px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.8rem;
    text-align: center;
    border: none;
    box-shadow: 0 6px 8px 0 rgb(0 0 0 / 24%);
    transition: .3s;
}

.jb-btn:hover {
    text-decoration: none;
}

.jb-btn-yellow {
    background: var(--jb-yellow);
    color: #000;
}

.jb-btn-yellow:hover {
    background: #ffc50e;
    color: #000;
}

/* Hero */
.aff-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 95px 0 75px;
    background:
        linear-gradient(90deg, rgba(5, 22, 48, .92), rgba(5, 22, 48, .72), rgba(5, 22, 48, .18)),
        url("https://assets.janbasktraining.com/assets2026/affiliate-program/banneraflt-bg.jpg") no-repeat center top;
    background-size: cover;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.aff-hero h1 {
    max-width: 690px;
    font-size: 2.2rem;
    line-height: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.aff-hero p {
    max-width: 620px;
    font-size: 1.1rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 12px;
}

.aff-hero p:last-of-type {
    margin-bottom: 0;
}

.aff-hero .hero-highlight {
    color: var(--jb-yellow);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Feature / info cards */
.info-card {
    height: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 26px 22px;
    box-shadow: 0 2px 8px 0 rgb(0 0 0 / 12%);
    transition: .3s;
}

.info-card:hover {
    background: var(--jb-light);
    transform: translateY(-4px);
}

.info-card img {
    width: 58px;
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 1.14rem;
    line-height: 1.4rem;
    font-weight: 700;
    color: #124f6c;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.45rem;
    font-weight: 400;
    color: var(--jb-muted);
    margin: 0;
}

/* How it works steps */
.steps-section {
    background: var(--jb-gradient);
    color: #fff;
}

.steps-section .jb-title,
.steps-section .jb-subtitle {
    color: #fff;
}

.step-card {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 34px 22px 26px;
    text-align: center;
}

.step-card .step-num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--jb-blue-dark);
    font-weight: 700;
}

.step-card img {
    width: 60px;
    margin: 10px auto 15px;
}

.step-card h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 15px;
    line-height: 1.5rem;
    color: rgba(255, 255, 255, .9);
    margin: 0;
}

/* FAQ */
.faq-section {
    background: var(--jb-gradient);
    color: #fff;
}

.faq-section .jb-title,
.faq-section .jb-subtitle {
    color: #fff;
}

.jb-faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px 0 rgb(0 0 0 / 12%);
}

.jb-faq-question {
    position: relative;
    padding: 14px 45px 14px 18px;
    font-size: 1rem;
    line-height: 1.35rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    margin: 0;
}

.jb-faq-question::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 10px;
    color: var(--jb-blue);
    font-size: 26px;
    line-height: 1;
    font-weight: 500;
}

.jb-faq-question.active::after {
    content: "\2212";
}

.jb-faq-answer {
    display: none;
    padding: 0 18px 16px;
    color: #555;
    font-size: 15px;
    line-height: 1.5rem;
}

.jb-faq-answer ul {
    margin: 8px 0;
    padding-left: 20px;
}

.jb-faq-answer li {
    list-style: disc;
    margin-bottom: 6px;
}

/* Testimonials */
.testimonial-section {
    background: #f7f7f7;
}

.testimonial-card {
    height: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 24px 22px;
    box-shadow: 0 2px 8px 0 rgb(0 0 0 / 12%);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.testimonial-user img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-user h5 {
    font-size: 1.14rem;
    line-height: 1.4rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.testimonial-user span {
    font-size: 14px;
    line-height: 20px;
    color: var(--jb-blue);
    font-weight: 700;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.5rem;
    color: #555;
    margin: 0;
}

/* Enquiry CTA */
.enquiry-cta {
    background: var(--jb-gradient);
    padding: 55px 0;
    color: #fff;
}

.enquiry-cta h2 {
    color: #fff;
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.enquiry-form .form-control {
    height: 46px;
    border-radius: 44px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 15px;
    box-shadow: none;
    padding: 10px 16px;
}

.enquiry-form .form-control::placeholder {
    color: rgba(255, 255, 255, .85);
}

.enquiry-form .form-control:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    box-shadow: none;
}

.enquiry-form button {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 44px;
    background: var(--jb-yellow);
    color: #000;
    font-size: 15px;
    font-weight: 700;
}

.enquiry-cta #msg {
    margin-top: 18px;
}

#msg .about-form-alert {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 15px;
}

#msg .about-form-success {
    background: #e9f8ef !important;
    color: #146c2e !important;
    border: 1px solid #bfe8cc !important;
}

#msg .about-form-error {
    background: #fdecec !important;
    color: #b42318 !important;
    border: 1px solid #fac5c5 !important;
}

/* Responsive */
@media (max-width: 991px) {
    .aff-hero {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .aff-hero h1 {
        font-size: 1.9rem;
        line-height: 2.3rem;
    }

    .jb-title,
    .enquiry-cta h2 {
        font-size: 1.7rem;
        line-height: 2.1rem;
    }
}

@media (max-width: 767px) {

    section,
    .jb-section {
        padding: 40px 0;
    }

    .aff-hero {
        padding: 65px 0 50px;
    }

    .aff-hero h1 {
        font-size: 1.4rem;
        line-height: 1.7rem;
    }

    .aff-hero p,
    .jb-subtitle {
        font-size: 15px;
        line-height: 1.35rem;
    }

    .jb-title,
    .enquiry-cta h2 {
        font-size: 1.3rem;
        line-height: 1.6rem;
    }

    .jb-btn {
        font-size: 14px;
        padding: 6px 14px;
        line-height: 22px;
    }

    .step-card {
        margin-bottom: 20px;
    }

    .enquiry-form .form-control,
    .enquiry-form button {
        margin-bottom: 12px;
    }
}

@media (max-width: 575px) {
    .aff-hero h1 {
        font-size: 1.35rem;
        line-height: 1.6rem;
    }

    .hero-badge {
        font-size: 13px;
    }

    .jb-btn {
        width: 100%;
        display: block;
        margin-bottom: 10px;
    }
}
