/* =========================================
   CERTIFICATION PAGE STYLES
   ========================================= */
:root {
    --cert-primary: #0046bf;
    --cert-secondary: #F38A12;
    --cert-accent: #AA1D01;
    --cert-surface: #faf8ff;
    --cert-surface-alt: #eef8ff;
    --cert-surface-orange: #FFECD4;
    --cert-text-main: #333333;
    --cert-text-muted: #5c575b;
    --cert-white: #ffffff;
    --cert-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    --cert-shadow-hover: 0 20px 40px rgba(0, 70, 191, .15);
    --cert-border-radius: 16px;
    --cert-font-main: 'Plus Jakarta Sans', sans-serif;
    --cert-font-body: 'Inter', sans-serif;
}

/* Base Utility Classes */
.cert-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.cert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--cert-font-main);
}

.cert-btn-primary {
    background-color: var(--cert-secondary);
    color: var(--cert-white);
    box-shadow: var(--cert-shadow);
}

.cert-btn-primary:hover {
    transform: translateY(-2px);
    background-color: #d97d0c;
}

.cert-btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--cert-white);
    color: var(--cert-white);
}

.cert-btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cert-btn-white {
    background-color: var(--cert-white);
    color: var(--cert-primary);
    box-shadow: var(--cert-shadow);
}

.cert-btn-white:hover {
    background-color: #f3f3fd;
    transform: translateY(-2px);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Headings & Tags */
.cert-section-head {
    text-align: center;
    margin-bottom: 45px;
    position: relative;
}

.cert-title-line {
    width: 80px;
    height: 3px;
    background: var(--cert-secondary);
    margin: 15px 0 20px 0;
    border-radius: 10px;
}

.cert-title-line.light {
    background: var(--cert-white);
    opacity: 0.8;
}

.cert-title-line.center {
    margin: 15px auto 20px auto;
}

.cert-tag {
    display: inline-block;
    color: var(--cert-white);
    font-size: 16px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.cert-tag.dark-tag {
    background: rgba(0, 70, 191, 0.1);
    color: var(--cert-primary);
    border-color: rgba(0, 70, 191, 0.2);
    backdrop-filter: none;
}

.cert-section-head h2 {
    font-size: 38px;
    color: var(--cert-primary);
    font-family: var(--cert-font-main);
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}

.cert-section-head p {
    font-size: 16px;
    color: var(--cert-text-muted);
    font-family: var(--cert-font-body);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 1. Hero Section */
.premium-hero {
    min-height: 750px;
    display: flex;
    align-items: center;
    background: url("../images/Herobg.png") center center / cover no-repeat;
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.cert-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 15, 45, 0.85) 0%, rgba(0, 15, 45, 0.6) 50%, rgba(0, 15, 45, 0.2) 100%);
    z-index: 1;
}

.cert-hero-wrap {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cert-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--cert-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    font-family: var(--cert-font-body);
}

.cert-pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--cert-secondary);
    border-radius: 50%;
    animation: cert-pulse-dot 2s infinite;
}

@keyframes cert-pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(243, 138, 18, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(243, 138, 18, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(243, 138, 18, 0);
    }
}

.cert-hero-content h1 {
    font-size: 49px;
    line-height: 1.15;
    color: var(--cert-white);
    font-family: var(--cert-font-main);
    font-weight: 800;
    margin-bottom: 24px;
}

.cert-hero-content h1 strong {
    color: var(--cert-secondary);
}

.cert-hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--cert-font-body);
    margin-bottom: 40px;
    max-width: 650px;
}

.cert-hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cert-hero-img-wrap {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.cert-hero-img-wrap img {
    width: 100%;
    display: block;
}

.cert-hero-image {
    position: relative;
    justify-self: end;
}

.cert-hero-stat {
    position: absolute;
    background: var(--cert-white);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.cert-hero-stat.top-left {
    top: -24px;
    left: -24px;
}

.cert-hero-stat.bottom-right {
    bottom: -24px;
    right: -24px;
}

.cert-hero-stat i {
    font-size: 32px;
    color: var(--cert-secondary);
}

.cert-hero-stat strong {
    display: block;
    font-size: 24px;
    color: var(--cert-primary);
    font-weight: 700;
}

.cert-hero-stat span {
    font-size: 12px;
    color: var(--cert-text-muted);
}

/* 2. Benefits */
.cert-benefits {
    padding: 100px 0;
    background-color: var(--cert-surface);
}

.cert-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cert-benefit-card {
    background: var(--cert-white);
    padding: 40px 30px;
    border-radius: var(--cert-border-radius);
    box-shadow: var(--cert-shadow);
    border: 1px solid rgba(0, 70, 191, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.cert-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--cert-shadow-hover);
}

.cert-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(243, 138, 18, 0.1);
    color: var(--cert-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px;
}

.cert-benefit-card h3 {
    font-size: 20px;
    color: var(--cert-primary);
    font-family: var(--cert-font-main);
    margin-bottom: 12px;
}

.cert-benefit-card p {
    font-size: 15px;
    color: var(--cert-text-muted);
    line-height: 1.6;
}

/* 3. Showcase Section */
.cert-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cert-primary) 0%, #00174c 100%);
    color: var(--cert-white);
}

.cert-showcase-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cert-showcase-content h2 {
    font-size: 42px;
    font-family: var(--cert-font-main);
    margin-bottom: 10px;
    line-height: 1.2;
}

.cert-showcase-content h2 strong {
    color: var(--cert-secondary);
}

.cert-showcase-content p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.cert-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cert-features-list li {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cert-features-list i {
    color: var(--cert-secondary);
}

.cert-mockup {
    width: 100%;
    border-radius: 12px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* 4. Programs */
.cert-programs {
    padding: 100px 0;
    background-color: var(--cert-surface-alt);
}

.cert-programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cert-program-card {
    background: var(--cert-white);
    border-radius: var(--cert-border-radius);
    overflow: hidden;
    box-shadow: var(--cert-shadow);
}

.cert-program-card:hover {
    box-shadow: var(--cert-shadow-hover);
}

.cert-card-top {
    height: 180px;
    background-size: cover;
    background-position: center;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    position: relative;
}

.cert-card-top::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
}

.cert-badge {
    position: relative;
    background: var(--cert-secondary);
    color: var(--cert-white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
}

.cert-card-bottom {
    padding: 24px;
}

.cert-card-bottom h4 {
    font-size: 18px;
    color: var(--cert-primary);
    margin-bottom: 10px;
    font-family: var(--cert-font-main);
}

.cert-card-bottom p {
    font-size: 14px;
    color: var(--cert-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cert-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--cert-primary);
    font-weight: 600;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
}

/* 5. Process Timeline */
.cert-process {
    padding: 100px 0;
    background-color: var(--cert-surface);
}

.cert-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.cert-timeline::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 70, 191, 0.1);
    z-index: 0;
}

.cert-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cert-step-icon {
    width: 80px;
    height: 80px;
    background: var(--cert-white);
    border: 4px solid var(--cert-secondary);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--cert-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.cert-step-content h3 {
    font-size: 20px;
    color: var(--cert-primary);
    margin-bottom: 10px;
}

.cert-step-content p {
    font-size: 14px;
    color: var(--cert-text-muted);
    line-height: 1.6;
}

/* 6. CTA */
.cert-cta {
    padding: 80px 0;
}

.cert-cta-wrap {
    background: url("../images/join-bg.png") center center / cover no-repeat;
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--cert-primary);
}

.cert-cta-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 15, 45, 0.7);
}

.cert-cta-wrap h2,
.cert-cta-line,
.cert-cta-wrap p,
.cert-cta-btns {
    position: relative;
    z-index: 1;
}

.cert-cta-wrap h2 {
    font-size: 42px;
    color: var(--cert-secondary);
    font-family: var(--cert-font-main);
}

.cert-cta-line {
    width: 200px;
    height: 3px;
    background: var(--cert-secondary);
    margin: 15px auto 25px;
}

.cert-cta-wrap p {
    font-size: 17px;
    color: var(--cert-white);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {

    .cert-benefits-grid,
    .cert-programs-grid,
    .cert-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-timeline::before {
        display: none;
    }
}

@media (max-width: 992px) {

    .cert-hero-wrap,
    .cert-showcase-wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cert-hero-content p {
        margin: 0 auto 30px;
    }

    .cert-hero-btns {
        justify-content: center;
    }

    .cert-hero-image {
        max-width: 600px;
        margin: 40px auto 0;
    }

    .cert-features-list {
        text-align: left;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    .cert-benefits-grid,
    .cert-programs-grid,
    .cert-timeline {
        grid-template-columns: 1fr;
    }

    .cert-features-list {
        grid-template-columns: 1fr;
    }

    .premium-hero {
        padding: 60px 0;
    }

    .cert-hero-content h1 {
        font-size: 26px;
    }

    .cert-section-head h2 {
        font-size: 21px;
    }

    .cert-cta-wrap {
        padding: 50px 20px;
        border-radius: 20px;
    }

    .cert-cta-wrap h2 {
        font-size: 17px;
    }

    .cert-hero-subtitle {
        font-size: 14px;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.85);
        font-family: var(--cert-font-body);
        margin-bottom: 40px;
        max-width: 650px;
        text-align: justify;
    }

    .cert-cta-wrap p {
        font-size: 17px;
        color: var(--cert-white);
        max-width: 700px;
        margin: 0 auto 30px;
        text-align: justify;
    }

    .cert-benefit-card p {
        font-size: 15px;
        color: var(--cert-text-muted);
        line-height: 1.6;
        text-align: justify;
    }

    .cert-section-head p {
        font-size: 13px;
        color: var(--cert-text-muted);
        font-family: var(--cert-font-body);
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.6;
        text-align: justify;
    }

    .cert-showcase-content h2 {
        font-size: 34px;
        font-family: var(--cert-font-main);
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .cert-showcase-content p {
        font-size: 17px;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.85);
        margin-bottom: 30px;
        text-align: justify;
    }
}