/* =====================================================
   VPI CERTIFICATE VERIFICATION
   HOME PAGE CSS
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --primary: #1558c0;
    --primary-dark: #0c3d8d;
    --primary-light: #eaf2ff;

    --text: #102a72;
    --text-dark: #172554;
    --muted: #64748b;

    --white: #ffffff;

    --border: #e2e8f0;

    --background: #f7faff;

    --success: #16a34a;

}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        "Plus Jakarta Sans",
        "Inter",
        sans-serif;

    color: var(--text-dark);

    background: var(--background);

    overflow-x: hidden;

}


a {
    text-decoration: none;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {

    width: 100%;

    background: rgba(255,255,255,.92);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(226,232,240,.8);

    position: sticky;

    top: 0;

    z-index: 100;

}


.nav-container {

    width: 92%;

    max-width: 1200px;

    min-height: 82px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.brand img {

    width: 220px;

    max-width: 100%;

    display: block;

}


.nav-button {

    padding: 11px 19px;

    border-radius: 10px;

    background: var(--primary);

    color: #fff;

    font-size: 13px;

    font-weight: 700;

    transition: .25s;

}


.nav-button:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

}


/* =====================================================
   HERO
===================================================== */

.hero {

    position: relative;

    overflow: hidden;

    padding: 80px 20px 100px;

    background:

        radial-gradient(
            circle at 10% 20%,
            #eaf2ff 0,
            transparent 28%
        ),

        radial-gradient(
            circle at 90% 70%,
            #e9f8ef 0,
            transparent 25%
        ),

        #f7faff;

}


.hero-container {

    width: 92%;

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);

    gap: 70px;

    align-items: center;

}


/* Background circles */

.hero-bg-circle {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    opacity: .6;

}


.circle-one {

    width: 450px;

    height: 450px;

    right: -200px;

    top: -180px;

    background: #e2edff;

}


.circle-two {

    width: 350px;

    height: 350px;

    left: -180px;

    bottom: -180px;

    background: #e6f7ed;

}


/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content {

    position: relative;

    z-index: 2;

}


.top-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    border-radius: 50px;

    background: #eaf2ff;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .5px;

    margin-bottom: 22px;

}


.pulse-dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--success);

    box-shadow:
        0 0 0 5px rgba(22,163,74,.10);

}


.hero h1 {

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.05;

    letter-spacing: -2.5px;

    color: #102a72;

    margin-bottom: 24px;
    margin-top: 20px;

}


.hero h1 span {

    display: block;

    color: var(--primary);

}


.hero-description {

    max-width: 620px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;

}


/* =====================================================
   VERIFY BOX
===================================================== */

.verify-box {

    margin-top: 35px;

    max-width: 600px;

    padding: 25px;

    border-radius: 20px;

    background: rgba(255,255,255,.97);

    border: 1px solid #dce6f5;

    box-shadow:
        0 25px 60px rgba(15,23,42,.09);

}


.verify-box-header {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 20px;

}


.verify-box-icon {

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: #eaf2ff;

    color: var(--primary);

    font-size: 20px;

    font-weight: 800;

}


.verify-box h2 {

    font-size: 17px;

    color: var(--text);

    margin-bottom: 3px;

}


.verify-box-header p {

    font-size: 11px;

    color: var(--muted);

}


/* FORM */

.verification-form {

    display: flex;

    align-items: flex-end;

    gap: 12px;

}


.input-wrapper {

    flex: 1;

}


.input-wrapper label {

    display: block;

    margin-bottom: 7px;

    font-size: 11px;

    font-weight: 700;

    color: #475569;

}


.input-box {

    display: flex;

    align-items: center;

    height: 52px;

    border: 1px solid #cbd5e1;

    border-radius: 11px;

    background: #fff;

    transition: .2s;

}


.input-box:focus-within {

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(21,88,192,.09);

}


.input-icon {

    width: 45px;

    text-align: center;

    color: var(--primary);

    font-weight: 800;

}


.input-box input {

    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    padding-right: 12px;

    font-size: 14px;

    font-family: inherit;

    color: var(--text-dark);

}


.input-box input::placeholder {

    color: #94a3b8;

}


/* BUTTON */

.verify-button {

    height: 52px;

    min-width: 175px;

    padding: 0 18px;

    border: none;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #1558c0,
            #0d47a1
        );

    color: #fff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    transition: .25s;

}


.verify-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(21,88,192,.22);

}


.arrow {

    font-size: 18px;

}


.secure-note {

    margin-top: 15px;

    font-size: 10px;

    color: #64748b;

}


.secure-note span {

    color: var(--success);

    font-weight: 800;

}


/* =====================================================
   CERTIFICATE VISUAL
===================================================== */

.hero-visual {

    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.certificate-card {

    width: 100%;

    max-width: 450px;

    min-height: 430px;

    padding: 30px;

    background: #fff;

    border: 8px solid #edf3ff;

    outline: 1px solid #cbdaf5;

    box-shadow:
        0 35px 80px rgba(15,23,42,.16);

    transform:
        rotate(2deg);

    position: relative;

    z-index: 2;

}


.certificate-card::before {

    content: "";

    position: absolute;

    inset: 12px;

    border: 1px solid #d8e4f8;

    pointer-events: none;

}


.certificate-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.mini-logo img {

    width: 115px;

    display: block;

}


.certificate-top > span {

    font-size: 8px;

    font-weight: 800;

    color: var(--primary);

    letter-spacing: 1px;

}


.certificate-content {

    text-align: center;

    padding: 35px 15px 20px;

}


.certificate-symbol {

    width: 52px;

    height: 52px;

    margin: auto;

    border-radius: 50%;

    background: #eaf8ef;

    color: var(--success);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;

    font-weight: 800;

}


.certificate-label {

    margin-top: 18px;

    font-size: 9px;

    letter-spacing: 3px;

    color: #64748b;

    font-weight: 700;

}


.certificate-content h3 {

    margin-top: 7px;

    color: #102a72;

    font-size: 22px;

    letter-spacing: 1px;

}


.certificate-line {

    width: 70px;

    height: 2px;

    background: var(--primary);

    margin: 15px auto;

}


.presented {

    color: #94a3b8;

    font-size: 9px;

}


.certificate-content h4 {

    margin-top: 8px;

    color: var(--primary);

    font-size: 18px;

}


.course {

    margin-top: 6px;

    font-size: 9px;

    color: #64748b;

}


.certificate-footer {

    border-top: 1px solid #e2e8f0;

    padding-top: 15px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.certificate-footer span {

    display: block;

    color: #94a3b8;

    font-size: 8px;

}


.certificate-footer strong {

    display: block;

    margin-top: 4px;

    color: #172554;

    font-size: 10px;

}


.verified-mark {

    display: flex;

    align-items: center;

    gap: 7px;

}


.verified-mark span {

    width: 25px;

    height: 25px;

    border-radius: 50%;

    background: var(--success);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 13px;

}


.verified-mark small {

    font-size: 7px;

    font-weight: 800;

    color: var(--success);

}


/* FLOATING CARD */

.floating-card {

    position: absolute;

    z-index: 5;

    bottom: 35px;

    left: 5px;

    padding: 14px 17px;

    display: flex;

    align-items: center;

    gap: 10px;

    background: #fff;

    border: 1px solid #e2e8f0;

    border-radius: 13px;

    box-shadow:
        0 15px 40px rgba(15,23,42,.13);

    animation: floating 3s ease-in-out infinite;

}


.floating-icon {

    width: 34px;

    height: 34px;

    border-radius: 50%;

    background: #eaf8ef;

    color: var(--success);

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 800;

}


.floating-card strong {

    display: block;

    color: #172554;

    font-size: 11px;

}


.floating-card span {

    display: block;

    color: #64748b;

    font-size: 9px;

    margin-top: 3px;

}


/* =====================================================
   TRUST
===================================================== */

.trust-section {

    background: #fff;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

}


.trust-container {

    width: 92%;

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3,1fr);

}


.trust-item {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 25px 20px;

}


.trust-item + .trust-item {

    border-left: 1px solid var(--border);

}


.trust-icon {

    width: 42px;

    height: 42px;

    flex-shrink: 0;

    border-radius: 12px;

    background: #edf4ff;

    color: var(--primary);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    font-weight: 800;

}


.trust-item strong {

    display: block;

    color: #172554;

    font-size: 12px;

}


.trust-item span {

    display: block;

    color: #64748b;

    font-size: 9px;

    margin-top: 4px;

}


/* =====================================================
   HOW IT WORKS
===================================================== */

.how-section {

    padding: 100px 20px;

    background: #f7faff;

}


.section-heading {

    text-align: center;

    max-width: 650px;

    margin: auto;

}


.section-badge {

    display: inline-block;

    padding: 7px 12px;

    border-radius: 50px;

    background: #eaf2ff;

    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 13px;

}


.section-heading h2 {

    color: #102a72;

    font-size: 34px;

    letter-spacing: -1px;

}


.section-heading p {

    color: #64748b;

    font-size: 14px;

    margin-top: 10px;

}


.steps-container {

    max-width: 1100px;

    margin: 55px auto 0;

    display: flex;

    align-items: center;

}


.step-card {

    flex: 1;

    text-align: center;

    padding: 20px;

}


.step-number {

    color: #b7c8e5;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 10px;

}


.step-icon {

    width: 60px;

    height: 60px;

    margin: auto;

    border-radius: 17px;

    background: #fff;

    border: 1px solid #dce6f5;

    color: var(--primary);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

    font-weight: 800;

    box-shadow:
        0 10px 30px rgba(15,23,42,.06);

}


.step-card h3 {

    margin-top: 18px;

    color: #172554;

    font-size: 15px;

}


.step-card p {

    margin-top: 8px;

    color: #64748b;

    font-size: 11px;

    line-height: 1.7;

}


.step-line {

    width: 60px;

    height: 1px;

    background: #cbd5e1;

}


/* =====================================================
   CTA
===================================================== */

.cta-section {

    padding: 70px 20px;

}


.cta-container {

    max-width: 1100px;

    margin: auto;

    padding: 45px 50px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #102a72,
            #1558c0
        );

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    box-shadow:
        0 25px 50px rgba(16,42,114,.20);

}


.cta-small {

    color: #bcd2ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

}


.cta-container h2 {

    color: #fff;

    font-size: 30px;

    margin-top: 8px;

}


.cta-container p {

    color: #dce8ff;

    font-size: 12px;

    margin-top: 7px;

}


.cta-button {

    flex-shrink: 0;

    padding: 14px 20px;

    border-radius: 11px;

    background: #fff;

    color: var(--primary);

    font-size: 12px;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 12px;

    transition: .25s;

}


.cta-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.15);

}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {

    background: #081d50;

    color: #fff;

    padding: 45px 20px 20px;

}


.footer-container {

    width: 92%;

    max-width: 1100px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.footer-brand img {

    width: 170px;

    background: #fff;

    padding: 5px;

    border-radius: 6px;

}


.footer-brand p {

    max-width: 300px;

    color: #aebedc;

    font-size: 10px;

    line-height: 1.6;

    margin-top: 10px;

}


.footer-links {

    display: flex;

    gap: 20px;

}


.footer-links a {

    color: #dce8ff;

    font-size: 11px;

}


.copyright {

    max-width: 1100px;

    width: 92%;

    margin: 35px auto 0;

    padding-top: 18px;

    border-top: 1px solid rgba(255,255,255,.1);

    color: #8da3c9;

    font-size: 9px;

    text-align: center;

}


/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes floating {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .hero-container {

        grid-template-columns: 1fr;

        gap: 60px;

    }

    .hero-content {

        text-align: center;

    }

    .hero-description {

        margin: auto;

    }

    .verify-box {

        margin-left: auto;

        margin-right: auto;

        text-align: left;

    }

    .hero-visual {

        min-height: 470px;

    }

    .trust-container {

        grid-template-columns: 1fr;

    }

    .trust-item + .trust-item {

        border-left: none;

        border-top: 1px solid var(--border);

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .nav-container {

        min-height: 70px;

    }

    .brand img {

        width: 185px;

    }

    .nav-button {

        padding: 9px 12px;

        font-size: 10px;

    }


    .hero {

        padding: 50px 15px 70px;

    }


    .hero-container {

        width: 100%;

    }


    .hero h1 {

        font-size: 40px;

        letter-spacing: -1.8px;

    }


    .hero-description {

        font-size: 13px;

    }


    .verify-box {

        padding: 20px 16px;

        border-radius: 17px;

    }


    .verification-form {

        display: block;

    }


    .verify-button {

        width: 100%;

        margin-top: 12px;

    }


    .hero-visual {

        min-height: 390px;

    }


    .certificate-card {

        max-width: 340px;

        min-height: 350px;

        padding: 23px;

    }


    .certificate-content {

        padding-top: 25px;

    }


    .certificate-content h3 {

        font-size: 18px;

    }


    .floating-card {

        left: 0;

        bottom: 15px;

    }


    .how-section {

        padding: 70px 15px;

    }


    .section-heading h2 {

        font-size: 27px;

    }


    .steps-container {

        display: block;

        margin-top: 35px;

    }


    .step-card {

        padding: 15px 10px 25px;

    }


    .step-line {

        display: none;

    }


    .cta-container {

        padding: 30px 22px;

        display: block;

        text-align: center;

    }


    .cta-container h2 {

        font-size: 25px;

    }


    .cta-button {

        width: max-content;

        margin: 22px auto 0;

    }


    .footer-container {

        display: block;

        text-align: center;

    }


    .footer-brand p {

        margin-left: auto;

        margin-right: auto;

    }


    .footer-links {

        justify-content: center;

        margin-top: 25px;

    }

}