
.cert-hero {
    background: linear-gradient(135deg, #47a0cccf, #2e8fbf);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Background circles */
.cert-hero::before,
.cert-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.cert-hero::before {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -80px;
}

.cert-hero::after {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
}

/* Badge */
.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

/* Title */
.cert-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Subtitle */
.cert-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: auto;
}

/* Glow Line */
.cert-line {
    width: 120px;
    height: 4px;
    margin: 30px auto 0;
    border-radius: 50px;
    background: linear-gradient(90deg, #00ffcc, #ffee00, #00ffcc);
    animation: glowLine 2s infinite linear;
}

@keyframes glowLine {
    0% { filter: blur(2px); }
    50% { filter: blur(6px); }
    100% { filter: blur(2px); }
}

/* Typing cursor */
.typing-cursor::after {
    content: "|";
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .cert-title {
        font-size: 32px;
    }

    .cert-subtitle {
        font-size: 15px;
    }
}

[data-aos="fade-up"] {
    transform: translateY(40px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

.qms-section {
    background: #f8f9fb;
}

/* Badge */
.qms-badge {
    display: inline-block;
    background: #429bc6;
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Title */
.qms-title {
    font-size: 36px;
    font-weight: 700;
    color: #085075;
    margin-bottom: 15px;
}

/* Description */
.qms-desc {
    color: #555;
    line-height: 1.7;
}

/* Subtitles */
.qms-sub {
    margin-top: 20px;
    font-weight: 600;
    color: #085075;
}

/* List */
.qms-list {
    padding-left: 0;
    list-style: none;
}

.qms-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.qms-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #085075;
}





.qms-image-wrapper {
    max-width: 420px;
    height: 550px;           /* 👈 control height */
    margin: auto;
    overflow: hidden;
    border-radius: 20px;
}

.qms-image {
    width: 100%;
    height: 100%;
    object-fit: contain;     /* 👈 keeps full certificate visible */
}



/* Hover Zoom */
.qms-image-wrapper:hover .qms-image {
    transform: scale(1.08);
}

/* Floating Animation */
.qms-image-wrapper {
    animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 768px) {
    .qms-image-wrapper {
        max-width: 300px;
    }

    .qms-image {
        max-height: 400px;
    }
}