@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0a192f;
    --secondary-color: #64ffda;
    --bg-color: #f4f6f9;
    --card-bg: #ffffff;
    --text-main: #333333;
    --text-muted: #555555;
    --header-h: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* Header Section */
.style-1 {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 60px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.style-1 h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Certificate Section */
.style-2 {
    max-width: 900px;
    padding: 60px 40px;
    background: var(--card-bg);
    margin: -40px auto 60px;
    border-top: 6px solid var(--secondary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    position: relative;
    z-index: 10;
}

.style-2 h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.style-2 p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.style-2 b,
.style-2 strong {
    color: var(--primary-color);
}

/* Certificate Image */
.cert-container {
    text-align: center;
    margin-top: 30px;
}

.style-2 img {
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.style-2 img:hover {
    transform: scale(1.02);
}

.back-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 10px 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .style-2 {
        width: 95%;
        padding: 40px 20px;
    }

    .style-1 h1 {
        font-size: 1.8rem;
    }
}