/* certification.css */

.certification-page {
    padding-top: 80px;
    /* Increased for taller centered header */
    background-image: url('../images/2bg.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    overflow-x: hidden;
}

.section-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 30px;
    text-transform: uppercase;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

/* HERO SECTION */
.cert-hero {
    padding: 70px 0 100px;
    position: relative;
    color: var(--text);
    text-align: center;
}

.cert-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.cert-hero .container {
    position: relative;
    z-index: 2;
}

.cert-hero__content {
    max-width: 900px;
    margin: 0 auto;
}

.cert-logo-box {
    max-width: 180px;
    margin: 0 auto 30px;
}

.cert-logo-box img {
    width: 100%;
}

.cert-hero__title {
    font-size: clamp(28px, 6vw, 54px);
    font-weight: 900;
    color: var(--brand);
    margin: 20px 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.cert-hero__subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--text);
    opacity: 0.9;
}

/* BUTTONS */
.cert-btn {
    display: inline-block;
    padding: 18px 45px;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(164, 44, 30, 0.2);
}

.cert-btn:hover {
    background: var(--brand-2);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(164, 44, 30, 0.3);
    color: #fff;
    text-decoration: none;
}

/* LOGO SECTION */
.cert-logo-section {
    padding: 100px 0;
}

.cert-logo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-desc {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--muted);
}

.cert-logo-mockups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mockup-card {
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--brand);
    text-transform: uppercase;
}

.mockup-card__img {
    background: var(--bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 15px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mockup-card__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.mockup-card:hover .mockup-card__img img {
    transform: scale(1.1);
}

/* BENEFITS SECTION */
.cert-benefits {
    padding: 120px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(164, 59, 44, 0.1);
}

.benefit-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(164, 59, 44, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.benefit-card__icon img {
    width: 32px;
}

.benefit-card__title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--brand);
}

.benefit-card__desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
}

/* STEPS SECTION */
.cert-steps {
    padding: 120px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 70px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-item__number {
    width: 60px;
    height: 60px;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 24px;
    margin: 0 auto 25px;
    box-shadow: 0 8px 16px rgba(164, 44, 30, 0.2);
}

.step-item__title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.step-item__desc {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
}

/* AFTER CERTIFICATION */
.cert-after {
    padding: 120px 0;
}

.cert-after__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cert-after__image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.cert-after__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.cert-after__list li {
    padding-left: 45px;
    position: relative;
    margin-bottom: 25px;
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
}

.cert-after__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: var(--brand);
    border-radius: 6px;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    mask-size: 16px;
    -webkit-mask-size: 16px;
}

/* TRUST SECTION */
.cert-trust {
    padding: 120px 0;
}

.cert-trust__box {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    /* Translucent background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 40px;
    box-shadow: var(--shadow-soft);
}

.cert-trust__image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.cert-trust__title {
    font-size: 32px;
    font-weight: 900;
    color: var(--brand);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.cert-trust__desc {
    font-size: 22px;
    line-height: 1.7;
    font-style: italic;
    color: var(--text);
    opacity: 0.85;
    margin-bottom: 40px;
    position: relative;
}

.cert-trust__desc::before {
    content: '“';
    position: absolute;
    left: -40px;
    top: -10px;
    font-size: 80px;
    color: var(--brand);
    opacity: 0.2;
    font-family: serif;
}

.cert-trust__footer {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cert-trust__name {
    font-weight: 800;
    font-size: 20px;
    color: var(--text);
}

.cert-trust__signature img {
    height: auto;
    max-height: 50px;
    max-width: 100%;
    opacity: 0.8;
    display: block;
}

/* FINAL CTA */
.cert-final-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: var(--white);
}

.cta-box__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 50px;
    line-height: 1.1;
    text-transform: uppercase;
}

.cert-btn--large {
    padding: 22px 70px;
    font-size: 22px;
    background: var(--white);
    color: var(--brand);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.cert-btn--large:hover {
    background: var(--bg);
    color: var(--brand-2);
    transform: translateY(-5px);
}

/* RESPONSIVENESS */
@media (max-width: 1100px) {
    .cert-trust__box {
        padding: 40px;
        gap: 40px;
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 991px) {

    .cert-logo-grid,
    .benefits-grid,
    .steps-grid,
    .cert-after__grid,
    .cert-trust__box {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cert-trust__box {
        text-align: center;
        padding: 40px 20px;
    }

    .cert-trust__image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .cert-trust__footer {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .cert-trust__signature img {
        margin: 0 auto;
    }

    .cert-trust__desc::before {
        left: 0;
        top: -60px;
    }

    .cert-after__image {
        order: 2;
    }

    .cert-after__image img {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .cert-hero {
        padding: 80px 0 60px;
    }
}

@media (max-width: 980px) {
    .certification-page {
        background-attachment: fixed;
    }
}

@media (max-width: 600px) {
    .cert-logo-mockups {
        grid-template-columns: 1fr;
    }

    .mockup-card__img {
        height: 180px;
    }
}

/* SHIMMER BUTTON */
.btn-shine {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #10b981;
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-left: 12px;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.btn-shine:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
    background: #059669;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: btn-shimmer 3s infinite;
}

@keyframes btn-shimmer {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

@media (max-width: 767px) {
    .btn-shine {
        margin-left: 0;
        margin-top: 10px;
        display: flex;
        width: fit-content;
    }
}