/*=========================================
  CERTIFICATE HERO
=========================================*/
.certificate-hero{

    position:relative;

    padding:110px 0 120px;

    overflow:hidden;

    background:
        linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)),
        url("/uploads/allimg/20260702/6-260F21KTY91.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

}

.certificate-bg{

    display:none;

}

/* Container */

.certificate-hero .container{

    position:relative;

    width:92%;

    max-width:1400px;

    margin:auto;

    z-index:2;

}

/*=========================================
  TITLE
=========================================*/

.certificate-heading{

    text-align:center;

    margin-bottom:55px;

}

.certificate-heading span{

    display:inline-block;

    color:#2563eb;

    font-size:15px;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.certificate-heading h2{

    font-size:52px;

    font-weight:800;

    color:#0f172a;

    margin-bottom:18px;

    line-height:1.2;

}

.certificate-heading p{

    width:720px;

    max-width:100%;

    margin:auto;

    font-size:18px;

    color:#64748b;

    line-height:1.8;

}

/*=========================================
  CERTIFICATION ICONS
=========================================*/

.certificate-icons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:24px;

    margin-bottom:70px;

    flex-wrap:wrap;

}

.cert-icon{

    width:100px;
    height:100px;

    border-radius:50%;
    background:#fff;

    display:flex;
    justify-content:center;
    align-items:center;

    box-shadow:0 15px 40px rgba(15,23,42,.08);

}

.cert-icon:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 45px rgba(37,99,235,.18);

}

.cert-icon img{
    width:70px;   
    height:70px; 

    object-fit:contain;

    transition:.35s;

}

/*=========================================
  3D CERTIFICATE STAGE
=========================================*/

.certificate-stage{

    position:relative;

    height:720px;

    display:flex;

    justify-content:center;

    align-items:flex-end;

    perspective:1800px;

    transform-style:preserve-3d;

    margin-top:40px;

}

/* Base */

.certificate-item{

    position:absolute;

    transition:.45s;

    transform-style:preserve-3d;

}

.certificate-item img{

    width:300px;

    border-radius:14px;

    background:#fff;

    padding:10px;

    box-shadow:0 20px 50px rgba(0,0,0,.18);

}

/*=========================================
  CENTER CERTIFICATE
=========================================*/

.certificate-item.active{

    z-index:10;

    transform:translateY(0) scale(1.08);

}

.certificate-item.active img{

    width:380px;

}

/*=========================================
  LEFT
=========================================*/

.certificate-item.left-1{

    left:18%;

    transform:rotate(-10deg) scale(.92);

    z-index:6;

}

.certificate-item.left-2{

    left:4%;

    transform:rotate(-18deg) scale(.82);

    opacity:.75;

    z-index:4;

}

/*=========================================
  RIGHT
=========================================*/

.certificate-item.right-1{

    right:18%;

    transform:rotate(10deg) scale(.92);

    z-index:6;

}

.certificate-item.right-2{

    right:4%;

    transform:rotate(18deg) scale(.82);

    opacity:.75;

    z-index:4;

}

/*=========================================
  HOVER EFFECT
=========================================*/

.certificate-item:hover{

    transform:translateY(-20px) scale(1.05);

    z-index:999;

}

.certificate-item:hover img{

    box-shadow:0 30px 70px rgba(37,99,235,.25);

}

/*=========================================
  BUTTON
=========================================*/

.certificate-button{

    margin-top:60px;

    text-align:center;

}

.certificate-button a{

    display:inline-block;

    padding:16px 40px;

    background:#2563eb;

    color:#fff;

    text-decoration:none;

    font-weight:700;

    border-radius:50px;

    transition:.3s;

}

.certificate-button a:hover{

    background:#1d4ed8;

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(37,99,235,.30);

}
/*=========================================
  PREMIUM BACKGROUND EFFECT
=========================================*/

/* Soft Blue Glow */

.certificate-hero::before{

    content:"";

    position:absolute;

    width:520px;
    height:520px;

    left:-120px;
    top:-120px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(37,99,235,.18) 0%,
    rgba(37,99,235,0) 75%);

    pointer-events:none;

}

/* Right Glow */

.certificate-hero::after{

    content:"";

    position:absolute;

    width:450px;
    height:450px;

    right:-100px;
    bottom:-100px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(14,165,233,.14) 0%,
    rgba(14,165,233,0) 75%);

    pointer-events:none;

}

/*=========================================
  STAGE FLOOR
=========================================*/

.certificate-stage{

    position:relative;

}

.certificate-stage::after{

    content:"";

    position:absolute;

    bottom:25px;
    left:50%;

    transform:translateX(-50%);

    width:900px;
    height:45px;

    border-radius:50%;

    background:rgba(15,23,42,.08);

    filter:blur(18px);

}

/*=========================================
  FLOATING ANIMATION
=========================================*/

@keyframes floatCard{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }

}

.certificate-item.active{

    animation:floatCard 4s ease-in-out infinite;

}

.certificate-item.left-1{

    animation:floatCard 5s ease-in-out infinite;

}

.certificate-item.right-1{

    animation:floatCard 5.5s ease-in-out infinite;

}

/*=========================================
  BUTTON
=========================================*/

.certificate-button a{

    background:linear-gradient(90deg,#2563eb,#3b82f6);

    box-shadow:0 15px 35px rgba(37,99,235,.25);

}

.certificate-button a:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 45px rgba(37,99,235,.35);

}
/*=========================================
  RESPONSIVE
=========================================*/

@media (max-width:1200px){

    .certificate-heading h2{
        font-size:42px;
    }

    .certificate-item.active img{
        width:320px;
    }

    .certificate-item img{
        width:250px;
    }

    .certificate-item.left-2{
        left:0;
    }

    .certificate-item.right-2{
        right:0;
    }

}

@media (max-width:992px){

    .certificate-stage{

        height:auto;

        display:grid;

        grid-template-columns:repeat(2,1fr);

        gap:25px;

        justify-items:center;

    }

    .certificate-item{

        position:relative;

        left:auto !important;
        right:auto !important;

        transform:none !important;

        opacity:1 !important;

        animation:none !important;

    }

    .certificate-item.active{

        order:-1;

    }

    .certificate-item img{

        width:100%;
        max-width:280px;

    }

}

@media (max-width:768px){

    .certificate-heading h2{

        font-size:34px;

    }

    .certificate-heading p{

        font-size:16px;

    }

    .certificate-icons{

        gap:14px;

    }

    .cert-icon{

        width:72px;
        height:72px;

    }

    .cert-icon img{

        width:40px;
        height:40px;

    }

    .certificate-stage{

        grid-template-columns:1fr;

    }

}

@media (max-width:480px){

    .certificate-hero{

        padding:70px 0;

    }

    .certificate-heading span{

        font-size:12px;

    }

    .certificate-heading h2{

        font-size:28px;

    }

    .certificate-heading p{

        font-size:15px;

    }

    .certificate-item img{

        max-width:230px;

    }

    .certificate-button a{

        width:100%;

        max-width:280px;

        text-align:center;

    }

}

/*==============================
  PARALLAX
==============================*/

.certificate-stage{

  
    transform-style:preserve-3d;

}

.certificate-item{

    transition:
    transform .45s ease,
    box-shadow .45s ease;

    transform-style:preserve-3d;

}

.certificate-item img{

    transition:.45s;

}

.certificate-item:hover img{

    transform:translateZ(40px);

}
.certificate-item.active img{

    box-shadow:
    0 20px 60px rgba(0,0,0,.18),
    0 0 50px rgba(37,99,235,.25);

}

